# CVE-2024-26621: mm: huge_memory: don't force huge page alignment on 32 bit

- Severity: High 8.2 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L`
- 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): 1.01%, higher than 64% of CVEs (2026-12-01)
- Published: 2024-03-02T21:31:49.158Z
- Modified: 2026-08-05T11:26:19.370Z
- 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: don't force huge page alignment on 32 bit

commit efa7df3e3bb5 ("mm: align larger anonymous mappings on THP
boundaries") caused two issues [1] [2] reported on 32 bit system or compat
userspace.

It doesn't make too much sense to force huge page alignment on 32 bit
system due to the constrained virtual address space.

[1] https://lore.kernel.org/linux-mm/d0a136a0-4a31-46bc-adf4-2db109a61672@kernel.org/
[2] https://lore.kernel.org/linux-mm/CAJuCfpHXLdQy1a2B6xN2d7quTYwg2OoZseYPZTRpU0eHHKD-sQ@mail.gmail.com/

(As written by CVE List.)

## Affected

- Linux Linux: from 1854bc6e2420472676c5c90d3d6b15f6cd640e40 before 87632bc9ecff5ded93433bc0fca428019bdd1cfe; from 1854bc6e2420472676c5c90d3d6b15f6cd640e40 before 6ea9aa8d97e6563676094cb35755884173269555; from 1854bc6e2420472676c5c90d3d6b15f6cd640e40 before 7432376c913381c5f24d373a87ff629bbde94b47; from 1854bc6e2420472676c5c90d3d6b15f6cd640e40 before 4ef9ad19e17676b9ef071309bc62020e2373705d; 5.18 (not affected: before 5.18; from 6.1.81 up to 6.1.*; from 6.6.46 up to 6.6.*; from 6.7.6 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: from 5.18 before 6.1.81; from 6.2 before 6.6.46; from 6.7 before 6.7.6; 6.8

## Every score

- Linux: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L`
- 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/87632bc9ecff5ded93433bc0fca428019bdd1cfe> (patch)
- <https://git.kernel.org/stable/c/6ea9aa8d97e6563676094cb35755884173269555> (patch)
- <https://git.kernel.org/stable/c/7432376c913381c5f24d373a87ff629bbde94b47> (patch)
- <https://git.kernel.org/stable/c/4ef9ad19e17676b9ef071309bc62020e2373705d> (patch)
- <https://zolutal.github.io/aslrnt/> (patch)
- <http://www.openwall.com/lists/oss-security/2024/07/08/3> (patch)
- <http://www.openwall.com/lists/oss-security/2024/07/08/5> (patch)
- <http://www.openwall.com/lists/oss-security/2024/07/08/4> (patch)
- <http://www.openwall.com/lists/oss-security/2024/07/08/6> (patch)
- <http://www.openwall.com/lists/oss-security/2024/07/08/7> (patch)
- <http://www.openwall.com/lists/oss-security/2024/07/08/8> (patch)
- <http://www.openwall.com/lists/oss-security/2024/07/09/1> (patch)
- <http://www.openwall.com/lists/oss-security/2024/07/10/5> (patch)
- <http://www.openwall.com/lists/oss-security/2024/07/10/7> (patch)
- <http://www.openwall.com/lists/oss-security/2024/07/10/8> (patch)
- <http://www.openwall.com/lists/oss-security/2024/07/11/4> (patch)
- <http://www.openwall.com/lists/oss-security/2024/07/11/5> (patch)
- <http://www.openwall.com/lists/oss-security/2024/07/11/7> (patch)
- <http://www.openwall.com/lists/oss-security/2024/07/12/3> (patch)
- <http://www.openwall.com/lists/oss-security/2024/07/13/2> (patch)
- <http://www.openwall.com/lists/oss-security/2024/07/13/7> (patch)
- <http://www.openwall.com/lists/oss-security/2024/07/15/2> (patch)
- <http://www.openwall.com/lists/oss-security/2024/07/15/1> (patch)
- <http://www.openwall.com/lists/oss-security/2024/07/16/1> (patch)
- <http://www.openwall.com/lists/oss-security/2024/07/16/2> (patch)
- <http://www.openwall.com/lists/oss-security/2024/07/29/2> (patch)
- <http://www.openwall.com/lists/oss-security/2024/07/30/2> (patch)

## Sources

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

---

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