CVE-2026-43063: xfs: don't irele after failing to iget in xfs_attri_recover_work
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
xfs: don't irele after failing to iget in xfs_attri_recover_work
xlog_recovery_iget* never set @ip to a valid pointer if they return an error, so this irele will walk off a dangling pointer. Fix that.
The Linux kernel CVE team has assigned CVE-2026-43063 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.10 with commit ae673f534a30976ce5e709c4535a59c12b786ef3 and fixed in 6.12.80 with commit b5c5a50c2f513d4a13a6763564a07b470e69cc5a Issue introduced in 6.10 with commit ae673f534a30976ce5e709c4535a59c12b786ef3 and fixed in 6.18.21 with commit a1a5df1038f0b3c560d204270373621a4e622808 Issue introduced in 6.10 with commit ae673f534a30976ce5e709c4535a59c12b786ef3 and fixed in 6.19.11 with commit 40082d08b638485cbaa543dc8087a3d1844d6f08 Issue introduced in 6.10 with commit ae673f534a30976ce5e709c4535a59c12b786ef3 and fixed in 7.0 with commit 70685c291ef82269180758130394ecdc4496b52c
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-43063
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/xfs_attr_item.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/b5c5a50c2f513d4a13a6763564a07b470e69cc5a https://git.kernel.org/stable/c/a1a5df1038f0b3c560d204270373621a4e622808 https://git.kernel.org/stable/c/40082d08b638485cbaa543dc8087a3d1844d6f08 https://git.kernel.org/stable/c/70685c291ef82269180758130394ecdc4496b52c