Skip to contentSkip to conversation

CVE-2026-98448: xfs: release orphanage dir inode if chown fails

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: release orphanage dir inode if chown fails

LOLLM points out that we leak the igrab'd reference to the orphanage directory inode if chowning it fails. Fix that.

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

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

	Issue introduced in 6.10 with commit 1e58a8ccf2597c9259a8e71a2bffac5e11e12ea0 and fixed in 6.12.112 with commit 6b66b1a59df6c3f9b4ad9b39a32ca86170ade357
	Issue introduced in 6.10 with commit 1e58a8ccf2597c9259a8e71a2bffac5e11e12ea0 and fixed in 6.18.55 with commit 6a65a68097a1903988b256d5b367da7b0863a1d5
	Issue introduced in 6.10 with commit 1e58a8ccf2597c9259a8e71a2bffac5e11e12ea0 and fixed in 7.2.9 with commit f813aefd9e09c8cda38a71580b6a01552d97cade
	Issue introduced in 6.10 with commit 1e58a8ccf2597c9259a8e71a2bffac5e11e12ea0 and fixed in 7.3-rc5 with commit 1c32cdc986467eaffeedb6c5334852809555b82d

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

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/orphanage.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/6b66b1a59df6c3f9b4ad9b39a32ca86170ade357
	https://git.kernel.org/stable/c/6a65a68097a1903988b256d5b367da7b0863a1d5
	https://git.kernel.org/stable/c/f813aefd9e09c8cda38a71580b6a01552d97cade
	https://git.kernel.org/stable/c/1c32cdc986467eaffeedb6c5334852809555b82d