{"id":"CVE-2026-43365","aliases":["CVE-2026-43365"],"related":[],"kind":"vulnerability","state":"published","title":"xfs: fix undersized l_iclog_roundoff values","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: fix undersized l_iclog_roundoff values\n\nIf the superblock doesn't list a log stripe unit, we set the incore log\nroundoff value to 512.  This leads to corrupt logs and unmountable\nfilesystems in generic/617 on a disk with 4k physical sectors...\n\nXFS (sda1): Mounting V5 Filesystem ff3121ca-26e6-4b77-b742-aaff9a449e1c\nXFS (sda1): Torn write (CRC failure) detected at log block 0x318e. Truncating head block from 0x3197.\nXFS (sda1): failed to locate log tail\nXFS (sda1): log mount/recovery failed: error -74\nXFS (sda1): log mount failed\nXFS (sda1): Mounting V5 Filesystem ff3121ca-26e6-4b77-b742-aaff9a449e1c\nXFS (sda1): Ending clean mount\n\n...on the current xfsprogs for-next which has a broken mkfs.  xfs_info\nshows this...\n\nmeta-data=/dev/sda1              isize=512    agcount=4, agsize=644992 blks\n         =                       sectsz=4096  attr=2, projid32bit=1\n         =                       crc=1        finobt=1, sparse=1, rmapbt=1\n         =                       reflink=1    bigtime=1 inobtcount=1 nrext64=1\n         =                       exchange=1   metadir=1\ndata     =                       bsize=4096   blocks=2579968, imaxpct=25\n         =                       sunit=0      swidth=0 blks\nnaming   =version 2              bsize=4096   ascii-ci=0, ftype=1, parent=1\nlog      =internal log           bsize=4096   blocks=16384, version=2\n         =                       sectsz=4096  sunit=0 blks, lazy-count=1\nrealtime =none                   extsz=4096   blocks=0, rtextents=0\n         =                       rgcount=0    rgsize=268435456 extents\n         =                       zoned=0      start=0 reserved=0\n\n...observe that the log section has sectsz=4096 sunit=0, which means\nthat the roundoff factor is 512, not 4096 as you'd expect.  We should\nfix mkfs not to generate broken filesystems, but anyone can fuzz the\nondisk superblock so we should be more cautious.  I think the inadequate\nlogic predates commit a6a65fef5ef8d0, but that's clearly going to\nrequire a different backport.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: fix undersized l_iclog_roundoff values\n\nIf the superblock doesn't list a log stripe unit, we set the incore log\nroundoff value to 512.  This leads to corrupt logs and unmountable\nfilesystems in generic/617 on a disk with 4k physical sectors...\n\nXFS (sda1): Mounting V5 Filesystem ff3121ca-26e6-4b77-b742-aaff9a449e1c\nXFS (sda1): Torn write (CRC failure) detected at log block 0x318e. Truncating head block from 0x3197.\nXFS (sda1): failed to locate log tail\nXFS (sda1): log mount/recovery failed: error -74\nXFS (sda1): log mount failed\nXFS (sda1): Mounting V5 Filesystem ff3121ca-26e6-4b77-b742-aaff9a449e1c\nXFS (sda1): Ending clean mount\n\n...on the current xfsprogs for-next which has a broken mkfs.  xfs_info\nshows this...\n\nmeta-data=/dev/sda1              isize=512    agcount=4, agsize=644992 blks\n         =                       sectsz=4096  attr=2, projid32bit=1\n         =                       crc=1        finobt=1, sparse=1, rmapbt=1\n         =                       reflink=1    bigtime=1 inobtcount=1 nrext64=1\n         =                       exchange=1   metadir=1\ndata     =                       bsize=4096   blocks=2579968, imaxpct=25\n         =                       sunit=0      swidth=0 blks\nnaming   =version 2              bsize=4096   ascii-ci=0, ftype=1, parent=1\nlog      =internal log           bsize=4096   blocks=16384, version=2\n         =                       sectsz=4096  sunit=0 blks, lazy-count=1\nrealtime =none                   extsz=4096   blocks=0, rtextents=0\n         =                       rgcount=0    rgsize=268435456 extents\n         =                       zoned=0      start=0 reserved=0\n\n...observe that the log section has sectsz=4096 sunit=0, which means\nthat the roundoff factor is 512, not 4096 as you'd expect.  We should\nfix mkfs not to generate broken filesystems, but anyone can fuzz the\nondisk superblock so we should be more cautious.  I think the inadequate\nlogic predates commit a6a65fef5ef8d0, but that's clearly going to\nrequire a different backport.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nxfs: solución para valores l_iclog_roundoff de tamaño insuficiente\n\nSi el superbloque no lista una unidad de franja de registro, establecemos el valor de redondeo del registro en memoria a 512. Esto lleva a registros corruptos y sistemas de archivos no montables en generic/617 en un disco con sectores físicos de 4k...\n\nXFS (sda1): Montando sistema de archivos V5 ff3121ca-26e6-4b77-b742-aaff9a449e1c\nXFS (sda1): Escritura dividida (fallo de CRC) detectada en el bloque de registro 0x 318e. Truncando el bloque de cabecera desde 0x 3197.\nXFS (sda1): falló al localizar la cola del registro\nXFS (sda1): montaje/recuperación del registro falló: error -74\nXFS (sda1): montaje del registro falló\nXFS (sda1): Montando sistema de archivos V5 ff3121ca-26e6-4b77-b742-aaff9a449e1c\nXFS (sda1): Finalizando montaje limpio\n\n...en el actual xfsprogs for-next que tiene un mkfs roto. xfs_info muestra esto...\n\nmeta-data=/dev/sda1              isize=512    agcount=4, agsize=644992 blks\n         =                       sectsz=4096  attr=2, projid32bit=1\n         =                       crc=1        finobt=1, sparse=1, rmapbt=1\n         =                       reflink=1    bigtime=1 inobtcount=1 nrext64=1\n         =                       exchange=1   metadir=1\ndata     =                       bsize=4096   blocks=2579968, imaxpct=25\n         =                       sunit=0      swidth=0 blks\nnaming   =version 2              bsize=4096   ascii-ci=0, ftype=1, parent=1\nlog      =internal log           bsize=4096   blocks=16384, version=2\n         =                       sectsz=4096  sunit=0 blks, lazy-count=1\nrealtime =none                   extsz=4096   blocks=0, rtextents=0\n         =                       rgcount=0    rgsize=268435456 extents\n         =                       zoned=0      start=0 reserved=0\n\n...observe que la sección de registro tiene sectsz=4096 sunit=0, lo que significa que el factor de redondeo es 512, no 4096 como se esperaría. Deberíamos arreglar mkfs para no generar sistemas de archivos rotos, pero cualquiera puede fuzzear el superbloque en disco, así que deberíamos ser más cautelosos. Creo que la lógica inadecuada es anterior al commit a6a65fef5ef8d0, pero eso claramente requerirá un backport diferente.","source":"nvd"}],"published":"2026-05-08T14:21:18.405Z","modified":"2026-11-11T20:10:00.273Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","score":8.2,"rating":"HIGH"}],"cwes":["CWE-20"],"affected":[{"ranges":[{"type":"git","introduced":"a6a65fef5ef8d0a6a0ce514eb66b2f3dfa777b48","fixed":"5afae524f83d6a18517298491a5624cb0eae5029","status":"affected"},{"type":"git","introduced":"a6a65fef5ef8d0a6a0ce514eb66b2f3dfa777b48","fixed":"2ecda4b83749c1fef0c9dea4fd5e8b513aba3e40","status":"affected"},{"type":"git","introduced":"a6a65fef5ef8d0a6a0ce514eb66b2f3dfa777b48","fixed":"41e91dff2d3974730b5ee50daa8e27ec254cbf91","status":"affected"},{"type":"git","introduced":"a6a65fef5ef8d0a6a0ce514eb66b2f3dfa777b48","fixed":"e88ce9f0536f3b2149afb70625cfc4bd74a4ac6d","status":"affected"},{"type":"git","introduced":"a6a65fef5ef8d0a6a0ce514eb66b2f3dfa777b48","fixed":"446a1f5bb64ba38adb93cb043ff0f7b85e8937ca","status":"affected"},{"type":"git","introduced":"a6a65fef5ef8d0a6a0ce514eb66b2f3dfa777b48","fixed":"5e7148402dfc4a5b7894d8e97b15e5c2e70924aa","status":"affected"},{"type":"git","introduced":"a6a65fef5ef8d0a6a0ce514eb66b2f3dfa777b48","fixed":"52a8a1ba883defbfe3200baa22cf4cd21985d51a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.14","status":"unaffected"},{"type":"semver","introduced":"5.15.203","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.167","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.130","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.78","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.19","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.9","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.14","fixed":"5.15.203"},{"status":"affected","introduced":"5.16","fixed":"6.1.167"},{"status":"affected","introduced":"6.2","fixed":"6.6.130"},{"status":"affected","introduced":"6.7","fixed":"6.12.78"},{"status":"affected","introduced":"6.13","fixed":"6.18.19"},{"status":"affected","introduced":"6.19","fixed":"6.19.9"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/5afae524f83d6a18517298491a5624cb0eae5029","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2ecda4b83749c1fef0c9dea4fd5e8b513aba3e40","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/41e91dff2d3974730b5ee50daa8e27ec254cbf91","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e88ce9f0536f3b2149afb70625cfc4bd74a4ac6d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/446a1f5bb64ba38adb93cb043ff0f7b85e8937ca","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5e7148402dfc4a5b7894d8e97b15e5c2e70924aa","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/52a8a1ba883defbfe3200baa22cf4cd21985d51a","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-16T15:16:43.929Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43365","url":"https://www.cve.org/CVERecord?id=CVE-2026-43365","licence":"CVE Terms of Use","modified":"2026-10-19T19:16:27.470Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43365","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43365","licence":"Public domain","modified":"2026-11-11T20:10:00.273Z"}],"updatedAt":"2026-11-25T22:59:21.031Z","epss":{"score":0.00506,"percentile":0.44796,"date":"2026-12-02T12:00:21.000Z"}}