CVE-2026-99295
Linux kernel use-after-free in SMB client read handling
A malicious SMB server could trigger access to freed memory, potentially crashing the system or corrupting data.
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-99295 divulgada | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Monitoreo | Fuente: ENISA EUVD | Registro visto por primera vez en ENISA EUVD | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
In the Linux kernel's SMB client, a read response can keep being processed after a socket receive error, which can touch memory that has already been freed (a use-after-free). The fix makes the client return the socket error immediately.
Descripción original del registro (Linux)
In the Linux kernel, the following vulnerability has been resolved: smb: client: stop processing a read response after a receive error cifs_read_iter_from_socket() may call cifs_reconnect() before returning an error. The reconnect path aborts pending mids and invokes their callbacks. The callback can then release the cifs_io_subrequest containing rdata. cifs_readv_receive() nevertheless continues after a negative return and may dereference rdata in cifs_readv_discard(). KASAN reports the resulting UAF: BUG: KASAN: slab-use-after-free in cifs_readv_receive Read of size 4 by task cifsd cifs_readv_receive (fs/smb/client/transport.c:1284) cifs_demultiplex_thread (fs/smb/client/connect.c:1355) kthread (kernel/kthread.c:436) ret_from_fork (arch/x86/kernel/process.c:158) Freed by task 148: netfs_put_subrequest (fs/netfs/objects.c:267) netfs_read_collection (fs/netfs/read_collect.c:460) netfs_wait_for_in_progress (fs/netfs/misc.c:462) Return the socket error immediately, as this path did before the iterator conversion. This also avoids adding a negative length to total_read.
Versiones afectadas
6.3Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Linux |
Sin parche | — | — | — |
Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://git.kernel.org/stable/c/af78baeacd731a98531eaa3103bfe03f147cffb7https://git.kernel.org/stable/c/ecc327edd96a65ac177379664cc0972d8a23dfa4https://git.kernel.org/stable/c/558cb79cb242ce7ca8b32c4b39412d125879e8f2https://git.kernel.org/stable/c/51efca72345acdbedc4af76782d464bd15ba50ffLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
