{"id":"CVE-2026-97552","state":"PUBLISHED","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.","publishedAt":"2026-09-25T10:21:44.651Z","updatedAt":"2026-10-19T09:09:15.341Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"3f3cec031099c37513727efc978a12b6346e326d","status":"affected","lessThan":"30748a24b9f04f9a83599ba907cc8fbff0729f3c","versionType":"git"},{"version":"3f3cec031099c37513727efc978a12b6346e326d","status":"affected","lessThan":"ba949a14446b7346e92e676ee3fe2bb79d9ce450","versionType":"git"},{"version":"3f3cec031099c37513727efc978a12b6346e326d","status":"affected","lessThan":"6b507c239884f7d4bf8339f6e9eb8bfcb540afde","versionType":"git"},{"version":"3f3cec031099c37513727efc978a12b6346e326d","status":"affected","lessThan":"6176d21d7bd609632c5b7e87a3adb9be29ec1e72","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/xfs/libxfs/xfs_defer.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.8","versionType":"semver"},{"version":"6.12.111","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.53","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.7","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/xfs/libxfs/xfs_defer.c"]}],"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"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/97xxx/CVE-2026-97552.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-97552","state":"PUBLISHED","datePublished":"2026-09-25T10:21:44.651Z","dateUpdated":"2026-10-19T09:09:15.341Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-24T16:01:01.154Z"},"containers":{"cna":{"title":"xfs: initialise error in xfs_defer_finish_one()","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"3f3cec031099c37513727efc978a12b6346e326d","status":"affected","lessThan":"30748a24b9f04f9a83599ba907cc8fbff0729f3c","versionType":"git"},{"version":"3f3cec031099c37513727efc978a12b6346e326d","status":"affected","lessThan":"ba949a14446b7346e92e676ee3fe2bb79d9ce450","versionType":"git"},{"version":"3f3cec031099c37513727efc978a12b6346e326d","status":"affected","lessThan":"6b507c239884f7d4bf8339f6e9eb8bfcb540afde","versionType":"git"},{"version":"3f3cec031099c37513727efc978a12b6346e326d","status":"affected","lessThan":"6176d21d7bd609632c5b7e87a3adb9be29ec1e72","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/xfs/libxfs/xfs_defer.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.8","versionType":"semver"},{"version":"6.12.111","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.53","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.7","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/xfs/libxfs/xfs_defer.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/30748a24b9f04f9a83599ba907cc8fbff0729f3c"},{"url":"https://git.kernel.org/stable/c/ba949a14446b7346e92e676ee3fe2bb79d9ce450"},{"url":"https://git.kernel.org/stable/c/6b507c239884f7d4bf8339f6e9eb8bfcb540afde"},{"url":"https://git.kernel.org/stable/c/6176d21d7bd609632c5b7e87a3adb9be29ec1e72"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:09:15.341Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.12.111"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.18.53"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"7.2.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}