CVE-2026-99405: xfs: abort dirtree repair if the live update hook dies
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
xfs: abort dirtree repair if the live update hook dies
LOLLM notices that if the live update hook for the directory tree repair code hits an error, it will set dl->aborted and stops working. If the repair code ever sees that condition, it ought to bail out immediately instead of continuing with obsolete data.
The Linux kernel CVE team has assigned CVE-2026-99405 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.10 with commit 3f31406aef493b3f19020909d29974e28253f91c and fixed in 6.12.117 with commit 9ebf7830d193eb1730a7a1323930129f89c448c7 Issue introduced in 6.10 with commit 3f31406aef493b3f19020909d29974e28253f91c and fixed in 6.18.61 with commit 31f79a0919e3f0d96f7df2c3aa4f7896394f2356 Issue introduced in 6.10 with commit 3f31406aef493b3f19020909d29974e28253f91c and fixed in 7.3.2 with commit 86598d7f4b0ebbca905f650f3a0ba74de957a9ee Issue introduced in 6.10 with commit 3f31406aef493b3f19020909d29974e28253f91c and fixed in 7.4-rc1 with commit 07732dea4f5d0410e1566b81a58a1154bf9dcb29
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-99405
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_repair.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/9ebf7830d193eb1730a7a1323930129f89c448c7 https://git.kernel.org/stable/c/31f79a0919e3f0d96f7df2c3aa4f7896394f2356 https://git.kernel.org/stable/c/86598d7f4b0ebbca905f650f3a0ba74de957a9ee https://git.kernel.org/stable/c/07732dea4f5d0410e1566b81a58a1154bf9dcb29