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

High 8.2 Published Updated

A regression in the Linux kernel memory management subsystem causes issues on 32-bit systems, potentially leading to denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-26621?

CVE-2024-26621 is a high-severity denial of service vulnerability in Linux kernel, published on 2 Mar 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Which versions are affected by CVE-2024-26621?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-26621?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-26621 being exploited?

There is no known exploitation of CVE-2024-26621 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-26621, DEBIAN-CVE-2024-26621, GHSA-pv98-48f2-5vjr, UBUNTU-CVE-2024-26621.

Is CVE-2024-26621 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free