CVE-2025-21815
mm/compaction: fix UBSAN shift-out-of-bounds warning
Reported by linux · Published February 27, 2025
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.
EPSS 0.19% · 9.2th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.14, 6.13.3, 6.12.14 |
| Linux | Linux | d1366e74342e75555af2648a2964deb2d5c92200, 6.7, 4491159774d973a9e2e998d25d8fbb20fada6dfa, 10b7d3eb535098ccd4c82a182a33655d8a0e5c88 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 3da0272a4c7d0d37b47b28e87014f421296fc2be, 3da0272a4c7d0d37b47b28e87014f421296fc2be, 3da0272a4c7d0d37b47b28e87014f421296fc2be |
| Linux | Linux | 6.7, 0, 6.12.14 |
| linux | linux_kernel | 6.7, 6.7, 6.7 |
| Linux | Linux | 3da0272a4c7d0d37b47b28e87014f421296fc2be, 3da0272a4c7d0d37b47b28e87014f421296fc2be, 6.7 |
Timeline
- Feb 27, 2025 CVE Published
- Feb 28, 2025 EPSS Score (30 in total, the first dated here)
- Feb 28, 2025 Coalition ESS Score (10 in total, the first dated here)
- Dec 22, 2025 Security Advisory (91 in total, the first dated here)
- Oct 20, 2026 Distribution Patch (88 in total, the first dated here)
- Nov 9, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-21815
vulnetix vdb fixes CVE-2025-21815
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-21815/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart