Description
In the Linux kernel, the following vulnerability has been resolved:

xfs: don't spin forever on zero-length dirents when salvaging them

LOLLM noticed that xrep_dir_recover_data can spin forever if it
encounters an unused dirent that claims to have length zero. Fix that,
and prevent the same thing from happening with a zero-length entry.
Published: 2026-09-25
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via infinite loop during XFS directory recovery
Action: Update Kernel
AI Analysis

Impact

In the Linux kernel, the XFS filesystem recovery routine entered an infinite loop when it encountered an unused directory entry that claimed to have zero length. The result is continuous CPU consumption during salvage operations, effectively denying service. This flaw is a classic denial‑of‑service weakness caused by improper validation of filesystem metadata, a resource exhaustion flaw in the style of CWE‑835.

Affected Systems

All Linux kernel builds that include the XFS filesystem are affected, as the CPE identifier refers to the entire kernel. No specific version range is supplied, so any kernel prior to the implementation of the patch could be vulnerable. Administrators should consult vendor release notes for the kernel version containing the fix.

Risk and Exploitability

The CVSS score is 5.5, indicating a moderate impact, and the EPSS score is below 1%. The vulnerability is not listed in the CISA KEV catalog. Exploitation would require triggering XFS recovery with a crafted corrupted directory entry; the likely attack vector is inferred to be a local or crash‑induced scenario. The infinite loop can lead to CPU exhaustion, so if the system must recover from bad metadata, the risk of a denial‑of‑service attack is high. Operators should treat this as a moderate‑impact issue and prioritize updating the kernel.

Generated by OpenCVE AI on October 1, 2026 at 10:14 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a kernel version that includes the patch implementing the fix for zero‑length dirent handling.
  • If a kernel update is not immediately available, cherry‑pick the patch from the referenced commit and rebuild the kernel before deployment.
  • If the system frequently encounters XFS corruption, consider mounting the filesystem with recovery disabled or in read‑only mode until the patched kernel is in use.

Generated by OpenCVE AI on October 1, 2026 at 10:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4817-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6528-1 linux security update
History

Tue, 29 Sep 2026 20:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-770

Tue, 29 Sep 2026 13:15:00 +0000

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


Fri, 25 Sep 2026 23:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-770

Fri, 25 Sep 2026 10:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: xfs: don't spin forever on zero-length dirents when salvaging them LOLLM noticed that xrep_dir_recover_data can spin forever if it encounters an unused dirent that claims to have length zero. Fix that, and prevent the same thing from happening with a zero-length entry.
Title xfs: don't spin forever on zero-length dirents when salvaging them
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-09-25T10:21:41.029Z

Reserved: 2026-09-24T16:01:01.154Z

Link: CVE-2026-97546

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-25T11:17:04.963

Modified: 2026-09-25T11:17:04.963

Link: CVE-2026-97546

cve-icon Redhat

Severity : Low

Publid Date: 2026-09-25T00:00:00Z

Links: CVE-2026-97546 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-01T10:15:06Z

Weaknesses
  • CWE-835

    Loop with Unreachable Exit Condition ('Infinite Loop')