CVE-2025-21815: mm/compaction: fix UBSAN shift-out-of-bounds warning

Published Feb 27, 2025
·
Updated

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

mm/compaction: fix UBSAN shift-out-of-bounds warning

syzkaller reported a UBSAN shift-out-of-bounds warning of (1UL << order) in isolatefreepagesblock(). The bogus compoundorder can be any value because it is union with flags. Add back the MAXPAGEORDER check to fix the warning.

Affected Software

3 affected components
Linux Linux kernel
Linux Linux kernel>=6.7<6.12.14
Linux Linux kernel>=6.13<6.13.3

Event History

Feb 27, 2025
CVE Published
via MITRE·08:04 PM
Data Sourced
via MITRE·08:04 PM
Description
Data Sourced
via NVD·08:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·09:02 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-21815?

CVE-2025-21815 has been classified as a low-severity vulnerability in the Linux kernel.

2

How do I fix CVE-2025-21815?

To resolve CVE-2025-21815, update your Linux kernel to the latest stable version provided by your distribution.

3

What components of the Linux kernel are affected by CVE-2025-21815?

CVE-2025-21815 affects the memory management component, specifically in the isolation of free pages.

4

Is CVE-2025-21815 exploitable remotely?

CVE-2025-21815 is not known to be remotely exploitable but could potentially affect local privileges.

5

What does UBSAN shift-out-of-bounds warning refer to in CVE-2025-21815?

The UBSAN shift-out-of-bounds warning in CVE-2025-21815 indicates a potential integer overflow during memory page isolation.

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