Critical Buffer Overwrite Vulnerability in Linux Kernel Package
Summary
DEBIAN-CVE-2024-58018: In the Linux kernel, the following vulnerability has been resolved: nvkm: correctly calculate the available space of the GSP cmdq buffer r535_gsp_cmdq_push() waits for the available page in the GSP cmdq buffer when handl... Affects linux versions < 6.12.15-1. Fixed in 6.12.15-1. 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 Linux kernel is the core component of the Linux operating system, responsible for managing hardware resources and providing essential services to applications. It is widely used in various environments, from servers to embedded systems. The kernel's stability and security are paramount, as vulnerabilities can lead to system crashes, data corruption, or unauthorized access. This specific vulnerability affects the Linux kernel versions in Debian 13 and 14, highlighting a flaw in the handling of command queue buffers in the graphics subsystem.
Vulnerability Detail
In the Linux kernel, a vulnerability has been identified in the nvkm subsystem, specifically within the r535_gsp_cmdq_push() function. This issue arises when the function incorrectly calculates the available space in the GSP command queue buffer while processing large RPC requests. The flaw allows for an overwrite of the RPC request currently being read by the GSP, potentially leading to a system hang due to corrupted data. The vulnerability is characterized by a warning message generated during execution, indicating a serious error in buffer management. This could result in system instability and impact the performance of applications relying on the graphics subsystem.
How To Fix
Minimum fixed version
6.12.15-1
This is the first release that contains the fix.
sudo apt-get install --only-upgrade linux
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround, users may consider limiting the use of applications that heavily rely on the graphics subsystem until the kernel is updated. Additionally, monitoring system logs for any unusual behavior can help identify potential issues arising from this vulnerability.
Conclusion
The identified vulnerability in the Linux kernel poses significant risks to system stability and security. Users are strongly advised to update their kernel to the patched version 6.12.15-1 to mitigate these risks. Utilizing tools like Vulert can aid in monitoring for such vulnerabilities in real-time, ensuring that systems remain secure.
See every vulnerability recorded for linux →
FAQ
The vulnerability is a buffer overwrite issue in the Linux kernel's graphics subsystem, which can lead to system hangs and instability.
You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected.
Exploitation of this vulnerability may lead to system crashes, data corruption, or unauthorized access to sensitive information.
Yes, the patched version of the Linux kernel is 6.12.15-1 for both Debian 13 and 14.
As a temporary measure, limit the use of graphics-intensive applications and monitor system behavior for any irregularities.
References
Related vulnerabilities
Recent vulnerabilities recorded for linux.