CVE-2026-80534

xfs: fix ilock leak on error in xfs_dq_get_next_id

Published Aug 26, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

xfs: fix ilock leak on error in xfs_dq_get_next_id

xfs_dq_get_next_id() takes the quota inode ILOCK before calling
xfs_iread_extents(). If xfs_iread_extents() fails, the function returns
immediately without releasing the lock, leaking the quota inode ILOCK.
This can leave the quota inode locked and cause subsequent quota
operations to hang.

Fix this by jumping to a common unlock path on error instead of returning
directly.

Analysis

AI-generated

Technical impact

This vulnerability stems from the Linux kernel’s XFS filesystem failing to release an inode lock when an error occurs during a quota operation. The function xfs_dq_get_next_id() acquires the quota inode ILOCK before attempting to read extents, but if that read fails it returns immediately without unlocking, leaving the inode locked. This lock leak can cause subsequent quota operations to block indefinitely, leading to a denial of service for processes that rely on quota management. The weakness is a classic resource acquisition without release scenario, identified as CWE-772.

Affected Systems

Any system running a Linux kernel that supports the XFS filesystem and uses the quota facilities is potentially affected. The CNA vendor list includes Linux:Linux twice, indicating the entire kernel is impacted, but specific kernel versions are not enumerated in the data provided. Consequently, any deployment using the vulnerable code path may be at risk until the patch is applied.

Risk and Exploitability

The CVSS score is 5.5, and the EPSS score is unavailable. The denial of service impact indicates that exploitation could be achieved if an attacker can trigger quota queries that hit the error path. Based on the description, it is inferred that an attacker would need to provoke a failure in xfs_iread_extents, which likely requires local or privileged access; however, if the filesystem is exposed remotely, a remote attacker might also cause the error through crafted quota operations. The likely attack vector is a local, privileged or, in edge cases, remote scenario where quota operations can be manipulated. The vulnerability is not listed in the CISA KEV catalog, indicating no current exploitation evidence. Nonetheless, the potential for service disruption warrants prompt attention.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the kernel patch that introduces the unlock path for xfs_dq_get_next_id, as referenced in the advisory commit URLs
  • After updating the kernel, reboot the affected nodes or restart the quota and XFS services to ensure any stale locks are cleared
  • Validate that quota operations complete successfully in a test environment before broad deployment, and monitor system logs for lock‑related errors

Generated by OpenCVE AI on August 27, 2026 at 03:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4777-1 linux security update
Debian DLA Debian DLA DLA-4788-1 linux-6.12 security update
Ubuntu USN Ubuntu USN USN-8961-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9022-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9023-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9029-1 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-9039-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9091-1 Linux kernel (NVIDIA Tegra) vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-689
Type Values Removed Values Added
Weaknesses CWE-772
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low

Type Values Removed Values Added
Weaknesses CWE-689
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: xfs: fix ilock leak on error in xfs_dq_get_next_id xfs_dq_get_next_id() takes the quota inode ILOCK before calling xfs_iread_extents(). If xfs_iread_extents() fails, the function returns immediately without releasing the lock, leaking the quota inode ILOCK. This can leave the quota inode locked and cause subsequent quota operations to hang. Fix this by jumping to a common unlock path on error instead of returning directly.
Title xfs: fix ilock leak on error in xfs_dq_get_next_id
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 6, 2026, 5:05 PM
Reserved
Aug 26, 2026, 2:34 PM
Status
Received
Published
Aug 26, 2026, 3:17 PM
Modified
Nov 6, 2026, 5:19 PM
Severity
Low
Public date
Aug 26, 2026, 12:00 AM