Skip to content
CVE PROGRAM SOURCE RECORDUnscored

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 3da0272a4c7d0d37b47b28e87014f421296fc2be to < 4491159774d973a9e2e998d25d8fbb20fada6dfaaffected
  • 3da0272a4c7d0d37b47b28e87014f421296fc2be to < 10b7d3eb535098ccd4c82a182a33655d8a0e5c88affected
  • 3da0272a4c7d0d37b47b28e87014f421296fc2be to < d1366e74342e75555af2648a2964deb2d5c92200affected

Linux Linux

Default version status: affected

  • 6.7affected
  • 0 to < 6.7unaffected
  • 6.12.14 to ≤ 6.12.*unaffected
  • 6.13.3 to ≤ 6.13.*unaffected
  • 6.14 to ≤ *unaffected

References