Saltar al contenido
DayZeroHub
Alta Sin redactarCVSS 7.8CVE-2026-99448

CVE-2026-99448: ufs: use u64 for directory size in ufs_last_byte

Linux Linux

Aviso preliminar: se publicó de inmediato con los datos originales de las fuentes, sin redacción editorial. En breve se reemplaza por una versión redactada y revisada.

Resumen

CVE-2026-99448: vulnerabilidad de severidad alta (CVSS 7.8) en Linux Linux.

Qué ocurre

Descripción original de la fuente (en inglés): In the Linux kernel, the following vulnerability has been resolved: ufs: use u64 for directory size in ufs_last_byte ufs1_read_inode() and ufs2_read_inode() copy the untrusted 64-bit on-disk size into inode->i_size. ufs_last_byte() then truncates that value to an unsigned int before calculating the valid extent of a directory folio. A directory size of exactly 4 GiB is truncated to zero. In ufs_find_entry(), subtracting the requested record length from that zero forms an endpoint almost 4 GiB beyond the mapped folio. A crafted UFS2 image produces: BUG: KASAN: use-after-free in ufs_find_entry+0x583/0x6e0 [ufs] Read of size 1 ... ufs_find_entry ufs_inode_by_name ufs_lookup __lookup_slow path_lookupat The KASAN classification reflects that the adjacent physical page was free; the source-level operation is an out-of-folio read. A controlled UFS1 test with CONFIG_UFS_FS_WRITE enabled also made ufs_find_entry() return a directory entry from an adjacent anonymous page. unlink() then passed that pointer to ufs_delete_entry(), which cleared the adjacent page's 3 2-bit d_ino. This write result reproduced three out of three times. UFS normally requires a privileged mount path. A relevant boundary is a privileged automounter or image-processing service handling an attacker-supplied filesystem. The write primitive additionally requires UFS1 to be mounted read-write with CONFIG_UFS_FS_WRITE enabled; the read is reachable with read-only UFS2. Keep the intermediate size arithmetic at 64 bits so non-final pages are bounded at PAGE_SIZE. With this change, the same controlled tests reach the real on-disk directory entry and produce no adjacent-page write or KASAN report. A reproducer and f…

Por qué importa

Severidad alta, CVSS 7.8.

Productos y versiones afectados

Linux Linux >= b71034e5e67d1577424cebe7bbb7d0ce134a4cd8, < c43f74f9a7418790f4e28bb94c1423be3ed6b22d; Linux Linux >= b71034e5e67d1577424cebe7bbb7d0ce134a4cd8, < 119344a21852412d867c499457b4111a0fb967f1; Linux Linux >= b71034e5e67d1577424cebe7bbb7d0ce134a4cd8, < 36b76a83cd622dfd52878c67437d6c3f55c44667; Linux Linux >= b71034e5e67d1577424cebe7bbb7d0ce134a4cd8, < 627b432794b1114ab2934f6ae6199d789842cb37; Linux Linux >= b71034e5e67d1577424cebe7bbb7d0ce134a4cd8, < ae50223c56b9a1c27d4f824c9e2fbbefc8686891; Linux Linux >= b71034e5e67d1577424cebe7bbb7d0ce134a4cd8, < c792858491ee39e8f6e1547c45422595cf25b415; Linux Linux >= b71034e5e67d1577424cebe7bbb7d0ce134a4cd8, < ac2859c61ecf52a9e39b44b35c981dbfeb8ad54b; Linux Linux >= b71034e5e67d1577424cebe7bbb7d0ce134a4cd8, < 1eff23433e73d7da4f9e3529d2701e34962b161f; Linux Linux 2.6.18; Linux Linux < 2.6.18; Linux Linux 5.10.275 (corregido en 5.10.275); Linux Linux 5.15.226 (corregido en 5.15.226)

ProductoVersionesCorregido en
Linux Linux>= b71034e5e67d1577424cebe7bbb7d0ce134a4cd8, < c43f74f9a7418790f4e28bb94c1423be3ed6b22d—
Linux Linux>= b71034e5e67d1577424cebe7bbb7d0ce134a4cd8, < 119344a21852412d867c499457b4111a0fb967f1—
Linux Linux>= b71034e5e67d1577424cebe7bbb7d0ce134a4cd8, < 36b76a83cd622dfd52878c67437d6c3f55c44667—
Linux Linux>= b71034e5e67d1577424cebe7bbb7d0ce134a4cd8, < 627b432794b1114ab2934f6ae6199d789842cb37—
Linux Linux>= b71034e5e67d1577424cebe7bbb7d0ce134a4cd8, < ae50223c56b9a1c27d4f824c9e2fbbefc8686891—
Linux Linux>= b71034e5e67d1577424cebe7bbb7d0ce134a4cd8, < c792858491ee39e8f6e1547c45422595cf25b415—
Linux Linux>= b71034e5e67d1577424cebe7bbb7d0ce134a4cd8, < ac2859c61ecf52a9e39b44b35c981dbfeb8ad54b—
Linux Linux>= b71034e5e67d1577424cebe7bbb7d0ce134a4cd8, < 1eff23433e73d7da4f9e3529d2701e34962b161f—
Linux Linux2.6.18—
Linux Linux< 2.6.18—
Linux Linux5.10.2755.10.275
Linux Linux5.15.2265.15.226
Linux Linux6.1.1936.1.193
Linux Linux6.6.1636.6.163
Linux Linux6.12.1176.12.117
Linux Linux6.18.616.18.61
Linux Linux7.3.27.3.2
Linux Linux7.4-rc17.4-rc1

Acción recomendada por la fuente

Actualizar a una versión corregida: 5.10.275, 5.15.226, 6.1.193, 6.12.117, 6.18.61, 6.6.163, 7.3.2, 7.4-rc1.

Corregido en: 5.10.275, 5.15.226, 6.1.193, 6.12.117, 6.18.61, 6.6.163, 7.3.2, 7.4-rc1

Información tomada de la fuente o del proveedor. Verificala en el enlace original antes de actuar.

Fuentes y referencias

Historial de cambios relevantes

  1. Publicado

    Aviso preliminar publicado.