# CVE-2026-97552: xfs: initialise error in xfs_defer_finish_one()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-02)
- Published: 2026-09-25T10:21:44.651Z
- Modified: 2026-10-19T10:17:24.207Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 3f3cec031099c37513727efc978a12b6346e326d before 30748a24b9f04f9a83599ba907cc8fbff0729f3c; from 3f3cec031099c37513727efc978a12b6346e326d before ba949a14446b7346e92e676ee3fe2bb79d9ce450; from 3f3cec031099c37513727efc978a12b6346e326d before 6b507c239884f7d4bf8339f6e9eb8bfcb540afde; from 3f3cec031099c37513727efc978a12b6346e326d before 6176d21d7bd609632c5b7e87a3adb9be29ec1e72; 6.8 (not affected: before 6.8; from 6.12.111 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.2.7 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/30748a24b9f04f9a83599ba907cc8fbff0729f3c>
- <https://git.kernel.org/stable/c/ba949a14446b7346e92e676ee3fe2bb79d9ce450>
- <https://git.kernel.org/stable/c/6b507c239884f7d4bf8339f6e9eb8bfcb540afde>
- <https://git.kernel.org/stable/c/6176d21d7bd609632c5b7e87a3adb9be29ec1e72>

## Sources

- CVE List: [CVE-2026-97552](https://www.cve.org/CVERecord?id=CVE-2026-97552), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-97552](https://nvd.nist.gov/vuln/detail/CVE-2026-97552), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-97552 · Whole record: https://cve.day/CVE-2026-97552.json · Rebuilt by cve.day 2026-11-25T22:59:40.954Z
