Linux
mm/compaction: fix UBSAN shift-out-of-bounds warning
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 3da0272a4c7d0d37b47b28e87014f421296fc2be, < 4491159774d973a9e2e998d25d8fbb20fada6dfa
- >= 3da0272a4c7d0d37b47b28e87014f421296fc2be, < 10b7d3eb535098ccd4c82a182a33655d8a0e5c88
- >= 3da0272a4c7d0d37b47b28e87014f421296fc2be, < d1366e74342e75555af2648a2964deb2d5c92200
Fixed in 4491159774d973a9e2e998d25d8fbb20fada6dfa, 10b7d3eb535098ccd4c82a182a33655d8a0e5c88, d1366e74342e75555af2648a2964deb2d5c92200
- 6.7
Fixed in 0, 6.12.14, 6.13.3, 6.14
Mitigation
Upgrade Linux to 4491159774d973a9e2e998d25d8fbb20fada6dfa or 10b7d3eb535098ccd4c82a182a33655d8a0e5c88 or d1366e74342e75555af2648a2964deb2d5c92200 or later.
Upgrade Linux to 0 or 6.12.14 or 6.13.3 or 6.14 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.