CVE-2024-26621
published high CVSS 3.1 · 8.2mm: huge_memory: don't force huge page alignment on 32 bit
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1854bc6e2420472676c5c90d3d6b15f6cd640e40 to < 87632bc9ecff5ded93433bc0fca428019bdd1cfe · 1854bc6e2420472676c5c90d3d6b15f6cd640e40 to < 6ea9aa8d97e6563676094cb35755884173269555 · 1854bc6e2420472676c5c90d3d6b15f6cd640e40 to < 7432376c913381c5f24d373a87ff629bbde94b47 · 1854bc6e2420472676c5c90d3d6b15f6cd640e40 to < 4ef9ad19e17676b9ef071309bc62020e2373705d · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.18 (affected) · 0 to < 5.18 (unaffected · semver) · 6.1.81 through 6.1.* (unaffected · semver) · 6.6.46 through 6.6.* (unaffected · semver) · 6.7.6 through 6.7.* (unaffected · semver) · 6.8 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-603 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-784 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | kernelaarch64 | Listed in advisory | Not stated | ALAS2023-2024-603 |
| Amazon Linux | AL2023 | kernelaarch64 | Listed in advisory | Not stated | ALAS2023-2024-784 |
| Amazon Linux | AL2023 | kernelsrc | Listed in advisory | Not stated | ALAS2023-2024-603 |
Show 3 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | kernelsrc | Listed in advisory | Not stated | ALAS2023-2024-784 |
| Amazon Linux | AL2023 | kernelx86_64 | Listed in advisory | Not stated | ALAS2023-2024-603 |
| Amazon Linux | AL2023 | kernelx86_64 | Listed in advisory | Not stated | ALAS2023-2024-784 |
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/[email protected]/ [2] https://lore.kernel.org/linux-mm/CAJuCfpHXLdQy1a2B6xN2d7quTYwg2OoZseYPZTRpU0eHHKD-sQ@mail.gmail.com/
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L
- Scenarios
- en: AV:N - The flaw's effect — a fully predictable memory layout for every process, including internet-facing daemons such as sshd on 32-bit/compat systems — is usable by an entirely remote, unauthenticated attacker who never needs any access to the host; this is the exact condition Qualys leveraged for regreSSHion, and the CVE's own reference set is the oss-security thread on that remote impact. AC:L - On 32-bit and compat processes the outcome is fully deterministic, not probabilistic — libc lands at a fixed address (e.g. 0xf7c00000) on every single run, so nothing about exploitation depends on conditions outside the attacker's control. PR:N - No credentials, account, or local foothold is required; the library and heap base addresses are constants that can be computed offline from the same distro or firmware image, and they are identical for privileged root daemons and unprivileged processes alike. UI:N - The kernel applies the 2 MB alignment unconditionally on every mmap of a ≥2 MB file or anonymous mapping; no victim action is needed for the layout to become predictable. S:U - The kernel is the security authority governing process address-space layout, and the lost randomization affects resources it already manages; no sandbox, VM, or IOMMU boundary is crossed. C:H - This is a complete, permanent disclosure of the exact secret ASLR exists to protect — on 32-bit all 8 bits of mmap entropy are annihilated, exposing the full mapping layout of every process on the system rather than a bounded few-byte leak. I:N - Defeating address randomization does not by itself write to or modify any kernel or userspace data; integrity compromise only arises when a separate memory-corruption bug is chained in. A:L - The len+PMD_SIZE padding and inter-VMA alignment holes exhaust the constrained 32-bit virtual address space, producing documented mmap2() ENOMEM failures and consequent userspace tool crashes (pahole), plus max_map_count exhaustion — degradation rather than a kernel panic or hang.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 1854bc6e2420472676c5c90d3d6b15f6cd640e40 to < 87632bc9ecff5ded93433bc0fca428019bdd1cfe (affected · git)1854bc6e2420472676c5c90d3d6b15f6cd640e40 to < 6ea9aa8d97e6563676094cb35755884173269555 (affected · git)1854bc6e2420472676c5c90d3d6b15f6cd640e40 to < 7432376c913381c5f24d373a87ff629bbde94b47 (affected · git)1854bc6e2420472676c5c90d3d6b15f6cd640e40 to < 4ef9ad19e17676b9ef071309bc62020e2373705d (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.18 (affected)0 to < 5.18 (unaffected · semver)6.1.81 through 6.1.* (unaffected · semver)6.6.46 through 6.6.* (unaffected · semver)6.7.6 through 6.7.* (unaffected · semver)6.8 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
27- http://www.openwall.com/lists/oss-security/2024/07/08/3
- http://www.openwall.com/lists/oss-security/2024/07/08/4
- http://www.openwall.com/lists/oss-security/2024/07/08/5
- http://www.openwall.com/lists/oss-security/2024/07/08/6
- http://www.openwall.com/lists/oss-security/2024/07/08/7
- http://www.openwall.com/lists/oss-security/2024/07/08/8
- http://www.openwall.com/lists/oss-security/2024/07/09/1
- http://www.openwall.com/lists/oss-security/2024/07/10/5
- http://www.openwall.com/lists/oss-security/2024/07/10/7
- http://www.openwall.com/lists/oss-security/2024/07/10/8
- http://www.openwall.com/lists/oss-security/2024/07/11/4
- http://www.openwall.com/lists/oss-security/2024/07/11/5
- http://www.openwall.com/lists/oss-security/2024/07/11/7
- http://www.openwall.com/lists/oss-security/2024/07/12/3
- http://www.openwall.com/lists/oss-security/2024/07/13/2
- http://www.openwall.com/lists/oss-security/2024/07/13/7
- http://www.openwall.com/lists/oss-security/2024/07/15/1
- http://www.openwall.com/lists/oss-security/2024/07/15/2
- http://www.openwall.com/lists/oss-security/2024/07/16/1
- http://www.openwall.com/lists/oss-security/2024/07/16/2
- http://www.openwall.com/lists/oss-security/2024/07/29/2
- http://www.openwall.com/lists/oss-security/2024/07/30/2
- https://git.kernel.org/stable/c/4ef9ad19e17676b9ef071309bc62020e2373705d
- https://git.kernel.org/stable/c/6ea9aa8d97e6563676094cb35755884173269555
- https://git.kernel.org/stable/c/7432376c913381c5f24d373a87ff629bbde94b47
- https://git.kernel.org/stable/c/87632bc9ecff5ded93433bc0fca428019bdd1cfe
- https://zolutal.github.io/aslrnt/
Provider assertions
3Linux · cna
mm: huge_memory: don't force huge page alignment on 32 bit
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- aa371781117ac5475144cb7776c8e60e68523c79326ea8fdf8dc1ffad43b9a6b
- Ingested
- 23 Sep 2026, 08:20:34 UTC
- Source record
- Official CVE record