CVE-2026-99409: xfs: don't fix the directory tree if live update fails
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
xfs: don't fix the directory tree if live update fails
LOLLM complains that we don't double-check dl->aborted one last time to before committing repairs to the filesystem. This is important because the live update handler could have set ->aborted if it encountered a runtime error.
The Linux kernel CVE team has assigned CVE-2026-99409 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.10 with commit 3f31406aef493b3f19020909d29974e28253f91c and fixed in 6.12.117 with commit 9d31894780974d239832f22377ae4a66655626f7 Issue introduced in 6.10 with commit 3f31406aef493b3f19020909d29974e28253f91c and fixed in 6.18.61 with commit 18773e41e92b21f4f8082f12750404bea4caab0a Issue introduced in 6.10 with commit 3f31406aef493b3f19020909d29974e28253f91c and fixed in 7.3.2 with commit 95c96e9695b8310f91edef38fd9a3e1ceb0f2c77 Issue introduced in 6.10 with commit 3f31406aef493b3f19020909d29974e28253f91c and fixed in 7.4-rc1 with commit c8226f3d1a7eafe472addc232689e9c9a0c36a1c
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-99409
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/9d31894780974d239832f22377ae4a66655626f7 https://git.kernel.org/stable/c/18773e41e92b21f4f8082f12750404bea4caab0a https://git.kernel.org/stable/c/95c96e9695b8310f91edef38fd9a3e1ceb0f2c77 https://git.kernel.org/stable/c/c8226f3d1a7eafe472addc232689e9c9a0c36a1c