Vulnerability in vhost/vsock package: Owner Check Bypass

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1000935: vhost/vsock: don't check owner in vhost_vsock_stop() while releasing. Affects Kernel versions >= 433fc58e6bf2c8bd97e57153ed28e64fd78207b8, < 6ac6ca7907d7e6057a0aa4e9af48cbd2a8b2afaa. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The vhost/vsock package is a component of the Linux Kernel that provides support for virtual sockets in a virtualized environment. It allows communication between virtual machines and the host system. The package is responsible for managing the lifecycle of vhost/vsock devices and ensuring secure communication between them. However, a vulnerability has been discovered in the package that allows an attacker to bypass the owner check during the release of vhost/vsock devices.

Vulnerability Detail

The vulnerability in the vhost/vsock package occurs in the vhost_vsock_stop() function. This function is responsible for releasing vhost/vsock devices. However, it does not properly check the owner of the device before releasing it. This means that an attacker with access to a vhost/vsock device can release it without proper authorization, potentially leading to unauthorized access or denial of service. The vulnerability was introduced in version v4.8 of the Linux Kernel and has been fixed in version v4.14.269.

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 recommended to update the Linux Kernel to the fixed version as soon as possible.

Conclusion

The vulnerability in the vhost/vsock package allows an attacker to bypass the owner check during the release of vhost/vsock devices. To mitigate this vulnerability, it is recommended to update the Linux Kernel to version v4.14.269 or later. Regularly updating the Kernel is essential to ensure the security of your system. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability allows an attacker to bypass the owner check during the release of vhost/vsock devices. This can potentially lead to unauthorized access or denial of service.

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 exploit for this vulnerability. However, it is important to update the Linux Kernel to the fixed version to mitigate any potential risks.

This vulnerability specifically affects the vhost/vsock package in the Linux Kernel. However, it is always recommended to keep all software and dependencies up to date to ensure the latest security patches are applied.

For more information about this vulnerability, you can refer to the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and the vulnerability database maintained by the Cloud Security Alliance (https://github.com/cloudsecurityalliance/gsd-database).

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