Critical Crash Vulnerability in Linux Kernel: dm Module Affected
Summary
DEBIAN-CVE-2024-50277: In the Linux kernel, the following vulnerability has been resolved: dm: fix a crash if blk_alloc_disk fails If blk_alloc_disk fails, the variable md->disk is set to an error value. Affects linux versions < 6.11.9-1. Fixed in 6.11.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 kernel is the core component of many operating systems, providing essential services for hardware management and system resources. It is known for its robustness and flexibility, supporting a wide range of devices and architectures. However, vulnerabilities can arise, impacting system stability and security. The specific issue at hand involves the dm module, which is responsible for device-mapper functionality, allowing for advanced storage management. This vulnerability can lead to system crashes under certain conditions, posing a significant risk to users.
Vulnerability Detail
In the Linux kernel, a vulnerability has been identified in the dm module where a failure in the blk_alloc_disk function can lead to a crash. When blk_alloc_disk fails, the variable md->disk is incorrectly set to an error value. Consequently, during the cleanup process, the system attempts to access md->disk, which is non-NULL, leading to a crash when executing the statement 'md->disk->private_data = NULL;'. This issue can disrupt system operations and lead to data loss or corruption.
How To Fix
Minimum fixed version
6.11.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. It is strongly recommended to apply the patch as soon as it is available to mitigate the risk of system crashes.
Conclusion
The identified vulnerability in the Linux kernel's dm module poses a significant risk of system crashes due to improper handling of error values. Users are advised to update their kernel to the patched version 6.11.9-1 to ensure system stability and security. Regular monitoring for vulnerabilities using tools like Vulert can help maintain a secure environment.
See every vulnerability recorded for linux →
FAQ
The vulnerability is a crash issue in the Linux kernel's dm module that occurs when blk_alloc_disk fails, leading to potential system instability.
The vulnerability affects the Linux kernel versions prior to 6.11.9-1 in both Debian 13 and Debian 14.
You can use Vulert, which monitors open-source vulnerabilities in your software. By using the Vulert playground at Vulert Scanner, you can check if your application is affected without needing to sign up.
Failing to address this vulnerability may result in system crashes, data loss, and overall instability of the operating system.
Yes, the crash caused by this vulnerability can lead to data loss or corruption, making it crucial to apply the patch promptly.
References
Related vulnerabilities
Recent vulnerabilities recorded for linux.