Critical Memory Initialization Flaw in Linux Kernel: CVE-2024-46847
Summary
DEBIAN-CVE-2024-46847: In the Linux kernel, the following vulnerability has been resolved: mm: vmalloc: ensure vmap_block is initialised before adding to queue Commit 8c61291fd850 ("mm: fix incorrect vbq reference in purge_fragmented_block") e... Affects linux versions < 6.10.11-1. Fixed in 6.10.11-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, including Debian. It manages system resources and hardware communication, providing essential services for software applications. The kernel is designed for performance, scalability, and security. However, vulnerabilities can arise, such as CVE-2024-46847, which affects the memory management subsystem, specifically the initialization of the 'vmap_block' structure.
Vulnerability Detail
CVE-2024-46847 is a vulnerability in the Linux kernel's memory management system, specifically related to the 'vmap_block' structure. The issue arises when a new 'vmap_block' is instantiated by the function new_vmap_block(). The structure is added to the local 'vmap_block_queue' xarray before its 'cpu' field is initialized. This can lead to out-of-bounds access if another CPU concurrently accesses the xarray, potentially causing system instability and security risks. This flaw has been observed as UBSAN errors in Android, indicating serious implications for systems relying on the affected kernel versions.
How To Fix
Minimum fixed version
6.10.11-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, no specific workarounds are provided for this vulnerability. It is advisable to apply the patch as soon as it is available to mitigate risks.
Conclusion
CVE-2024-46847 is a significant vulnerability in the Linux kernel that can lead to serious system issues if not addressed. Users are encouraged to update their systems to the patched version to ensure security and stability. Monitoring tools like Vulert can assist in identifying vulnerabilities in your software.
See every vulnerability recorded for linux →
FAQ
CVE-2024-46847 is a vulnerability in the Linux kernel related to improper initialization of memory structures, which can lead to out-of-bounds access.
The vulnerability affects the Linux kernel versions prior to 6.10.11-1 in Debian 13 and 14.
You can use tools like Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected.
Exploiting this vulnerability can lead to system instability, crashes, and potential unauthorized access to system resources.
Yes, a patch is available in version 6.10.11-1 of the Linux package. It is recommended to update your system to this version.
References
Related vulnerabilities
Recent vulnerabilities recorded for linux.