CVE-2025-21815 Details
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 shift-out-of-bounds vulnerability has been identified in the Linux kernel's memory compaction code. This issue arises in the 'isolate_freepages_block()' function, where the compound_order can be manipulated to any value due to its union with flags. The vulnerability triggers a Undefined Behavior Sanitizer (UBSAN) warning. The warning has been addressed by reinstating a maximum page order check.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/10b7d3eb535098ccd4c82a182a33655d8a0e5c88 | kernel.org | Patch |
| https://git.kernel.org/stable/c/4491159774d973a9e2e998d25d8fbb20fada6dfa | kernel.org | Patch |
| https://git.kernel.org/stable/c/d1366e74342e75555af2648a2964deb2d5c92200 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.7, < 6.12.14 >= 6.13, < 6.13.3 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Oct 28, 2025 | Initial Analysis | [email protected] |
| Feb 27, 2025 | New CVE Received | kernel.org |