Vulnerability in Kernel: vhost/vsock

Kernel Updated 02 Oct 2025

Summary

18/03/2022
N/A
No i
Unrated
Not published

GSD-2022-1000954: vhost/vsock: don't check owner in vhost_vsock_stop() while releasing. Affects Kernel versions >= 433fc58e6bf2c8bd97e57153ed28e64fd78207b8, < 26e792517ffc19f8528eee4376c4effecc6de14b. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Kernel package is a critical component of the Linux operating system, responsible for managing system resources and providing an interface between hardware and software. It is essential for the proper functioning of the system. The vhost/vsock module within the Kernel enables communication between virtual machines and the host system using sockets. This vulnerability in vhost/vsock can potentially be exploited by attackers to gain unauthorized access or execute arbitrary code on the affected system.

Vulnerability Detail

The vhost/vsock module in the Kernel does not properly check the owner during the release process in the vhost_vsock_stop() function. This oversight can allow an attacker with local access to a virtual machine to escalate privileges or crash the system. By exploiting this vulnerability, an attacker could potentially execute arbitrary code or gain unauthorized access to sensitive information. The vulnerability was introduced in version v4.8 of the Linux Kernel and has been fixed in version v4.9.304.

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

There is no known workaround for this vulnerability. It is strongly advised to update the Kernel to the fixed version as soon as possible.

Conclusion

The vulnerability in the vhost/vsock module of the Kernel can pose significant risks to the security and stability of affected systems. It is crucial to update the Kernel to the fixed version (v4.9.304 or later) to mitigate these risks. For further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability can potentially allow an attacker with local access to a virtual machine to escalate privileges or crash the system. It could lead to unauthorized access, execution of arbitrary code, or exposure of sensitive information.

You can use the Vulert Playground (https://vulert.com/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.

At the time of this report, there is no known public exploit for this vulnerability. However, it is important to apply the fix as soon as possible to mitigate any potential risks.

No, this vulnerability requires local access to a virtual machine to be exploited. However, it is still crucial to apply the fix to prevent any potential security breaches.

In addition to updating the Kernel to the fixed version, it is always advisable to follow best practices for system security. This includes regularly updating all software components, implementing strong access controls, and monitoring system logs for any suspicious activity.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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