CVE-2025-21815
JSON

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 packageVersionsReported by
Linux Linuxfrom 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_kernelfrom 6.7 before 6.12.14, from 6.13 before 6.13.3NVD

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 &lt;&lt; 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

SourceRecordLicence
CVE ListCVE-2025-21815 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-21815 changed 2026-06-17Public domain