7.1high
mm/compaction: fix UBSAN shift-out-of-bounds warning
- Severity
- 7.1high CVSS:3.1 by NVD
- Exploit likelihood
- 0.19% (higher than 9% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 3da0272a4c7d0d37b47b28e87014f421296fc2be before 4491159774d973a9e2e998d25d8fbb20fada6dfa, from 3da0272a4c7d0d37b47b28e87014f421296fc2be before 10b7d3eb535098ccd4c82a182a33655d8a0e5c88, from 3da0272a4c7d0d37b47b28e87014f421296fc2be before d1366e74342e75555af2648a2964deb2d5c92200, 6.7 Not affected: before 6.7, from 6.12.14 up to 6.12.*, from 6.13.3 up to 6.13.*, from 6.14 up to * | CVE List |
| linux linux_kernel | from 6.7 before 6.12.14, from 6.13 before 6.13.3 | NVD |
Classification
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: mm/compaction: se corrige la advertencia de cambio fuera de los límites de UBSAN syzkaller informó una advertencia de cambio fuera de los límites de UBSAN de (1UL << order) en isolate_freepages_block(). El compuesto falso puede ser cualquier valor porque es una unión con indicadores. Vuelva a agregar la verificación MAX_PAGE_ORDER para corregir la advertencia.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-21815 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2025-21815 changed 2026-06-17 | Public domain |