CVE-2024-44965: x86/mm: Fix pti_clone_pgtable() alignment assumption
In the Linux kernel, the following vulnerability has been resolved:
x86/mm: Fix pticlonepgtable() alignment assumption
Guenter reported dodgy crashes on an i386-nosmp build using GCC-11 that had the form of endless traps until entry stack exhaust and then #DF from the stack guard.
It turned out that pticlonepgtable() had alignment assumptions on the start address, notably it hard assumes start is PMD aligned. This is true on x8664, but very much not true on i386.
These assumptions can cause the end condition to malfunction, leading to a 'short' clone. Guess what happens when the user mapping has a short copy of the entry text?
Use the correct increment form for addr to avoid alignment assumptions.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-44965?
CVE-2024-44965 has a medium severity rating due to potential crashes in affected systems.
How do I fix CVE-2024-44965?
To fix CVE-2024-44965, update your Linux kernel to versions 5.10.226-1, 6.1.119-1~deb11u1, or any version newer than 6.12.11-1.
Which versions of the Linux kernel are affected by CVE-2024-44965?
CVE-2024-44965 affects Linux kernel versions from 4.19 to 6.11-rc1, excluding patched versions.
What kind of vulnerabilities does CVE-2024-44965 address?
CVE-2024-44965 addresses alignment issues in the x86 memory management of the Linux kernel.
Who reported the issues leading to the CVE-2024-44965 vulnerability?
Guenter reported the dodgy crashes that led to the identification of CVE-2024-44965.