Critical Vulnerability in Linux Kernel: DMA-BUF SW-SYNC IRQ Handling Issue
Summary
DEBIAN-CVE-2024-38780: In the Linux kernel, the following vulnerability has been resolved: dma-buf/sw-sync: don't enable IRQ from sync_print_obj() Since commit a6aa8fca4d79 ("dma-buf/sw-sync: Reduce irqsave/irqrestore from known context") by e... Affects linux versions < 5.10.221-1. Fixed in 5.10.221-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 many operating systems, providing essential services for hardware management and system resources. It is widely used across various platforms, including servers, desktops, and embedded systems. This vulnerability affects the Linux kernel versions in Debian distributions, specifically related to the DMA-BUF subsystem, which is responsible for managing shared memory buffers between different devices. The issue arises from improper handling of interrupt requests (IRQs) in the synchronization process, potentially leading to inconsistent lock states.
Vulnerability Detail
In the Linux kernel, a vulnerability was introduced when the function sync_print_obj() improperly replaced spin_unlock_irqrestore() with spin_unlock_irq(). This change was made in commit a6aa8fca4d79, which caused lockdep to report inconsistent lock state warnings. The vulnerability can lead to potential system instability and unexpected behavior during the synchronization of DMA-BUF objects, as IRQs may be enabled incorrectly, affecting the overall reliability of the system.
How To Fix
Minimum fixed version
5.10.221-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. It is recommended to apply the patch as soon as it is available.
Conclusion
The vulnerability identified in the Linux kernel related to DMA-BUF synchronization poses significant risks to system stability. It is crucial for users of affected Debian distributions to update their systems to the patched versions to mitigate potential issues. Regular monitoring and updates are essential for maintaining a secure environment.
See every vulnerability recorded for linux →
FAQ
The vulnerability can lead to system instability and unexpected behavior during the synchronization of DMA-BUF objects.
You can check your system's kernel version and compare it with the patched versions mentioned in the 'how to fix' section.
While the primary concern is system instability, there is a potential risk of data loss during operations that rely on DMA-BUF synchronization.
It is recommended to regularly check for updates and apply them promptly to ensure security and stability.
Yes, Vulert can monitor and alert you in real-time for open-source vulnerabilities in your software without requiring access to the code or installation.
References
Related vulnerabilities
Recent vulnerabilities recorded for linux.