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.
Published: 2026-08-26
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel’s XFS module contains a flaw that silently discards verification failures of quota blocks during log recovery. When the recovery routine encounters an invalid dquot, it sets an error code but then jumps to a release routine that ignores the error, allowing the corrupted quota data to be written back to disk. This effectively corrupts the quota database and undermines the integrity of filesystem accounting.

Affected Systems

The vulnerability affects the XFS filesystem implementation in all releases of the Linux kernel that contain the XFS module before the patch commit referenced in the advisory. The affected code is part of the core kernel filesystem stack, so any system running an unpatched Linux kernel with XFS support is potentially impacted. No specific kernel versions are listed, but all current releases lacking the fix are at risk.

Risk and Exploitability

The flaw can only be triggered during system boot or when the kernel replays an XFS journal, requiring privileged access to the filesystem. A local or privileged attacker who can force a journal replay, for example by rebooting or by remounting the filesystem, can cause corrupted quota information to be written back to disk. Because the corruption is silently accepted, the attacker can undermine quota accounting without immediate detection, leading to inaccurate quota enforcement or potential data loss. No publicly known exploits exist, the EPSS and CVSS scores are not provided, and the vulnerability is not listed in CISA KEV. The primary risk is data integrity and, at worst, availability of quota enforcement, but remote exploitation is unlikely without local privilege.

Generated by OpenCVE AI on August 26, 2026 at 16:37 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version containing the XFS quota recovery fix committed in the referenced patches.
  • If a kernel upgrade cannot be performed immediately, unmount or disable the XFS partitions that rely on quota to prevent log‑recovery from writing corrupted data.
  • Disable quota enforcement on those partitions by removing or commenting out quota options in /etc/fstab or by remounting with the quota option disabled.
  • After making changes, monitor system logs for journal recovery errors and verify that quota files are not corrupted before re‑enabling quota enforcement.

Generated by OpenCVE AI on August 26, 2026 at 16:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 26 Aug 2026 17:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-788

Wed, 26 Aug 2026 14:45:00 +0000

Type Values Removed Values Added
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.
Title xfs: don't swallow dquot recovery verification errors
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-26T14:37:07.390Z

Reserved: 2026-08-26T14:34:25.764Z

Link: CVE-2026-80529

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-26T15:17:06.837

Modified: 2026-08-26T15:17:06.837

Link: CVE-2026-80529

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-26T16:45:08Z

Weaknesses
  • CWE-788

    Access of Memory Location After End of Buffer