CVE-2025-21815
kernel: mm/compaction: fix UBSAN shift-out-of-bounds warning
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · February 27, 2025
Updated · June 30, 2026
Description
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.
Statement
The Linux kernel as shipped in Red Hat Enterprise Linux 6, 7, 8 and 9 is not affected by this vulnerability because the vulnerable code was introduced in a newer version of the Linux kernel.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
CWE-190 · Integer Overflow or Wraparound