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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.2
- **CVSS:** 8.2 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.15% (percentile 67, 2026-11-28)
- **Published:** 2024-03-02T21:31:49.158Z
- **Modified:** 2026-08-05T11:26:19.370Z

## Who should check

- Anyone running Linux \>= 1854bc6e2420472676c5c90d3d6b15f6cd640e40, \< 87632bc9ecff5ded93433bc0fca428019bdd1cfe; \>= 1854bc6e2420472676c5c90d3d6b15f6cd640e40, \< 6ea9aa8d97e6563676094cb35755884173269555; \>= 1854bc6e2420472676c5c90d3d6b15f6cd640e40, \< 7432376c913381c5f24d373a87ff629bbde94b47; \>= 1854bc6e2420472676c5c90d3d6b15f6cd640e40, \< 4ef9ad19e17676b9ef071309bc62020e2373705d
- Anyone running Linux 5.18

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

## Affected and fixed versions

- Linux: \>= 1854bc6e2420472676c5c90d3d6b15f6cd640e40, \< 87632bc9ecff5ded93433bc0fca428019bdd1cfe; \>= 1854bc6e2420472676c5c90d3d6b15f6cd640e40, \< 6ea9aa8d97e6563676094cb35755884173269555; \>= 1854bc6e2420472676c5c90d3d6b15f6cd640e40, \< 7432376c913381c5f24d373a87ff629bbde94b47; \>= 1854bc6e2420472676c5c90d3d6b15f6cd640e40, \< 4ef9ad19e17676b9ef071309bc62020e2373705d (cvelist)
- Linux: 5.18 (cvelist)

## Mitigation

- Upgrade Linux to 4ef9ad19e17676b9ef071309bc62020e2373705d or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-26621. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26621.md
Affected: Linux >= 1854bc6e2420472676c5c90d3d6b15f6cd640e40, < 87632bc9ecff5ded93433bc0fca428019bdd1cfe; >= 1854bc6e2420472676c5c90d3d6b15f6cd640e40, < 6ea9aa8d97e6563676094cb35755884173269555; >= 1854bc6e2420472676c5c90d3d6b15f6cd640e40, < 7432376c913381c5f24d373a87ff629bbde94b47; >= 1854bc6e2420472676c5c90…
Fixed in: Linux 87632bc9ecff5ded93433bc0fca428019bdd1cfe, Linux 6ea9aa8d97e6563676094cb35755884173269555, Linux 7432376c913381c5f24d373a87ff629bbde94b47, Linux 4ef9ad19e17676b9ef071309bc62020e2373705d

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-26621 being exploited?

There is no confirmed exploitation: CVE-2024-26621 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.15% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2024-26621?

High: CVSS 8.2 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2024-26621?

Linux \>= 1854bc6e2420472676c5c90d3d6b15f6cd640e40, \< 87632bc9ecff5ded93433bc0fca428019bdd1cfe; \>= 1854bc6e2420472676c5c90d3d6b15f6cd640e40, \< 6ea9aa8d97e6563676094cb35755884173269555; \>= 1854bc6e2420472676c5c90d3d6b15f6cd640e40, \< 7432376c913381c5f24d373a87ff629bbde94b47; \>= 1854bc6e2420472676c5c90d3d6b15f6cd640e40, \< 4ef9ad19e17676b9ef071309bc62020e2373705d; Linux 5.18.

### Is there a fix for CVE-2024-26621?

Yes. Fixed in Linux 87632bc9ecff5ded93433bc0fca428019bdd1cfe, Linux 6ea9aa8d97e6563676094cb35755884173269555, Linux 7432376c913381c5f24d373a87ff629bbde94b47, Linux 4ef9ad19e17676b9ef071309bc62020e2373705d. Upgrade Linux to 4ef9ad19e17676b9ef071309bc62020e2373705d or later.

### How do I check if I'm affected by CVE-2024-26621?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-26621>

HTML: <https://flawdb.com/CVE-2024-26621> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-26621>
