Vulnerability in Kernel package: vsock connection interruption

Kernel Updated 02 Oct 2025

Summary

27/02/2022
N/A
No i
Unrated
Not published

GSD-2022-1000394: vsock: remove vsock from connected table when connect is interrupted by a signal. Affects Kernel versions >= d021c344051af91f42c5ba9fdedc176740cbd238, < 87cd1bbd6677411e17369cd4b7389ab1e1fdba44. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Kernel package is a fundamental component of the Linux operating system, responsible for managing the system's core functionality. It provides essential services such as process management, memory management, and device drivers. The vsock subsystem within the Kernel package enables communication between virtual machines and the host system via sockets. However, a vulnerability has been discovered in the vsock module that allows connected vsock instances to remain in the connected table even when the connection is interrupted by a signal.

Vulnerability Detail

The vulnerability arises from a failure to remove vsock instances from the connected table when a connection is interrupted by a signal. This can lead to resource leaks and potential security issues. An attacker could exploit this vulnerability to exhaust system resources or cause a denial-of-service condition. The vulnerability was introduced in version v3.9 of the Linux Kernel and has been fixed in version v5.10.102.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

If updating the Kernel package is not immediately feasible, a temporary workaround can be implemented by manually removing vsock instances from the connected table when a connection is interrupted by a signal. This can be achieved by modifying the relevant code in the Kernel source files. Here is an example of how the code modification can be done:

// Remove vsock from connected table when connection is interrupted by a signal
void handle_signal(int signum) {
  // Code to remove vsock from connected table
}

// Register signal handler
signal(SIGINT, handle_signal);

Conclusion

In conclusion, a vulnerability has been identified in the Kernel package's vsock module, which allows connected vsock instances to remain in the connected table even when the connection is interrupted by a signal. This vulnerability can have serious consequences, including resource leaks and potential security issues. It is crucial to update the Linux Kernel package to version v5.10.102 or later to mitigate this vulnerability. If immediate updating is not possible, a temporary workaround can be implemented by manually removing vsock instances from the connected table. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to resource leaks and potential security issues. An attacker could exploit this vulnerability to exhaust system resources or cause a denial-of-service condition.

You can use Vulert's playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file, and Vulert will analyze it for any open-source vulnerabilities, including this one.

Yes, this vulnerability has been fixed in version v5.10.102 of the Linux Kernel package.

Yes, a temporary workaround is available by manually removing vsock instances from the connected table when a connection is interrupted by a signal. Please refer to the 'workaround' section for more details.

You can find more information about this vulnerability in the GSD-2022-1000394 entry of the GSD database maintained by the Cloud Security Alliance. The link to the specific entry is provided in the 'affected' section of this report.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback