Critical Vulnerability in Linux Kernel: Misc Minor Allocation Mismatch
Summary
DEBIAN-CVE-2024-58078: In the Linux kernel, the following vulnerability has been resolved: misc: misc_minor_alloc to use ida for all dynamic/misc dynamic minors misc_minor_alloc was allocating id using ida for minor only in case of MISC_DYNAMI... 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 many operating systems, responsible for managing hardware and system resources. It provides essential services for all other parts of the operating system. This vulnerability affects the Linux kernel versions in Debian 13 and 14, specifically related to the allocation and deallocation of minor device IDs, which can lead to system warnings and potential instability.
Vulnerability Detail
In the Linux kernel, a vulnerability was identified in the misc_minor_alloc function, which was incorrectly allocating IDs using the ID allocator (ida) only for MISC_DYNAMIC_MINOR. However, the misc_minor_free function was freeing IDs using ida_free regardless of the allocation method, leading to a mismatch. This inconsistency could result in warnings during operation, such as 'ida_free called for id=127 which is not allocated.' This issue can potentially affect system stability and performance.
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
Currently, there are no specific workarounds mentioned for this vulnerability. It is recommended to apply the patch as soon as it is available.
Conclusion
The vulnerability in the Linux kernel regarding minor device ID allocation presents a significant risk to system stability. Users are advised to update to the patched version to ensure their systems remain secure and functional. Monitoring tools like Vulert can assist in identifying vulnerabilities in real-time.
See every vulnerability recorded for linux →
FAQ
The vulnerability involves a mismatch in the allocation and deallocation of minor device IDs in the Linux kernel, which can lead to system warnings and potential instability.
The affected versions are those prior to 6.12.15-1 in both Debian 13 and 14.
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 by this vulnerability.
If exploited, this vulnerability could lead to system warnings and instability, affecting the overall performance of the operating system.
While there are no specific workarounds available, it is crucial to apply the patch as soon as it is released to mitigate risks.
References
Related vulnerabilities
Recent vulnerabilities recorded for linux.