Use-after-free vulnerability in drm/nouveau package
Summary
GSD-2021-1001626: drm/nouveau: avoid a use-after-free when BO init fails. Affects Kernel versions >= 019cbd4a4feb3aa3a917d78e7110e3011bbff6d5, < f86e19d918a85492ad1a01fcdc0ad5ecbdac6f96. 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/nouveau package is a component of the Linux Kernel ecosystem. It provides support for NVIDIA GPUs using the Nouveau driver. This driver allows Linux systems to utilize the full capabilities of NVIDIA graphics cards. The package is responsible for managing memory allocation and initialization of buffer objects (BO) used by the graphics subsystem. However, a use-after-free vulnerability has been identified in the package when BO initialization fails.
Vulnerability Detail
The use-after-free vulnerability in the drm/nouveau package occurs when a buffer object fails to initialize properly. This leads to a situation where the memory associated with the buffer object is freed, but still referenced by other parts of the system. An attacker could potentially exploit this vulnerability to execute arbitrary code or cause a denial-of-service condition. The vulnerability was introduced in version v5.4 of the Linux Kernel and has been fixed in version v5.10.73.
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 essential to update the Linux Kernel to the fixed version to mitigate the risk.
Conclusion
The use-after-free vulnerability in the drm/nouveau package poses a significant security risk to Linux systems utilizing NVIDIA GPUs. It is crucial to update the Linux Kernel to version v5.10.73 or later to mitigate this vulnerability. Failure to do so could result in arbitrary code execution or denial-of-service attacks. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The use-after-free vulnerability in the drm/nouveau package could allow an attacker to execute arbitrary code or cause a denial-of-service condition.
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 to the playground, and it will analyze the dependencies and alert you if any vulnerabilities are found.
At the time of this report, there is no known public exploit for this vulnerability. However, it is always recommended to apply security patches promptly to mitigate the risk.
This vulnerability requires local access to the system to exploit. However, if an attacker gains local access, they could potentially exploit this vulnerability to execute arbitrary code or disrupt system functionality.
Unfortunately, there are no known mitigations for this vulnerability other than updating the Linux Kernel to the fixed version. It is crucial to prioritize updating the Kernel to ensure the security of your system.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.