Skip to contentSkip to conversation

CVE-2026-98447: xfs: fix wild memcpy access when formatting ondisk rtrefcount btree roots

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 18

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 wild memcpy access when formatting ondisk rtrefcount btree roots

LOLLM noticed that the inode btree root formatting methods copy too many bytes -- there's only one set of keys in node blocks, not two. This causes memory corruption of whatever's beyond the buffers.

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

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

	Issue introduced in 6.14 with commit f0415af60f482a2192065be8b334b409495ca8a3 and fixed in 6.18.55 with commit d46492fb8018d12d00651b06b9d240e747110b38
	Issue introduced in 6.14 with commit f0415af60f482a2192065be8b334b409495ca8a3 and fixed in 7.2.9 with commit 2703b954d306ebfe3b11e33e259759329c11b690
	Issue introduced in 6.14 with commit f0415af60f482a2192065be8b334b409495ca8a3 and fixed in 7.3-rc5 with commit fe2f9135df43db849e74f03956d322ac20b59af7

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

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/libxfs/xfs_rtrefcount_btree.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/d46492fb8018d12d00651b06b9d240e747110b38
	https://git.kernel.org/stable/c/2703b954d306ebfe3b11e33e259759329c11b690
	https://git.kernel.org/stable/c/fe2f9135df43db849e74f03956d322ac20b59af7