Skip to content
Heist/ feed
Unrated

xfs: initialise error in xfs_defer_finish_one()

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-97552

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-97552

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "3f3cec031099c37513727efc978a12b6346e326d",
        "lessThan": "30748a24b9f04f9a83599ba907cc8fbff0729f3c",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "3f3cec031099c37513727efc978a12b6346e326d",
        "lessThan": "ba949a14446b7346e92e676ee3fe2bb79d9ce450",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "3f3cec031099c37513727efc978a12b6346e326d",
        "lessThan": "6b507c239884f7d4bf8339f6e9eb8bfcb540afde",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "3f3cec031099c37513727efc978a12b6346e326d",
        "lessThan": "6176d21d7bd609632c5b7e87a3adb9be29ec1e72",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "fs/xfs/libxfs/xfs_defer.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.8"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.8",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.12.111",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.53",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.7",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "fs/xfs/libxfs/xfs_defer.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-97552

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#38002 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement