{"id":"CVE-2026-97552","revision":"7fea93b218b640ae9f2733b80a4fee4c","records":[{"revision":"7fea93b218b640ae9f2733b80a4fee4c","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-97552","aliases":[],"title":"xfs: initialise error in xfs_defer_finish_one()","description":"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.","state":0,"publishedAt":"2026-09-25T10:21:44.651+00:00","modifiedAt":"2026-10-19T09:09:15.341+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"fs/xfs/libxfs/xfs_defer.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"3f3cec031099c37513727efc978a12b6346e326d\",\n                            \"lessThan\": \"30748a24b9f04f9a83599ba907cc8fbff0729f3c\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"3f3cec031099c37513727efc978a12b6346e326d\",\n                            \"lessThan\": \"ba949a14446b7346e92e676ee3fe2bb79d9ce450\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"3f3cec031099c37513727efc978a12b6346e326d\",\n                            \"lessThan\": \"6b507c239884f7d4bf8339f6e9eb8bfcb540afde\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"3f3cec031099c37513727efc978a12b6346e326d\",\n                            \"lessThan\": \"6176d21d7bd609632c5b7e87a3adb9be29ec1e72\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"fs/xfs/libxfs/xfs_defer.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.8\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.8\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.111\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.53\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.7\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[],"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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-97552","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-97552","identifiers":["CVE-2026-97552"]},"retained":false,"historicalAffected":[]}],"coverage":[]}