CVE-2024-52319: mm: use aligned address in clear_gigantic_page()
In the Linux kernel, the following vulnerability has been resolved:
mm: use aligned address in cleargiganticpage()
In current kernel, hugetlbnopage() calls foliozerouser() with the fault address. Where the fault address may be not aligned with the huge page size. Then, foliozerouser() may call cleargiganticpage() with the address, while cleargiganticpage() requires the address to be huge page size aligned. So, this may cause memory corruption or information leak, addtional, use more obvious naming 'addrhint' instead of 'addr' for cleargiganticpage().
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-52319?
CVE-2024-52319 has an unspecified severity level, but it affects the memory management of the Linux kernel.
How does CVE-2024-52319 affect the Linux kernel?
CVE-2024-52319 affects the Linux kernel by potentially using unaligned addresses in the clear_gigantic_page() function, impacting page handling.
What versions of the Linux kernel are affected by CVE-2024-52319?
All currently supported versions of the Linux kernel that utilize hugetlb are potentially affected by CVE-2024-52319.
How do I fix CVE-2024-52319?
To fix CVE-2024-52319, you should upgrade your Linux kernel to the latest stable version that includes the patch for this vulnerability.
Is there a workaround for CVE-2024-52319?
Currently, there are no known workarounds for CVE-2024-52319 other than applying the necessary kernel updates.