Vulnerability in vhost/vsock package: Owner Check Bypass
Summary
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 ↓
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.
No signup required · Results in about 60 seconds
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 →
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.