CVE-2024-51729: mm: use aligned address in copy_user_gigantic_page()
In the Linux kernel, the following vulnerability has been resolved:
mm: use aligned address in copyusergiganticpage()
In current kernel, hugetlbwp() calls copyuserlargefolio() with the fault address. Where the fault address may be not aligned with the huge page size. Then, copyuserlargefolio() may call copyusergiganticpage() with the address, while copyusergiganticpage() 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 copyusergiganticpage().
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-1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-51729?
CVE-2024-51729 has been classified as a medium severity vulnerability.
How do I fix CVE-2024-51729?
To fix CVE-2024-51729, update the Linux kernel to the latest stable version that includes the necessary patches.
What does CVE-2024-51729 affect?
CVE-2024-51729 affects the Linux kernel with issues related to memory alignment in hugetlb_wp().
When was CVE-2024-51729 reported?
CVE-2024-51729 was reported and resolved in the Linux kernel's recent updates.
What does the vulnerability CVE-2024-51729 involve?
CVE-2024-51729 involves the use of unaligned addresses in the copy_user_gigantic_page() function, potentially impacting memory safety.