CVE-2024-42258

published 12 Aug 2024 · updated 17 Nov 2026

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

7.1HighCVSS 7.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 89f2914dd4b47d2fad3deef0d700f9526d98d11f, Kernel 6.1.105, Kernel 6.8 and 4 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=87632bc9ecff5ded93433bc0fca428019bdd1cfe <89f2914dd4b47d2fad3deef0d700f9526d98d11f, >=6.1.81 <6.1.105, >=6.7.6 <6.8, >=6ea9aa8d97e6563676094cb35755884173269555 <a5c399fe433a115e9d3693169b5f357f3194af0a, =6.8, =7432376c913381c5f24d373a87ff629bbde94b47, >=4ef9ad19e17676b9ef071309bc62020e2373705d <7e1f4efb8d6140b2ec79bf760c43e1fc186e8dfc, >=4ef9ad19e17676b9ef071309bc62020e2373705d <d9592025000b3cf26c742f3505da7b83aedc26d589f2914dd4b47d2fad3deef0d700f9526d98d11f, 6.1.105, 6.8, a5c399fe433a115e9d3693169b5f357f3194af0a, 7e1f4efb8d6140b2ec79bf760c43e1fc186e8dfc, d9592025000b3cf26c742f3505da7b83aedc26d5
linux-kernel: Kernel>=6.7.6 <6.8, >=6.8.0 <6.10.3, >=6.1.81 <6.1.1056.8, 6.10.3, 6.1.105

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-42258 severity on Zeptric[![CVE-2024-42258](https://zeptric.io/badge/cve/CVE-2024-42258.svg)](https://zeptric.io/cve/CVE-2024-42258)