Skip to content
Heist/ feed
High

xfs: avoid dereferencing log items after push callbacks

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: xfs: avoid dereferencing log items after push callbacks After xfsaild_push_item() calls iop_push(), the log item may have been freed if the AIL lock was dropped during the push. Background inode reclaim or the dquot shrinker can free the log item while the AIL lock is not held, and the tracepoints in the switch statement dereference the log item after iop_push() returns. Fix this by capturing the log item type, flags, and LSN before calling xfsaild_push_item(), and introducing a new xfs_ail_push_class trace event class that takes these pre-captured values and the ailp pointer instead of the log item pointer.

Announced Group revision 1
Original source ↗

CVE-2026-31453

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-31453

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": "90c60e16401248a4900f3f9387f563d0178dcf34",
        "lessThan": "c8a2ab339b88d10fc34a3318c92f07d8a467019d",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "90c60e16401248a4900f3f9387f563d0178dcf34",
        "lessThan": "7121b22b0bac89394cc4c6a54b5aebc15347bdf5",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "90c60e16401248a4900f3f9387f563d0178dcf34",
        "lessThan": "c4d603e8e58a3bf35480135ccca2b4f7238abda5",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "90c60e16401248a4900f3f9387f563d0178dcf34",
        "lessThan": "95fb5d643cc70959baa54cd17f52f80ffc3295e7",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "90c60e16401248a4900f3f9387f563d0178dcf34",
        "lessThan": "451c6329d9afa45862c36fe6677eb7750db60617",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "90c60e16401248a4900f3f9387f563d0178dcf34",
        "lessThan": "79ef34ec0554ec04bdbafafbc9836423734e1bd6",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "fs/xfs/xfs_trace.h",
      "fs/xfs/xfs_trans_ail.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5.9"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.9",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.1.168",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.131",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.80",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.21",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "6.19.11",
        "versionType": "semver",
        "lessThanOrEqual": "6.19.*"
      },
      {
        "status": "unaffected",
        "version": "7.0",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "fs/xfs/xfs_trace.h",
      "fs/xfs/xfs_trans_ail.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-31453

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

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