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

xfs: initialise error in xfs_defer_finish_one()

xfs_defer_finish_one() declares error without an initialiser and only
assigns it inside the loop over dfp->dfp_work. When that list is empty
the loop body never runs, control falls through to the "Done with the
dfp, free it" path, and the function returns an indeterminate value.

An item-less pending item reaches this through xfs_defer_add_barrier(),
which xfs_reap_ag_blocks() uses on any CONFIG_XFS_ONLINE_REPAIR kernel.
xfs_defer_finish_noroll() treats any non-EAGAIN return as fatal, so a
non-zero stack value turns a successful barrier into a
SHUTDOWN_CORRUPT_INCORE in the middle of a repair. Zero is the correct
result: reaching the free path means the item loop drained without a
non-zero error.
Published: 2026-09-25
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Potential file system corruption and system shutdown during XFS online repair
Action: Patch Now
AI Analysis

Impact

The vulnerability arises when the variable ‘error’ in xfs_defer_finish_one() is declared without an initializer and is only set inside a loop over dfp->dfp_work. If that list is empty the loop never runs, causing the function to return an indeterminate value. That non‑zero value is later treated as a fatal error by xfs_reap_ag_blocks(), triggering a SHUTDOWN_CORRUPT_INCORE condition during an XFS online repair, which can corrupt the inode cache and lead to a system shutdown.

Affected Systems

All Linux kernels that include XFS support and are built with CONFIG_XFS_ONLINE_REPAIR enabled, including any distribution shipping the upstream kernel or a downstream derivative that has not applied the patch.

Risk and Exploitability

The flaw does not provide a remote code execution path; exploitation requires initiating an XFS online repair on a system that has the exposed code path. The CVSS score of 5.5 indicates moderate severity. The EPSS score is less than 1 %, meaning exploitation probability is low, and the vulnerability is not listed in the CISA KEV catalog. Nonetheless, the defect can cause critical file system corruption for affected systems, especially if an attacker can trigger or influence online repair operations.

Generated by OpenCVE AI on October 1, 2026 at 12:04 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a Linux kernel update that contains the fix for xfs_defer_finish_one()
  • Reboot the system to load the updated kernel
  • If XFS online repair is enabled, postpone or disable repairs until after the update to avoid unintended data corruption

Generated by OpenCVE AI on October 1, 2026 at 12:04 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

Thu, 01 Oct 2026 10:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-665

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

Type Values Removed Values Added
Weaknesses CWE-908
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-665

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: initialise error in xfs_defer_finish_one() xfs_defer_finish_one() declares error without an initialiser and only assigns it inside the loop over dfp->dfp_work. When that list is empty the loop body never runs, control falls through to the "Done with the dfp, free it" path, and the function returns an indeterminate value. An item-less pending item reaches this through xfs_defer_add_barrier(), which xfs_reap_ag_blocks() uses on any CONFIG_XFS_ONLINE_REPAIR kernel. xfs_defer_finish_noroll() treats any non-EAGAIN return as fatal, so a non-zero stack value turns a successful barrier into a SHUTDOWN_CORRUPT_INCORE in the middle of a repair. Zero is the correct result: reaching the free path means the item loop drained without a non-zero error.
Title xfs: initialise error in xfs_defer_finish_one()
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-10-19T09:09:15.341Z

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

Link: CVE-2026-97552

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

Modified: 2026-10-19T10:17:24.207

Link: CVE-2026-97552

cve-icon Redhat

Severity : Low

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

Links: CVE-2026-97552 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-01T12:15:05Z

Weaknesses
  • CWE-908

    Use of Uninitialized Resource