{"id":"CVE-2026-97552","summary":"xfs: initialise error in xfs_defer_finish_one()","details":"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-\u003edfp_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.","modified":"2026-09-26T03:48:35.788490463Z","published":"2026-09-25T10:21:44.651Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97552.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/30748a24b9f04f9a83599ba907cc8fbff0729f3c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6176d21d7bd609632c5b7e87a3adb9be29ec1e72"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6b507c239884f7d4bf8339f6e9eb8bfcb540afde"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ba949a14446b7346e92e676ee3fe2bb79d9ce450"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97552.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97552"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3f3cec031099c37513727efc978a12b6346e326d"},{"fixed":"30748a24b9f04f9a83599ba907cc8fbff0729f3c"},{"fixed":"ba949a14446b7346e92e676ee3fe2bb79d9ce450"},{"fixed":"6b507c239884f7d4bf8339f6e9eb8bfcb540afde"},{"fixed":"6176d21d7bd609632c5b7e87a3adb9be29ec1e72"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97552.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.8.0"},{"fixed":"6.12.111"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.53"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97552.json"}}],"schema_version":"1.9.0"}