Skip to contentSkip to conversation

CVE-2026-97550: xfs: fix unit conversions in per_binval computation

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 25

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: fix unit conversions in per_binval computation

LOLLM noticed that we're doing the unit conversion in the per_binval computation backwards -- xfs_buf_inval_log_space's second parameter is supposed to be in bytes, but max_binval is in units of fsblocks. Hence the conversion should be FSB -> B, not the other way around.

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

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

	Issue introduced in 6.18 with commit b2311ec6778fcde9d40cd9e22899f8bd594d8465 and fixed in 6.18.53 with commit b5089a328acc83fe2f23127a79397a0bfd9ebc33
	Issue introduced in 6.18 with commit b2311ec6778fcde9d40cd9e22899f8bd594d8465 and fixed in 7.2.7 with commit cfeba3bdf4dfa405e29f4ee13a20e9063fd0b7ef
	Issue introduced in 6.18 with commit b2311ec6778fcde9d40cd9e22899f8bd594d8465 and fixed in 7.3-rc3 with commit 05cff7c2b79f76c7cfe90613a60e16aaaa051ef7

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

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/reap.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/b5089a328acc83fe2f23127a79397a0bfd9ebc33
	https://git.kernel.org/stable/c/cfeba3bdf4dfa405e29f4ee13a20e9063fd0b7ef
	https://git.kernel.org/stable/c/05cff7c2b79f76c7cfe90613a60e16aaaa051ef7