Stale File Descriptors Vulnerability in drm/vmwgfx
Summary
GSD-2022-1000119: drm/vmwgfx: Fix stale file descriptors on failed usercopy. Affects Kernel versions >= c906965dee22d5e95d0651759ba107b420212a9f, < 0008a0c78fc33a84e2212a7c04e6b21a36ca6f4d. 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 usercopy operations. When a usercopy operation fails, the package does not correctly clean up the associated file descriptors, resulting in stale file descriptors. An attacker could potentially exploit this vulnerability to gain unauthorized access to sensitive information or execute arbitrary code with elevated privileges. The impact and attack plausibility of this vulnerability have not been proven yet.
How To Fix
No fixed version is published for this vulnerability.
The vulnerability has been addressed in Linux Kernel version v4.19.227 by commit 0008a0c78fc33a84e2212a7c04e6b21a36ca6f4d. To fix the issue, users should update their Linux Kernel to the latest version available. It is recommended to regularly update the Kernel to ensure the latest security patches are applied.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
No specific workaround has been provided for this vulnerability.
Conclusion
The stale file descriptors vulnerability in drm/vmwgfx can potentially lead to unauthorized access or arbitrary code execution. It is crucial to update the Linux Kernel to the latest version to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability could potentially allow an attacker to gain unauthorized access to sensitive information or execute arbitrary code with elevated privileges.
You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground and it will alert you in real-time if any open-source vulnerabilities, including this one, are detected.
At the time of this report, there is no known exploit for this vulnerability. However, it is important to apply the necessary updates to mitigate the risk.
The primary mitigation for this vulnerability is to update the Linux Kernel to the latest version that includes the fix. Regularly updating the Kernel is crucial to ensure the latest security patches are applied.
The vulnerability was discovered by an automated process and reported in the GSD database maintained by the Cloud Security Alliance.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.