Bug 2348902 (CVE-2025-21815) - CVE-2025-21815 kernel: mm/compaction: fix UBSAN shift-out-of-bounds warning
Summary: CVE-2025-21815 kernel: mm/compaction: fix UBSAN shift-out-of-bounds warning
Keywords:
Status: NEW
Alias: CVE-2025-21815
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-27 21:02 UTC by OSIDB Bzimport
Modified: 2026-01-26 16:23 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:1236 0 None None None 2026-01-26 16:23:29 UTC

Description OSIDB Bzimport 2025-02-27 21:02:35 UTC
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.

Comment 1 Avinash Hanwate 2025-02-28 05:24:52 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022709-CVE-2025-21815-19c9@gregkh/T

Comment 3 errata-xmlrpc 2026-01-26 16:23:28 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

Via RHSA-2026:1236 https://access.redhat.com/errata/RHSA-2026:1236


Note You need to log in before you can comment on or make changes to this bug.