All reports
Medium

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

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-21815

Probability of exploitation in the next 30 days: 0.20%

FIRST EPSS · 2026-11-19

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.

A flaw was found in the memory management subsystem in the Linux kernel. An integer overflow in a shift operation can cause unexpected behavior in memory management, resulting in system instability and a denial of service.