llamaCVEVulnerability Intelligence
/
Linux kernel

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.

Specific setups onlySin parche publicadosmb
Descargar PNG JSON
CVSS 3.1
8.8
Alta
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Fuente: CNA
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición3 dDesde la divulgación, 16 nov 2026, 4:59 a. m.
Detección8 minDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Monitoreo
Detectada +2
Verificada
16 nov 26
19 nov 26
16 nov 26
17 nov 26
18 nov 26
19 nov 26
19 nov 26
FechaFaseEventoDetalle
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
Resumen
Resumen generado por IA · CC-BY 4.0 · 16 nov 2026

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.

¿Qué significa?chmod() can allocate too little memory for a security descriptor when the Owner and Group SIDs are compact or overlapping, so the kernel writes past the end of the buffer. The overflow can corrupt the adjacent slab object or crash the client, and the data written is server-controlled.
¿Quién está afectado?The bug applies to Linux kernel SMB client mounts that use the modefromsid or cifsacl option, and only when chmod() runs on a security descriptor with compact or overlapping Owner/Group SIDs or a dacloffset of 0. To check a mount, look at the options it was mounted with, such as in the output of mount for cifs filesystems.
¿Qué hacer?The checked facts do not name a fixed kernel version or vendor patch identifiers, so no upgrade target can be given from them. Consult the kernel fix commit or the vendor's advisory for the patched version.
no-patchThe checked facts do not describe a workaround. The affected behavior requires a modefromsid or cifsacl mount, so limiting use of those options is the only limit the facts point to.
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().

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Calling chmod() on a security descriptor with compact or overlapping Owner/Group SIDs, or dacloffset == 0.“calling chmod() under-allocates pnntsd and writes past”
02
The mount uses the modefromsid option.“On a modefromsid mount, copy_sec_desc() writes the group SID”
03
The mount uses the cifsacl option (as an alternative to modefromsid).“on a modefromsid or cifsacl mount”
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:R
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Versiones afectadas

3.8
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
Linux
Sin parche — — —
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Registro
EscenarioAV:N - chmod reaches id_mode_to_cifs_acl() from cifs_setattr_nounix() when ATTR_MODE is set. The buffer length is secdesclen from the descriptor get_smb2_acl() reads with SMB2_query_acl() (SMB2 QUERY_INFO, InfoType SMB2_O_INFO_SECURITY). The server places the compact or overlapping Owner and Group SIDs in that response, and SMB travels over routable TCP. AC:L - The server sets osidoffset, gsidoffset, dacloffset and the group SID num_subauth in that QUERY_INFO descriptor. On a modefromsid mount, copy_sec_desc() writes the group SID at sidsoffset+sizeof(struct smb_sid), past the chmod-branch kzalloc, and those server-chosen fields fully determine how far the write goes. PR:N - The attacker is the SMB server answering the client's SMB2_query_acl() during setattr. No client uid, capability, or credential is consulted before copy_sec_desc() consumes that descriptor. UI:R - The chmod branch of id_mode_to_cifs_acl() runs only from cifs_setattr_nounix() with ATTR_MODE, which is chmod(2)/fchmod(2) or a write that must push a cleared S_ISUID/S_ISGID mode on a modefromsid or cifsacl mount. A user of the mount has to perform that setattr. S:U - The overflowed object is the pnntsd slab buffer allocated in the client kernel while rewriting this mount's ACL, so the corruption remains in the client's own kernel security authority. C:H - copy_sec_desc() stores nsecdesclen as sidsoffset plus two struct smb_sid and writes the group SID past the chmod kzalloc. SMB2_set_info_init() then memcpy()s that length from pnntsd into the SMB2 SET_INFO request, so bytes beyond the allocation are both overwritten and returned to the server. I:H - The bytes written past pnntsd are the group SID sub_auth values taken from the server descriptor, and the server picks the DACL length that sets the kzalloc size. That is a controlled slab overflow in copy_sec_desc() into whatever object follows pnntsd. A:H - The slab-out-of-bounds write in copy_sec_desc() extends past the pnntsd object allocated by id_mode_to_cifs_acl(). Crossing that object faults or corrupts the next slab slot and crashes the client.Linux
Referencias
Otrahttps://git.kernel.org/stable/c/cde80904e285a7ac29ba2e06bc23a60b09b05f54
Otrahttps://git.kernel.org/stable/c/ba57bfe1a9fa1566757cd3f3310ccdf88f4b7673
Otrahttps://git.kernel.org/stable/c/be1bcc9147facd85dc2ebe48688afde6d5590f10
Otrahttps://git.kernel.org/stable/c/a377a3645c7d0246af0bc4ef24db94bb2670bdde

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.