CVE-2026-99404: xfs: check fork type against dabtree block magic number
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
xfs: check fork type against dabtree block magic number
LOLLM complains that we fail to flag dabtree blocks that should never be associated with the file fork -- data forks can't point to xattr leaves, and attr forks can't point to dirent blocks. Add the missing checks.
The Linux kernel CVE team has assigned CVE-2026-99404 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.15 with commit 7c4a07a424c18d95f49b0c0c3d8c5afd969e0a10 and fixed in 6.12.117 with commit 273d2ab0bcd687df4726ad11c86cffa703f452a9 Issue introduced in 4.15 with commit 7c4a07a424c18d95f49b0c0c3d8c5afd969e0a10 and fixed in 6.18.61 with commit c67017f673bc4a118fac377bc99d39b34465f426 Issue introduced in 4.15 with commit 7c4a07a424c18d95f49b0c0c3d8c5afd969e0a10 and fixed in 7.3.2 with commit db77cc2d232a2a2a1c6364c9ef3131f0e8445315 Issue introduced in 4.15 with commit 7c4a07a424c18d95f49b0c0c3d8c5afd969e0a10 and fixed in 7.4-rc1 with commit 43030b72a11a532e7e3c21ac84a8625425b4201b
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-99404
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/dabtree.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/273d2ab0bcd687df4726ad11c86cffa703f452a9 https://git.kernel.org/stable/c/c67017f673bc4a118fac377bc99d39b34465f426 https://git.kernel.org/stable/c/db77cc2d232a2a2a1c6364c9ef3131f0e8445315 https://git.kernel.org/stable/c/43030b72a11a532e7e3c21ac84a8625425b4201b