CVE-2026-99607
Linux kernel file size loss on crash in ext2 O_DSYNC writes
A local user can make O_DSYNC writes report success without storing the new file size, risking data loss on crash.
Texto original en inglés · Ver en español
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-99607 divulgada | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
In the Linux kernel, the following vulnerability has been resolved: ext2: preserve IOMAP_F_DIRTY for extending direct writes ext2_iomap_begin() sets IOMAP_F_DIRTY for writes that may extend i_size, but clears the flag after ext2_get_blocks(). When the write uses an existing mapped block, iomap can then use FUA and skip generic_write_sync(), even though ext2_dio_write_end_io() updates the inode size. An O_DSYNC write can therefore return without persisting the new size. For example, on a FUA-capable device, a 512-byte O_DIRECT|O_DSYNC write at offset 512 into a fsynced one-byte file returns successfully and extends the in-memory size to 1024, while an immediate read of the on-disk inode still shows size 1. An explicit fsync persists the new size. Move setting of IOMAP_F_DIRTY after the initialization.
Versiones afectadas
6.5Estado 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/45d79b40621212ae720d3712d36f31eb3ea1a2d5https://git.kernel.org/stable/c/6a5200c0f46ab94d0c29ff9934c81d0de6f7b47ahttps://git.kernel.org/stable/c/2e114662c376f5a5342f2f997c459971dbdf836bhttps://git.kernel.org/stable/c/4f91b042af212ca0b610e43f9a975ddc7f0d0923Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
