CVE-2024-42258

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

State
Published
Severity
7.1 High
Published
Aug 12, 2024
Updated
Aug 5, 2026
Reserved
Jul 30, 2024

Read the record on cve.org

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/

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 87632bc9ecff5ded93433bc0fca428019bdd1cfe to before 89f2914dd4b47d2fad3deef0d700f9526d98d11fAffected
  • 6ea9aa8d97e6563676094cb35755884173269555 to before a5c399fe433a115e9d3693169b5f357f3194af0aAffected
  • 4ef9ad19e17676b9ef071309bc62020e2373705d to before 7e1f4efb8d6140b2ec79bf760c43e1fc186e8dfcAffected
  • 4ef9ad19e17676b9ef071309bc62020e2373705d to before d9592025000b3cf26c742f3505da7b83aedc26d5Affected
  • 7432376c913381c5f24d373a87ff629bbde94b47Affected
  • 6.1.81 to before 6.1.105Affected
  • 6.7.6 to before 6.8Affected
LinuxLinux
  • 6.8Affected
  • before 6.8Not affected
  • 6.1.105 through 6.1.*Not affected
  • 6.10.3 through 6.10.*Not affected
  • 6.11 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.