What’s Vulnerable › Vulnerabilities

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

Description

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 isolate_freepages_block(). The bogus compound_order can be any value because it is union with flags. Add back the MAX_PAGE_ORDER check to fix the warning.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.12.14, 6.13.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-21815 or the next vulnerability affects your stack