# CVE-2024-42258: mm: huge_memory: use !CONFIG_64BIT to relax huge page alignment on 32 bit machines

- Severity: High 7.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2024-08-12T14:16:13.227Z
- Modified: 2026-08-05T11:36:07.867Z
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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/

(As written by CVE List.)

## Affected

- Linux Linux: from 87632bc9ecff5ded93433bc0fca428019bdd1cfe before 89f2914dd4b47d2fad3deef0d700f9526d98d11f; from 6ea9aa8d97e6563676094cb35755884173269555 before a5c399fe433a115e9d3693169b5f357f3194af0a; from 4ef9ad19e17676b9ef071309bc62020e2373705d before 7e1f4efb8d6140b2ec79bf760c43e1fc186e8dfc; from 4ef9ad19e17676b9ef071309bc62020e2373705d before d9592025000b3cf26c742f3505da7b83aedc26d5; 7432376c913381c5f24d373a87ff629bbde94b47; from 6.1.81 before 6.1.105; from 6.7.6 before 6.8; 6.8 (not affected: before 6.8; from 6.1.105 up to 6.1.*; from 6.10.3 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: from 6.8 before 6.10.3

## Every score

- Linux: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/89f2914dd4b47d2fad3deef0d700f9526d98d11f>
- <https://git.kernel.org/stable/c/a5c399fe433a115e9d3693169b5f357f3194af0a>
- <https://git.kernel.org/stable/c/7e1f4efb8d6140b2ec79bf760c43e1fc186e8dfc> (patch)
- <https://git.kernel.org/stable/c/d9592025000b3cf26c742f3505da7b83aedc26d5> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2024-42258](https://www.cve.org/CVERecord?id=CVE-2024-42258), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-42258](https://nvd.nist.gov/vuln/detail/CVE-2024-42258), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-42258 · Whole record: https://cve.day/CVE-2024-42258.json · Rebuilt by cve.day 2026-11-25T22:58:44.217Z
