CVE-2025-38415Linux Kernel
Alta 7.8
Seguir: esta CVE · Linux · Linux Kernel Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 47
- CVSS 3.1
- 7.8
- EPSS
- —
- Requiere autenticación
- Sí
- Publicada
- 25 jul 2025
- Actualizada
- 18 jun 2026
- Categoría
- Sistema operativo · Linux
- Debilidad (CWE)
- CWE-787
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Qué pasa
In the Linux kernel, the following vulnerability has been resolved:
Squashfs: check return result of sb_min_blocksize
Syzkaller reports an "UBSAN: shift-out-of-bounds in squashfs_bio_read" bug.
Syzkaller forks multiple processes which after mounting the Squashfs
filesystem, issues an ioctl("/dev/loop0", LOOP_SET_BLOCK_SIZE, 0x8000).
Now if this ioctl occurs at the same time another process is in the
process of mounting a Squashfs filesystem on /dev/loop0, the failure
occurs. When this happens the following code in squashfs_fill_super()
fails.
----
msblk->devblksize = sb_min_blocksize(sb, SQUASHFS_DEVBLK_SIZE);
msblk->devblksize_log2 = ffz(~msblk->devblksize);
----
sb_min_blocksize() returns 0, which means msblk->devblksize is set to 0.
As a result, ffz(~msblk->devblksize) returns 64, and msblk->devblksize_log2
is set to 64.
This subsequently causes the
UBSAN: shift-out-of-bounds in fs/squashfs/block.c:195:36
shift exponent 64 is too large for 64-bit type 'u64' (aka
'unsigned long long')
This commit adds a check for a 0 return by sb_min_blocksize().
Qué hacer
- Aplica la actualización de seguridad del fabricante para Linux Kernel.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| linux | linux_kernel | ≥ 2.6.29 < 5.4.295 |
| linux | linux_kernel | ≥ 5.5 < 5.10.239 |
| linux | linux_kernel | ≥ 5.11 < 5.15.186 |
| linux | linux_kernel | ≥ 5.16 < 6.1.142 |
| linux | linux_kernel | ≥ 6.2 < 6.6.94 |
| linux | linux_kernel | ≥ 6.7 < 6.12.34 |
| linux | linux_kernel | ≥ 6.13 < 6.15.3 |
| debian | debian_linux | 11.0 |
Boletines oficiales
- Red Hat Security Advisory: kernel security update · Red Hat · RHSA-2026:3685 · 4 mar 2026 Alta
- Red Hat Security Advisory: kernel-rt security update · Red Hat · RHSA-2026:3634 · 3 mar 2026 Alta
- Red Hat Security Advisory: kernel security update · Red Hat · RHSA-2026:3579 · 3 mar 2026 Media
Además: Red Hat (+14)
Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory