CVE-2025-21815

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

State
Published
Severity
Not scored
Published
Feb 27, 2025
Updated
May 11, 2026
Reserved
Dec 29, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 3da0272a4c7d0d37b47b28e87014f421296fc2be to before 4491159774d973a9e2e998d25d8fbb20fada6dfaAffected
  • 3da0272a4c7d0d37b47b28e87014f421296fc2be to before 10b7d3eb535098ccd4c82a182a33655d8a0e5c88Affected
  • 3da0272a4c7d0d37b47b28e87014f421296fc2be to before d1366e74342e75555af2648a2964deb2d5c92200Affected
LinuxLinux
  • 6.7Affected
  • before 6.7Not affected
  • 6.12.14 through 6.12.*Not affected
  • 6.13.3 through 6.13.*Not affected
  • 6.14 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.