{"id":"CVE-2025-21815","aliases":["CVE-2025-21815"],"related":[],"kind":"vulnerability","state":"published","title":"mm/compaction: fix UBSAN shift-out-of-bounds warning","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/compaction: fix UBSAN shift-out-of-bounds warning\n\nsyzkaller reported a UBSAN shift-out-of-bounds warning of (1UL << order)\nin isolate_freepages_block().  The bogus compound_order can be any value\nbecause it is union with flags.  Add back the MAX_PAGE_ORDER check to fix\nthe warning.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/compaction: fix UBSAN shift-out-of-bounds warning\n\nsyzkaller reported a UBSAN shift-out-of-bounds warning of (1UL << order)\nin isolate_freepages_block().  The bogus compound_order can be any value\nbecause it is union with flags.  Add back the MAX_PAGE_ORDER check to fix\nthe warning.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-02-27T20:04:14.733Z","modified":"2026-06-17T08:44:21.663Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"git","introduced":"3da0272a4c7d0d37b47b28e87014f421296fc2be","fixed":"4491159774d973a9e2e998d25d8fbb20fada6dfa","status":"affected"},{"type":"git","introduced":"3da0272a4c7d0d37b47b28e87014f421296fc2be","fixed":"10b7d3eb535098ccd4c82a182a33655d8a0e5c88","status":"affected"},{"type":"git","introduced":"3da0272a4c7d0d37b47b28e87014f421296fc2be","fixed":"d1366e74342e75555af2648a2964deb2d5c92200","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.7","status":"unaffected"},{"type":"semver","introduced":"6.12.14","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.13.3","lastAffected":"6.13.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.14","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.7","fixed":"6.12.14"},{"status":"affected","introduced":"6.13","fixed":"6.13.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/4491159774d973a9e2e998d25d8fbb20fada6dfa","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/10b7d3eb535098ccd4c82a182a33655d8a0e5c88","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d1366e74342e75555af2648a2964deb2d5c92200","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-21815","url":"https://www.cve.org/CVERecord?id=CVE-2025-21815","licence":"CVE Terms of Use","modified":"2026-05-11T21:07:04.528Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-21815","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21815","licence":"Public domain","modified":"2026-06-17T08:44:21.663Z"}],"updatedAt":"2026-11-25T22:58:54.619Z","epss":{"score":0.00195,"percentile":0.0962,"date":"2026-12-01T12:00:22.000Z"}}