CVE-2026-99292
Linux kernel out-of-bounds write in SMB client ACL translation
An attacker can corrupt kernel memory through a crafted SMB security descriptor during chmod() calls.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-99292 divulgada · CVSS 8.8 (CNA) | |
| 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 | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
The Linux kernel's SMB client has a slab out-of-bounds write in `id_mode_to_cifs_acl()`. When `chmod()` runs on a security descriptor with compact or overlapping Owner/Group SIDs or a zero DACL offset, the buffer is too small and the write goes past its end.
Affects the Linux kernel SMB client on mounts using the modefromsid or cifsacl option, when chmod() is called on a security descriptor with compact or overlapping Owner/Group SIDs. CVSS scores it 8.8 (high); no vendor rating is given.
Descripción original del registro (Linux)
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix slab-out-of-bounds write in id_mode_to_cifs_acl() In id_mode_to_cifs_acl(), while the chown branch reserves sizeof(struct smb_ntsd) + 2 * sizeof(struct smb_sid) (plus sizeof(struct smb_acl) and the worst-case ACE space after commit 0ee150794c75 ("smb: client: fix heap overflow in DACL owner/group rewrite")), the chmod branch only adds 2 * sizeof(struct smb_ace) or 5 * sizeof(struct smb_ace) to secdesclen (or 1 * sizeof(struct smb_ace) on posix). However, the chmod branch also invokes build_sec_desc() -> copy_sec_desc(), which unconditionally writes the Owner SID at pnntsd + sidsoffset and the Group SID at pnntsd + sidsoffset + sizeof(struct smb_sid) (2 * 68 = 136 bytes total), and set_chmod_dacl() always writes a struct smb_acl header (8 bytes) even when the source descriptor has dacloffset == 0. When a security descriptor has compact or overlapping Owner/Group SIDs (or dacloffset == 0), calling chmod() under-allocates pnntsd and writes past the end of the slab buffer. Reserve sizeof(struct smb_acl) + 2 * sizeof(struct smb_sid) (plus sizeof(struct smb_ntsd) on the posix path) in the chmod branch of id_mode_to_cifs_acl().
Condiciones y alcance
Desglose de métricas
Versiones afectadas
3.8Estado 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/cde80904e285a7ac29ba2e06bc23a60b09b05f54https://git.kernel.org/stable/c/ba57bfe1a9fa1566757cd3f3310ccdf88f4b7673https://git.kernel.org/stable/c/be1bcc9147facd85dc2ebe48688afde6d5590f10https://git.kernel.org/stable/c/a377a3645c7d0246af0bc4ef24db94bb2670bddeLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
