CVE-2026-99394: xfs: complain loudly when dirtree checker finds broken links
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
xfs: complain loudly when dirtree checker finds broken links
LOLLM observed that the directory tree walk code bails out if it finds broken parent pointers along the way. However, it flattens the return code to zero, which means that we can end up in the repair code having not completed the scan. We should never proceed with a repair in this state, so let's mark the scrub incomplete and exit.
The Linux kernel CVE team has assigned CVE-2026-99394 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.10 with commit 928b721a11789a9363d6d7c32a1f3166a79f3b5f and fixed in 6.12.118 with commit fe4ecd7f474ecb17487ae7c3d9b9cb2009f1e977 Issue introduced in 6.10 with commit 928b721a11789a9363d6d7c32a1f3166a79f3b5f and fixed in 6.18.61 with commit b5eb4ffd63fd2207568fcf2b76abffa86bbcf1ed Issue introduced in 6.10 with commit 928b721a11789a9363d6d7c32a1f3166a79f3b5f and fixed in 7.3.2 with commit 1faee6fac8cb907c6066f22af6669db0396faa3f Issue introduced in 6.10 with commit 928b721a11789a9363d6d7c32a1f3166a79f3b5f and fixed in 7.4-rc1 with commit e09438cab72c2c6a32665829d4186155346bfee8
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-99394
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
fs/xfs/scrub/dirtree.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/fe4ecd7f474ecb17487ae7c3d9b9cb2009f1e977 https://git.kernel.org/stable/c/b5eb4ffd63fd2207568fcf2b76abffa86bbcf1ed https://git.kernel.org/stable/c/1faee6fac8cb907c6066f22af6669db0396faa3f https://git.kernel.org/stable/c/e09438cab72c2c6a32665829d4186155346bfee8