CVE-2024-44965

x86/mm: Fix pti_clone_pgtable() alignment assumption

MEDIUM
5.5
CVSS Score
Published: September 4, 2024 at 06:36 PM UTC
Updated: October 15, 2026 at 01:18 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.19 ≤ v < 4.19.3204.20 ≤ v < 5.4.2825.11 ≤ v < 5.15.1655.16 ≤ v < 6.1.1055.5 ≤ v < 5.10.2246.2 ≤ v < 6.6.466.7 ≤ v < 6.10.516a3fe634f6a568c6234b8747e5d50487fed35266.116.11 rc1
Vendor states this is fixed in 18da1b27ce16a14a9b636af9232acb4fb24f4c9e (fixed)
Vendor states this is fixed in 25a727233a40a9b33370eec9f0cad67d8fd312f8 (fixed)
Vendor states this is fixed in 41e71dbb0e0a0fe214545fe64af031303a08524c (fixed)
Vendor states this is fixed in 4d143ae782009b43b4f366402e5c37f59d4e4346 (fixed)
Vendor states this is fixed in 5c580c1050bcbc15c3e78090859d798dcf8c9763 (fixed)
Vendor states this is fixed in ca07aab70dd3b5e7fddb62d7a6ecd7a7d6d0b2ed (fixed)
Vendor states this is fixed in d00c9b4bbc442d99e1dafbdfdab848bc1ead73f6 (fixed)
Vendor states this is fixed in df3eecb5496f87263d171b254ca6e2758ab3c35c (fixed)
Vendor states this is fixed in 4.19 (unaffected)
Vendor states this is fixed in 4.19.320 (unaffected)
Vendor states this is fixed in 5.10.224 (unaffected)
Vendor states this is fixed in 5.15.165 (unaffected)
Vendor states this is fixed in 5.4.282 (unaffected)
Vendor states this is fixed in 6.1.105 (unaffected)
Vendor states this is fixed in 6.10.5 (unaffected)
Vendor states this is fixed in 6.11 (unaffected)
Vendor states this is fixed in 6.6.46 (unaffected)

References (12)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/18da1b27ce16a14a9b636af9232acb4fb24f4c9e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/25a727233a40a9b33370eec9f0cad67d8fd312f8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/41e71dbb0e0a0fe214545fe64af031303a08524c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4d143ae782009b43b4f366402e5c37f59d4e4346
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5c580c1050bcbc15c3e78090859d798dcf8c9763
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ca07aab70dd3b5e7fddb62d7a6ecd7a7d6d0b2ed
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d00c9b4bbc442d99e1dafbdfdab848bc1ead73f6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/df3eecb5496f87263d171b254ca6e2758ab3c35c

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card