{"id":"CVE-2026-97552","aliases":["CVE-2026-97552"],"related":[],"kind":"vulnerability","state":"published","title":"xfs: initialise error in xfs_defer_finish_one()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: initialise error in xfs_defer_finish_one()\n\nxfs_defer_finish_one() declares error without an initialiser and only\nassigns it inside the loop over dfp->dfp_work.  When that list is empty\nthe loop body never runs, control falls through to the \"Done with the\ndfp, free it\" path, and the function returns an indeterminate value.\n\nAn item-less pending item reaches this through xfs_defer_add_barrier(),\nwhich xfs_reap_ag_blocks() uses on any CONFIG_XFS_ONLINE_REPAIR kernel.\nxfs_defer_finish_noroll() treats any non-EAGAIN return as fatal, so a\nnon-zero stack value turns a successful barrier into a\nSHUTDOWN_CORRUPT_INCORE in the middle of a repair.  Zero is the correct\nresult: reaching the free path means the item loop drained without a\nnon-zero error.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: initialise error in xfs_defer_finish_one()\n\nxfs_defer_finish_one() declares error without an initialiser and only\nassigns it inside the loop over dfp->dfp_work.  When that list is empty\nthe loop body never runs, control falls through to the \"Done with the\ndfp, free it\" path, and the function returns an indeterminate value.\n\nAn item-less pending item reaches this through xfs_defer_add_barrier(),\nwhich xfs_reap_ag_blocks() uses on any CONFIG_XFS_ONLINE_REPAIR kernel.\nxfs_defer_finish_noroll() treats any non-EAGAIN return as fatal, so a\nnon-zero stack value turns a successful barrier into a\nSHUTDOWN_CORRUPT_INCORE in the middle of a repair.  Zero is the correct\nresult: reaching the free path means the item loop drained without a\nnon-zero error.","source":"cvelist"}],"published":"2026-09-25T10:21:44.651Z","modified":"2026-10-19T10:17:24.207Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"3f3cec031099c37513727efc978a12b6346e326d","fixed":"30748a24b9f04f9a83599ba907cc8fbff0729f3c","status":"affected"},{"type":"git","introduced":"3f3cec031099c37513727efc978a12b6346e326d","fixed":"ba949a14446b7346e92e676ee3fe2bb79d9ce450","status":"affected"},{"type":"git","introduced":"3f3cec031099c37513727efc978a12b6346e326d","fixed":"6b507c239884f7d4bf8339f6e9eb8bfcb540afde","status":"affected"},{"type":"git","introduced":"3f3cec031099c37513727efc978a12b6346e326d","fixed":"6176d21d7bd609632c5b7e87a3adb9be29ec1e72","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.8","status":"unaffected"},{"type":"semver","introduced":"6.12.111","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.53","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.7","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/30748a24b9f04f9a83599ba907cc8fbff0729f3c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ba949a14446b7346e92e676ee3fe2bb79d9ce450","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6b507c239884f7d4bf8339f6e9eb8bfcb540afde","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6176d21d7bd609632c5b7e87a3adb9be29ec1e72","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-97552","url":"https://www.cve.org/CVERecord?id=CVE-2026-97552","licence":"CVE Terms of Use","modified":"2026-10-19T09:09:15.341Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-97552","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97552","licence":"Public domain","modified":"2026-10-19T10:17:24.207Z"}],"updatedAt":"2026-11-25T22:59:40.954Z","epss":{"score":0.002,"percentile":0.10374,"date":"2026-12-02T12:00:21.000Z"}}