Stale File Descriptors Vulnerability in drm/vmwgfx
Summary
GSD-2022-1000146: drm/vmwgfx: Fix stale file descriptors on failed usercopy. Affects Kernel versions >= c906965dee22d5e95d0651759ba107b420212a9f, < 84b1259fe36ae0915f3d6ddcea6377779de48b82. 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 drm/vmwgfx package is a component of the Linux Kernel that provides support for VMware virtual graphics devices. It allows virtual machines to utilize accelerated 3D graphics capabilities. The package is responsible for managing the communication between the virtual machine and the host system's graphics hardware. However, a vulnerability has been discovered in the package that could lead to the presence of stale file descriptors on failed usercopy operations.
Vulnerability Detail
The vulnerability in drm/vmwgfx arises from a failure to properly handle file descriptors during usercopy operations. When a usercopy operation fails, the package does not correctly clean up the associated file descriptors, resulting in stale file descriptors. This could potentially allow an attacker to manipulate these file descriptors and exploit them for malicious purposes. The impact and attack plausibility of this vulnerability have not been proven yet.
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 specific workaround mentioned for this vulnerability.
Conclusion
The Stale File Descriptors Vulnerability in drm/vmwgfx could potentially allow attackers to manipulate file descriptors for malicious purposes. It is recommended to update the Linux Kernel to version v5.4.175 or later to fix this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability is currently unknown as it has not been proven yet. However, if successfully exploited, it could potentially allow an attacker to manipulate stale file descriptors for malicious purposes.
You can use Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Vulert Playground allows you to analyze your application's manifest file, such as package-lock.json, and provides real-time alerts for open-source vulnerabilities.
Yes, a patch has been released in Linux Kernel version v5.4.175. It is recommended to update your Linux Kernel to this version or later to fix the vulnerability.
There are currently no known exploits for this vulnerability. However, it is important to apply the patch and update the Linux Kernel to mitigate any potential risks.
You can find more information about this vulnerability in the GSD database entry: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1000xxx/GSD-2022-1000146.json
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.