CVE-2025-21815: mm/compaction: fix UBSAN shift-out-of-bounds warning
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
Event History
Frequently Asked Questions
What is the severity of CVE-2025-21815?
CVE-2025-21815 has been classified as a low-severity vulnerability in the Linux kernel.
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.
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.
Is CVE-2025-21815 exploitable remotely?
CVE-2025-21815 is not known to be remotely exploitable but could potentially affect local privileges.
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.