Skip to contentSkip to conversation

CVE-2026-99407: xfs: don't repair fs summary counters with garbage

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: don't repair fs summary counters with garbage

LOLLM noticed that if we scan the filesystem and come up with totally garbage numbers for the summary counters, we don't actually mark the scan incomplete. Because we don't do this, repair can install the garbage values into the filesystem, making things worse. Don't do that.

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

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

	Issue introduced in 6.9 with commit 4ed080cd7cb077bbb4b64f0712be1618c9d55a0d and fixed in 6.12.117 with commit 1f88a2c46bac04827eb56d0a9cc29527a04eebe6
	Issue introduced in 6.9 with commit 4ed080cd7cb077bbb4b64f0712be1618c9d55a0d and fixed in 6.18.61 with commit 1fc1a5a2419a5315872c239e8c56c6dbf26539ae
	Issue introduced in 6.9 with commit 4ed080cd7cb077bbb4b64f0712be1618c9d55a0d and fixed in 7.3.2 with commit 7dd8e5cced0b0b8570fa42f2b91bd1f9da23e147
	Issue introduced in 6.9 with commit 4ed080cd7cb077bbb4b64f0712be1618c9d55a0d and fixed in 7.4-rc1 with commit 22a8a7501c0146dba4ce99b8256975ffe945125d

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

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/fscounters.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/1f88a2c46bac04827eb56d0a9cc29527a04eebe6
	https://git.kernel.org/stable/c/1fc1a5a2419a5315872c239e8c56c6dbf26539ae
	https://git.kernel.org/stable/c/7dd8e5cced0b0b8570fa42f2b91bd1f9da23e147
	https://git.kernel.org/stable/c/22a8a7501c0146dba4ce99b8256975ffe945125d