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

CVE-2026-99395: xfs: bound inode fork length against the fork size during log recovery

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-99395: 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: xfs: bound inode fork length against the fork size during log recovery xlog_recover_inode_commit_pass2() copies an inode log item's data/attr fork region into the inode buffer using the on-log region length without bounding it against the fork capacity, e.g.: len = item->ri_buf[2].iov_len; memcpy(XFS_DFORK_DPTR(dip), src, len); The only guard is an ASSERT, which is a no-op on production kernels (CONFIG_XFS_DEBUG off), and xfs_dinode_verify() runs only after the copy. A crafted image with a dirty log can therefore drive a heap out-of-bounds write at mount time. The XFS_ILOG_DBROOT sibling already passes XFS_DFORK_DSIZE as a bound; the DDATA/DEXT and ADATA/AEXT memcpy paths did not. Bound each logged fork region against the destination fork size before copying it, and reject the log item with -EFSCORRUPTED when it does not fit. Because the recovered inode is only verified after the fork data has been copied in, the checks are done up front, before any memcpy into the on-disk inode.

Por qué importa

Severidad alta, CVSS 7.8.

Productos y versiones afectados

Linux Linux >= 658fa68b6f34f73c7e4023489accd34c1db91cb1, < 738959d93ca51be0d9d3d15f9b5b84ac4d39fe8a; Linux Linux >= 658fa68b6f34f73c7e4023489accd34c1db91cb1, < f9827d457addf4a7fb089124fff01f10de83d557; Linux Linux >= 658fa68b6f34f73c7e4023489accd34c1db91cb1, < 287bb7a11fe1053d78172f874e16873d4b20d6e5; Linux Linux >= 658fa68b6f34f73c7e4023489accd34c1db91cb1, < af559d87fdd921b90c86125f78d8b97d754432dd; Linux Linux >= 658fa68b6f34f73c7e4023489accd34c1db91cb1, < f2cc5001ffcc1d8e5e16607ce4b6920ea30c2cfe; Linux Linux >= 658fa68b6f34f73c7e4023489accd34c1db91cb1, < e2768e65a5f2f942c831e3df3b06ad7332d423e6; Linux Linux >= 658fa68b6f34f73c7e4023489accd34c1db91cb1, < 9232301894a06e664d8de2da97175cf98419bd16; Linux Linux 5.8; Linux Linux < 5.8; Linux Linux 5.15.226 (corregido en 5.15.226); Linux Linux 6.1.193 (corregido en 6.1.193); Linux Linux 6.6.163 (corregido en 6.6.163)

ProductoVersionesCorregido en
Linux Linux>= 658fa68b6f34f73c7e4023489accd34c1db91cb1, < 738959d93ca51be0d9d3d15f9b5b84ac4d39fe8a—
Linux Linux>= 658fa68b6f34f73c7e4023489accd34c1db91cb1, < f9827d457addf4a7fb089124fff01f10de83d557—
Linux Linux>= 658fa68b6f34f73c7e4023489accd34c1db91cb1, < 287bb7a11fe1053d78172f874e16873d4b20d6e5—
Linux Linux>= 658fa68b6f34f73c7e4023489accd34c1db91cb1, < af559d87fdd921b90c86125f78d8b97d754432dd—
Linux Linux>= 658fa68b6f34f73c7e4023489accd34c1db91cb1, < f2cc5001ffcc1d8e5e16607ce4b6920ea30c2cfe—
Linux Linux>= 658fa68b6f34f73c7e4023489accd34c1db91cb1, < e2768e65a5f2f942c831e3df3b06ad7332d423e6—
Linux Linux>= 658fa68b6f34f73c7e4023489accd34c1db91cb1, < 9232301894a06e664d8de2da97175cf98419bd16—
Linux Linux5.8—
Linux Linux< 5.8—
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.15.226, 6.1.193, 6.12.117, 6.18.61, 6.6.163, 7.3.2, 7.4-rc1.

Corregido en: 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.