Critical Vulnerability in Linux Package: Spinlock Misuse in DMA Engine
Summary
DEBIAN-CVE-2024-35991: In the Linux kernel, the following vulnerability has been resolved: dmaengine: idxd: Convert spinlock to mutex to lock evl workqueue drain_workqueue() cannot be called safely in a spinlocked context due to possible task... Affects linux versions < 6.8.9-1. Fixed in 6.8.9-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 package is a core component of the Debian operating system, providing essential functionalities for managing hardware resources and system processes. It is widely used across various distributions and is critical for system stability and performance. This vulnerability arises from improper locking mechanisms in the DMA engine, which can lead to system instability and potential crashes.
Vulnerability Detail
In the Linux kernel, a vulnerability has been identified in the DMA engine related to the idxd driver. The issue stems from the use of a spinlock to protect the event log workqueue, which can lead to a Call Trace when drain_workqueue() is invoked in a spinlocked context. This situation can occur during multi-task operations, where calling queue_work() while drain_workqueue() is active may result in task rescheduling issues. The vulnerability can lead to system crashes and instability, making it critical to address promptly.
How To Fix
Minimum fixed version
6.8.9-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
Currently, there are no specific workarounds provided for this vulnerability. The best course of action is to apply the patch as soon as it becomes available.
Conclusion
The identified vulnerability in the Linux package poses significant risks to system stability and performance. Users are strongly advised to update to the patched version 6.8.9-1 to mitigate these risks. Utilizing tools like Vulert can further enhance security by providing real-time monitoring for vulnerabilities.
See every vulnerability recorded for linux →
FAQ
The vulnerability involves improper use of spinlocks in the DMA engine, which can lead to system crashes during multi-task operations.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected.
If exploited, this vulnerability can lead to system instability, crashes, and potential data loss.
Yes, a patch is available in version 6.8.9-1 of the Linux package. Users should update to this version or later.
Vulert uses a manifest file like package-lock.json to monitor and alert in real-time for open-source vulnerabilities without requiring code access or installation.
References
Related vulnerabilities
Recent vulnerabilities recorded for linux.