Vulnerabilidad en Linux (CVE-2025-71105)
Gravedad CVSS v3.1:
MEDIA
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
14/01/2026
Última modificación:
25/03/2026
Descripción
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:<br />
<br />
f2fs: usar inline_xattr_slab global en lugar de caché de slab por sb<br />
<br />
Como Hong Yun informó en la lista de correo:<br />
<br />
loop7: capacidad detectada cambió de 0 a 131072<br />
------------[ cortar aquí ]------------<br />
kmem_cache de nombre &#39;f2fs_xattr_entry-7:7&#39; ya existe<br />
Advertencia: CPU: 0 PID: 24426 en mm/slab_common.c:110 kmem_cache_sanity_check mm/slab_common.c:109 [inline]<br />
Advertencia: CPU: 0 PID: 24426 en mm/slab_common.c:110 __kmem_cache_create_args+0xa6/0x320 mm/slab_common.c:307<br />
CPU: 0 UID: 0 PID: 24426 Comm: syz.7.1370 No contaminado 6.17.0-rc4 #1 PREEMPT(full)<br />
Nombre del hardware: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.13.0-1ubuntu1.1 04/01/2014<br />
RIP: 0010:kmem_cache_sanity_check mm/slab_common.c:109 [inline]<br />
RIP: 0010:__kmem_cache_create_args+0xa6/0x320 mm/slab_common.c:307<br />
Traza de llamada:<br />
&#xa0;__kmem_cache_create include/linux/slab.h:353 [inline]<br />
&#xa0;f2fs_kmem_cache_create fs/f2fs/f2fs.h:2943 [inline]<br />
&#xa0;f2fs_init_xattr_caches+0xa5/0xe0 fs/f2fs/xattr.c:843<br />
&#xa0;f2fs_fill_super+0x1645/0x2620 fs/f2fs/super.c:4918<br />
&#xa0;get_tree_bdev_flags+0x1fb/0x260 fs/super.c:1692<br />
&#xa0;vfs_get_tree+0x43/0x140 fs/super.c:1815<br />
&#xa0;do_new_mount+0x201/0x550 fs/namespace.c:3808<br />
&#xa0;do_mount fs/namespace.c:4136 [inline]<br />
&#xa0;__do_sys_mount fs/namespace.c:4347 [inline]<br />
&#xa0;__se_sys_mount+0x298/0x2f0 fs/namespace.c:4324<br />
&#xa0;do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]<br />
&#xa0;do_syscall_64+0x8e/0x3a0 arch/x86/entry/syscall_64.c:94<br />
&#xa0;entry_SYSCALL_64_after_hwframe+0x76/0x7e<br />
<br />
El error puede ser reproducido con los siguientes scripts:<br />
- mount /dev/vdb /mnt1<br />
- mount /dev/vdc /mnt2<br />
- umount /mnt1<br />
- mounnt /dev/vdb /mnt1<br />
<br />
La razón es si creamos dos cachés de slab, llamadas f2fs_xattr_entry-7:3 y f2fs_xattr_entry-7:7, y tienen el mismo tamaño de slab. En realidad, el sistema de slab solo creará una estructura central de caché de slab que tiene el nombre de slab "f2fs_xattr_entry-7:3", y dos cachés de slab comparten la misma estructura y dirección de caché.<br />
<br />
Entonces, si destruimos la caché f2fs_xattr_entry-7:3 con la dirección de caché, disminuirá el conteo de referencias de la caché de slab, en lugar de liberar la caché de slab por completo, ya que hay un usuario más que ha referenciado la caché.<br />
<br />
Luego, si intentamos crear la caché de slab con el nombre "f2fs_xattr_entry-7:3" nuevamente, el sistema de slab encontrará que existe una caché que tiene el mismo nombre y activará la advertencia.<br />
<br />
Cambiemos para usar inline_xattr_slab global en lugar de caché de slab por sb para la corrección.
Impacto
Puntuación base 3.x
5.50
Gravedad 3.x
MEDIA
Productos y versiones vulnerables
| CPE | Desde | Hasta |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.7.1 (incluyendo) | 5.10.248 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.11 (incluyendo) | 5.15.198 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.16 (incluyendo) | 6.1.160 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.2 (incluyendo) | 6.6.120 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (incluyendo) | 6.12.64 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.13 (incluyendo) | 6.18.3 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:5.7:-:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.19:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.19:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.19:rc3:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.19:rc4:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.19:rc5:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.19:rc6:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.19:rc7:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.19:rc8:*:*:*:*:*:* |
Para consultar la lista completa de nombres de CPE con productos y versiones, ver esta página
Referencias a soluciones, herramientas e información
- https://git.kernel.org/stable/c/1eb0b130196bcbc56c5c80c83139fa70c0aa82c5
- https://git.kernel.org/stable/c/1f27ef42bb0b7c0740c5616ec577ec188b8a1d05
- https://git.kernel.org/stable/c/474cc3ed37436ddfd63cac8dbffe3b1e219e9100
- https://git.kernel.org/stable/c/72ce19dfed162da6e430467333b2da70471d08a4
- https://git.kernel.org/stable/c/93d30fe19660dec6bf1bd3d5c186c1c737b21aa5
- https://git.kernel.org/stable/c/be4c3a3c6c2304a8fcd14095d18d26f0cc4e222a
- https://git.kernel.org/stable/c/e6d828eae00ec192e18c2ddaa2fd32050a96048a



