Skip to contentSkip to conversation

CVE-2026-97544: xfs: don't leak dqacct if rhashtable insertion fails

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: don't leak dqacct if rhashtable insertion fails

LOLLM observes that xqcheck_mod_live_ino_dqtrx doesn't free the newly allocated dqa object if rhashtable insertion fails. Fix this leak.

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

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

	Issue introduced in 6.9 with commit 200491875ce144fdc49827387fff2f604b73c0a9 and fixed in 6.12.111 with commit 9036e078bd51683e862afd5ed25ecba2f780b165
	Issue introduced in 6.9 with commit 200491875ce144fdc49827387fff2f604b73c0a9 and fixed in 6.18.53 with commit 7791970a76a3e23f6f51451dbb1e48bd57f94f93
	Issue introduced in 6.9 with commit 200491875ce144fdc49827387fff2f604b73c0a9 and fixed in 7.2.7 with commit 788c3a46ef9d79f875312b95cffe0961a13167a7
	Issue introduced in 6.9 with commit 200491875ce144fdc49827387fff2f604b73c0a9 and fixed in 7.3-rc3 with commit 2eac8d01d2c776fc26b0ac74aebdf91bc4490891

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

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/quotacheck.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/9036e078bd51683e862afd5ed25ecba2f780b165
	https://git.kernel.org/stable/c/7791970a76a3e23f6f51451dbb1e48bd57f94f93
	https://git.kernel.org/stable/c/788c3a46ef9d79f875312b95cffe0961a13167a7
	https://git.kernel.org/stable/c/2eac8d01d2c776fc26b0ac74aebdf91bc4490891