CVE-2026-80532

xfs: fix another iunlink infinite loop bug in online fsck

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 another iunlink infinite loop bug in online fsck

xrep_iunlink_resolve_bucket is supposed to reconstruct as much of the
incore prev and next unlinked list pointers based on what it finds on
disk and in memory before we move on to relinking the truly lost inodes
back into the unlinked list. However, it's still vulnerable to infinite
loops that come in via the next_unlinked pointers.

Fix this problem by remembering which inodes we've already seen and
checking new agino pointers against that. If a bit is already set,
either this is a loop or the inode has nonzero link count. We'll deal
with the second case in a subsequent patch.

Analysis

AI-generated

Technical impact

The Linux kernel contains a flaw in the XFS filesystem online check that can cause an infinite loop during inode unlink processing. The bug arises because previously seen inodes are not tracked, leading the linked list traversal to repeat indefinitely. If this loop occurs, the filesystem check will hang, potentially exhausting CPU or memory resources and interrupting normal system operation. The impact is a loss of availability for the affected filesystem, as the online fsck cannot complete and may require a reboot or manual intervention.

Affected Systems

All Linux distributions that include the Linux kernel with an XFS filesystem support, prior to the inclusion of the patch that records visited inodes during online fsck. The exact kernel versions are not enumerated in the advisory, so any kernel offering XFS online check before the commit fixing this issue is considered affected.

Risk and Exploitability

The CVSS score of 5.5 indicates a medium severity. The vulnerability lacks an EPSS score and is not listed in the CISA KEV catalog, indicating it has not yet been widely exploited in the wild. However, an attacker with local or privileged access could trigger a denial of service by initiating an online fsck on a filesystem that experiences this loop. Without the patch, the loop can persist indefinitely, causing prolonged downtime. The exact difficulty of exploitation depends on the ability to run an online fsck, which typically requires root privileges, making the risk higher for systems with misconfigured sudo or similar privileges.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a Linux kernel update that includes the commit fixing the inode unlink loop in XFS online fsck.
  • Avoid running online XFS filesystem checks until the kernel has been updated, or perform checks offline to prevent triggering the infinite loop.
  • Ensure regular kernel updates are applied to all systems to prevent reintroduction of the flaw.

Generated by OpenCVE AI on August 27, 2026 at 01:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4788-1 linux-6.12 security update
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-835
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-665
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: xfs: fix another iunlink infinite loop bug in online fsck xrep_iunlink_resolve_bucket is supposed to reconstruct as much of the incore prev and next unlinked list pointers based on what it finds on disk and in memory before we move on to relinking the truly lost inodes back into the unlinked list. However, it's still vulnerable to infinite loops that come in via the next_unlinked pointers. Fix this problem by remembering which inodes we've already seen and checking new agino pointers against that. If a bit is already set, either this is a loop or the inode has nonzero link count. We'll deal with the second case in a subsequent patch.
Title xfs: fix another iunlink infinite loop bug in online fsck
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-665

    Improper Initialization

  • CWE-835

    Loop with Unreachable Exit Condition ('Infinite Loop')

Sources

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