Critical UAF Vulnerability in Linux Kernel - linux Package
Summary
DEBIAN-CVE-2024-47676: In the Linux kernel, the following vulnerability has been resolved: mm/hugetlb.c: fix UAF of vma in hugetlb fault pathway Syzbot reports a UAF in hugetlb_fault(). Affects linux versions < 6.11.2-1. Fixed in 6.11.2-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 the Linux kernel that manages system resources and hardware interactions. It is essential for the functioning of the OS, enabling multitasking, memory management, and device control. This vulnerability specifically affects the hugetlb functionality, which is used for managing large memory pages, potentially leading to serious security issues.
Vulnerability Detail
In the Linux kernel, a use-after-free (UAF) vulnerability has been identified in the hugetlb_fault() function. This issue arises because the vmf_anon_prepare() function may release the per-VMA (Virtual Memory Area) lock, allowing the current VMA to be freed before hugetlb_vma_unlock_read() is executed. If exploited, this vulnerability could lead to arbitrary code execution or system crashes, posing a significant risk to system integrity and security.
How To Fix
Minimum fixed version
6.11.2-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 workaround is provided for this vulnerability. It is recommended to apply the patch as soon as it is available to mitigate the risk.
Conclusion
The identified UAF vulnerability in the Linux kernel's hugetlb functionality poses a significant risk to system security. Users are urged to update their linux package to version 6.11.2-1 or later to mitigate this issue. Regular monitoring and updates are crucial for maintaining system integrity.
See every vulnerability recorded for linux →
FAQ
A use-after-free vulnerability occurs when a program continues to use a memory reference after it has been freed, potentially allowing an attacker to manipulate the memory and execute arbitrary code.
You can check if your application is affected by using Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to analyze your manifest file.
Exploitation of this vulnerability could lead to system crashes, unauthorized access, or arbitrary code execution, compromising the security and stability of the system.
Yes, if exploited, this vulnerability could lead to data corruption or loss, as an attacker may manipulate system memory.
It is recommended to regularly check for updates and apply them promptly to ensure your system is protected against known vulnerabilities.
References
Related vulnerabilities
Recent vulnerabilities recorded for linux.