CVE-2024-26621

mm: huge_memory: don't force huge page alignment on 32 bit

8.2 high EPSS 1.01%

Published 2 Mar 2024 Updated 5 Aug 2026 CNA: Linux

Check your servers for CVE-2024-26621

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-26621 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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/

Severity (CVSS)

8.2 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity none, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 1.01%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 64.2% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 10 Sep 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 1854bc6e2420472676c5c90d3d6b15f6cd640e40, before 87632bc9ecff5ded93433bc0fca428019bdd1cfe
affected from 1854bc6e2420472676c5c90d3d6b15f6cd640e40, before 6ea9aa8d97e6563676094cb35755884173269555
affected from 1854bc6e2420472676c5c90d3d6b15f6cd640e40, before 7432376c913381c5f24d373a87ff629bbde94b47
affected from 1854bc6e2420472676c5c90d3d6b15f6cd640e40, before 4ef9ad19e17676b9ef071309bc62020e2373705d
Other versions: unaffected
Linux
affected 5.18
unaffected before 5.18
unaffected from 6.1.81 up to and including 6.1.*
unaffected from 6.6.46 up to and including 6.6.*
unaffected from 6.7.6 up to and including 6.7.*
unaffected 6.8 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-26621 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-26621

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-26621
trivy image --scanners vuln IMAGE | grep CVE-2024-26621

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

15 more

Source: the record CVE-2024-26621 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.