Skip to contentSkip to conversation

CVE-2026-80529: xfs: don't swallow dquot recovery verification errors

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Aug 26

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 swallow dquot recovery verification errors

xlog_recover_dquot_commit_pass2() validates the recovered dquot with xfs_dqblk_verify() and, on failure, sets error = -EFSCORRUPTED and jumps to out_release. But out_release unconditionally returns 0, so the corruption error is discarded: the caller xlog_recover_items_pass2() sees success, log recovery proceeds as if the dquot were valid, and the corrupt quota buffer can be written back to disk.

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

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

	Issue introduced in 6.1.128 with commit 7880b1f0adef4d363f42d6bb42aab3211291351b and fixed in 6.1.184 with commit e506e127fcb4e2bad1045805f1740b395eea9618
	Issue introduced in 6.6.17 with commit 3581868f51a2edb027a898988b5b5a4ba379ee55 and fixed in 6.6.153 with commit 5b756fbb60b5d26063f46a11a3c7daa7eb616d79
	Issue introduced in 6.7 with commit 9c235dfc3d3f901fe22acb20f2ab37ff39f2ce02 and fixed in 6.12.105 with commit a233b3362a3c7bf23f5143b4ef4b17ec337fcb4d
	Issue introduced in 6.7 with commit 9c235dfc3d3f901fe22acb20f2ab37ff39f2ce02 and fixed in 6.18.46 with commit 38a4dbe588bd028a07a77dc5cee62ee3ce21e87d
	Issue introduced in 6.7 with commit 9c235dfc3d3f901fe22acb20f2ab37ff39f2ce02 and fixed in 7.1.10 with commit 36a31b12540c0a0a3b77a01fda86de646f2961fb
	Issue introduced in 6.7 with commit 9c235dfc3d3f901fe22acb20f2ab37ff39f2ce02 and fixed in 7.2 with commit e2b4a856085e9bd939bde2dee0d08b1d41babde9

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

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/xfs_dquot_item_recover.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/e506e127fcb4e2bad1045805f1740b395eea9618
	https://git.kernel.org/stable/c/5b756fbb60b5d26063f46a11a3c7daa7eb616d79
	https://git.kernel.org/stable/c/a233b3362a3c7bf23f5143b4ef4b17ec337fcb4d
	https://git.kernel.org/stable/c/38a4dbe588bd028a07a77dc5cee62ee3ce21e87d
	https://git.kernel.org/stable/c/36a31b12540c0a0a3b77a01fda86de646f2961fb
	https://git.kernel.org/stable/c/e2b4a856085e9bd939bde2dee0d08b1d41babde9