CVE-2024-42258

mm: huge_memory: use !CONFIG_64BIT to relax huge page alignment on 32 bit machines

MEDIUM
5.5
CVSS Score
Published: August 12, 2024 at 02:16 PM UTC
Updated: August 5, 2026 at 12:04 PM 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: mm: huge_memory: use !CONFIG_64BIT to relax huge page alignment on 32 bit machines Yves-Alexis Perez reported commit 4ef9ad19e176 ("mm: huge_memory: don't force huge page alignment on 32 bit") didn't work for x86_32 [1]. It is because x86_32 uses CONFIG_X86_32 instead of CONFIG_32BIT. !CONFIG_64BIT should cover all 32 bit machines. [1] https://lore.kernel.org/linux-mm/CAHbLzkr1LwH3pcTgM+aGQ31ip2bKqiqEQ8=FQB+t2c3dhNKNHA@mail.gmail.com/

Affected

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

v ≥ 6.7.66.1.81 ≤ v < 6.1.1056.7.6 ≤ v < 6.86.8 ≤ v < 6.10.36.8 ≤ v < 6.114ef9ad19e17676b9ef071309bc62020e2373705d6.1.816.7.66.86ea9aa8d97e6563676094cb357558841732695557432376c913381c5f24d373a87ff629bbde94b4787632bc9ecff5ded93433bc0fca428019bdd1cfe
Vendor states this is fixed in 7e1f4efb8d6140b2ec79bf760c43e1fc186e8dfc (fixed)
Vendor states this is fixed in 89f2914dd4b47d2fad3deef0d700f9526d98d11f (fixed)
Vendor states this is fixed in a5c399fe433a115e9d3693169b5f357f3194af0a (fixed)
Vendor states this is fixed in d9592025000b3cf26c742f3505da7b83aedc26d5 (fixed)
Vendor states this is fixed in 6.1.105 (unaffected)
Vendor states this is fixed in 6.10.3 (unaffected)
Vendor states this is fixed in 6.11 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (5)

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
CWE-770

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