CVE-2024-52319·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: mm: use aligned address in clear_gigantic_page() In current kernel, hugetlb_no_page() calls folio_zero_user() with the fault address. Where the fault address may be not aligned with the huge page size. Then, folio_zero_user() may call clear_gigantic_page() with the address, while clear_gigantic_page() requires the address to be huge page size aligned. So, this may cause memory corruption or information leak, addtional, use more obvious naming 'addr_hint' instead of 'addr' for clear_gigantic_page().
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.12.7
- Published
- 2025-01-11
Affected versions
From: 6.11
Until: 6.12.7
Fixed in: 6.12.7
How to fix this CVE
Update your Linux kernel to version 6.12.7 or later to resolve this memory safety issue affecting hugetlb page handling. The vulnerability allows unaligned memory addresses to be passed to gigantic page clearing routines, potentially causing memory corruption or information disclosure. Apply kernel updates immediately through your distribution's package manager and reboot the system to activate the patched kernel.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version: uname -r
- Verify if you are running kernel version 6.11.x through 6.12.6 (affected range)
- Search system logs for memory-related errors or page faults: sudo journalctl -b | grep -i 'memory\|page\|corruption\|fault'
- After patching, confirm the new kernel version is active: uname -r (should be 6.12.7 or later) and check dmesg output: dmesg | head -20
FAQ
What is CVE-2024-52319?
This vulnerability exists in the Linux kernel's hugetlb memory management subsystem, where unaligned memory addresses can be passed to gigantic page clearing operations, bypassing address alignment checks and leading to memory corruption or information leaks.
Is CVE-2024-52319 being actively exploited?
No, this CVE is not listed on the CISA KEV catalog and no public exploits are currently available. However, the high CVSS score of 7.8 indicates it should be patched promptly.
What versions of Kernel are affected by CVE-2024-52319?
Linux kernel versions 6.11.0 through 6.12.6 are affected. Kernel 6.12.7 and later include the fix.
How do I check if my server is vulnerable to CVE-2024-52319?
Run 'uname -r' and compare your kernel version against the affected range (6.11.x to 6.12.6). If your version falls within this range, your system is vulnerable.
Does Defensia detect CVE-2024-52319?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2024-52319 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-52319. Free for 1 server.
Get started free