CVE-2026-97552 PUBLISHED

xfs: initialise error in xfs_defer_finish_one()

Assigner: Linux
Reserved: 24.09.2026 Published: 25.09.2026 Updated: 25.09.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 3f3cec031099c37513727efc978a12b6346e326d to 30748a24b9f04f9a83599ba907cc8fbff0729f3c (excl.)
  • affected from 3f3cec031099c37513727efc978a12b6346e326d to ba949a14446b7346e92e676ee3fe2bb79d9ce450 (excl.)
  • affected from 3f3cec031099c37513727efc978a12b6346e326d to 6b507c239884f7d4bf8339f6e9eb8bfcb540afde (excl.)
  • affected from 3f3cec031099c37513727efc978a12b6346e326d to 6176d21d7bd609632c5b7e87a3adb9be29ec1e72 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.8 is affected
  • unaffected from 0 to 6.8 (excl.)
  • unaffected from 6.12.111 to 6.12.* (incl.)
  • unaffected from 6.18.53 to 6.18.* (incl.)
  • unaffected from 7.2.7 to 7.2.* (incl.)
  • unaffected from 7.3-rc3 to * (incl.)

References