Amenazas en vivo

Todas las CVE / Linux

CVE-2026-89713Linux

Condición de carrera en verificación de permisos de truncado en NFSD del kernel…

Crítica 9.1 Sin autenticación

Prioridad
70
CVSS 3.1
9.1
EPSS
—
Requiere autenticación
No
Publicada
11 sep 2026
Actualizada
30 oct 2026
Categoría
Aplicación · Multiplataforma
SSVC (CISA)
Explotación: ninguna · Automatizable: sí · Impacto técnico: parcial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Qué pasa

Una condición de carrera (TOCTOU) en la función nfsd_setattr() del kernel Linux permite a un atacante remoto sin autenticación eludir las restricciones de archivos de solo-anexión (append-only) y truncar archivos sin autorización. La vulnerabilidad ocurre porque la verificación de permisos se realiza antes de adquirir el bloqueo del inodo, permitiendo que una operación de anexión concurrente extienda el archivo entre la verificación y la aplicación del truncado.

Ver el texto original de NVD (en inglés)

In the Linux kernel, the following vulnerability has been resolved: NFSD: check truncate permission under inode lock nfsd_setattr() checks whether a size update needs NFSD_MAY_TRUNC before it takes inode_lock(). The comparison uses the file size sampled by that unlocked read, but the actual ATTR_SIZE update is applied later under inode_lock() by notify_change(). This leaves a TOCTOU window for append-only files. If a client sends a SETATTR that does not shrink the file at the time of the unlocked sample, a concurrent append can extend the file before nfsd_setattr() takes inode_lock(). notify_change() then applies a real truncation without the NFSD_MAY_TRUNC check that rejects IS_APPEND(inode). The VFS truncate syscall paths perform their own append-only checks before calling notify_change(), so NFSD must make this decision against the locked size it is about to change. Split the write-count acquisition from the truncation permission check. Keep get_write_access() before the locked setattr work, then recheck whether the requested size is below i_size_read(inode) after inode_lock() has been acquired and before notify_change(ATTR_SIZE). This also avoids the plain unlocked inode->i_size load.

Texto de la fuente, sin modificar. NVD.

Qué hacer

Hay parche

Actualiza el kernel Linux a una versión que incluya el parche que reordena la verificación de permisos de truncado después de adquirir el bloqueo del inodo.

Aviso del fabricante · git.kernel.org ↗

  1. Aplica la actualización de seguridad del fabricante para Linux.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Productos afectados

Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.

Boletines oficiales

Además: SUSE (+12)

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.