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

Published Mar 2, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

mm: hugememory: 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 Software

5 affected components
Linux Linux kernel>=5.18<6.1.81
Linux Linux kernel>=6.2<6.6.46
Linux Linux kernel>=6.7<6.7.6
Linux Linux kernel=6.8-rc1
Linux Linux kernel=6.8-rc2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch efa7df3e3bb5
  2. Compensating control

    Apply the kernel change for the issue described for 32-bit/compat systems: do not force huge page alignment for larger anonymous mappings on 32-bit due to constrained virtual address space.

Event History

Mar 2, 2024
CVE Published
via MITRE·09:31 PM
Data Sourced
via MITRE·09:31 PM
DescriptionSeverity
Data Sourced
via NVD·10:15 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-26621?

CVE-2024-26621 is classified as a medium severity vulnerability affecting the Linux kernel.

2

How do I fix CVE-2024-26621?

To fix CVE-2024-26621, update your Linux kernel to a version higher than 6.1.81 or install the recommended patches.

3

Which versions of the Linux kernel are affected by CVE-2024-26621?

CVE-2024-26621 affects Linux kernel versions between 5.18 and 6.1.81, and some versions between 6.2 and 6.8-rc2.

4

What types of systems are impacted by CVE-2024-26621?

CVE-2024-26621 primarily impacts 32-bit systems and users running compatible userspace.

5

Is CVE-2024-26621 specific to any particular Linux distribution?

CVE-2024-26621 is specific to the Linux kernel, affecting all distributions that utilize the affected versions of the kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203