Skip to content
Not rated

CVE-2024-44965 In the Linux kernel, the following vulnerability has been resolved: x86/mm: Fix pti_clone_pgtable() alignment assumption…

Description

In the Linux kernel, the following vulnerability has been resolved: x86/mm: Fix pti_clone_pgtable() 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 pti_clone_pgtable() had alignment assumptions on the start address, notably it hard assumes start is PMD aligned. This is true on x86_64, 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 products and versions

Product Affected versions Fixed in
Linux 6.11 earliest → < 6.11 6.11
Linux 6.10 earliest → < 6.10.5 6.10.5
Linux 6.6 earliest → < 6.6.46 6.6.46
Linux 6.1 earliest → < 6.1.105 6.1.105
Linux 5.15 earliest → < 5.15.165 5.15.165
Linux 5.10 earliest → < 5.10.224 5.10.224
Linux 5.4 earliest → < 5.4.282 5.4.282
Linux 4.19 4.19.320
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP 3.1 3.1.0 → < 3.1.5 3.1.5
Show the 2 other branches
Product Affected versions Fixed in
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP 3.1 3.1.0 → < 3.1.5 3.1.5
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP 3.1 3.1.0 → < 3.1.5 3.1.5
The 18298 CVEs of Linux →
Track this CVE