Skip to contentSkip to conversation

CVE-2026-99397: xfs: always report inode repair setup failures

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Nov 19

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

xfs: always report inode repair setup failures

LOLLM noticed that xchk_setup_inode silently discards errors being returned by xrep_setup_inode. Fix that, and fix the stub macro so that it actually "returns" a value.

The Linux kernel CVE team has assigned CVE-2026-99397 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.8 with commit 2d295fe65776d15c06d53dbe3064f62e036e7c46 and fixed in 6.12.117 with commit 7759a4711b5c443a9dcb9cfff161b550c519aaf5
	Issue introduced in 6.8 with commit 2d295fe65776d15c06d53dbe3064f62e036e7c46 and fixed in 6.18.61 with commit 782bcf8c6d3683f91cd40cd6cc169eb62106da4e
	Issue introduced in 6.8 with commit 2d295fe65776d15c06d53dbe3064f62e036e7c46 and fixed in 7.3.2 with commit 194dfc48a109d5a4411ba2e86c349d2a25e09109
	Issue introduced in 6.8 with commit 2d295fe65776d15c06d53dbe3064f62e036e7c46 and fixed in 7.4-rc1 with commit ce9098338a7e1a77246684242d10779fc4d4a539

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-99397

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/inode.c
fs/xfs/scrub/repair.h

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/7759a4711b5c443a9dcb9cfff161b550c519aaf5
	https://git.kernel.org/stable/c/782bcf8c6d3683f91cd40cd6cc169eb62106da4e
	https://git.kernel.org/stable/c/194dfc48a109d5a4411ba2e86c349d2a25e09109
	https://git.kernel.org/stable/c/ce9098338a7e1a77246684242d10779fc4d4a539