Skip to content
Heist/ feed
High

xfs: remove xfs_attr_leaf_hasname

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: xfs: remove xfs_attr_leaf_hasname The calling convention of xfs_attr_leaf_hasname() is problematic, because it returns a NULL buffer when xfs_attr3_leaf_read fails, a valid buffer when xfs_attr3_leaf_lookup_int returns -ENOATTR or -EEXIST, and a non-NULL buffer pointer for an already released buffer when xfs_attr3_leaf_lookup_int fails with other error values. Fix this by simply open coding xfs_attr_leaf_hasname in the callers, so that the buffer release code is done by each caller of xfs_attr3_leaf_read.

Announced Source revision 1
Original source ↗

CVE-2026-43153

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

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": "07120f1abdff80f3d1351f733661abe28d609535",
        "lessThan": "759e44a6cba8e81d945ffc269a326ec39e7f54f5",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "07120f1abdff80f3d1351f733661abe28d609535",
        "lessThan": "2fbc8421d1db102c0e5458607e042a23a03648b1",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "07120f1abdff80f3d1351f733661abe28d609535",
        "lessThan": "457121c01f609b9934addbb04d5c1ef638c71c61",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "07120f1abdff80f3d1351f733661abe28d609535",
        "lessThan": "530082df991903f3330354e99e0cb7b05debfa86",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "07120f1abdff80f3d1351f733661abe28d609535",
        "lessThan": "3a65ea768b8094e4699e72f9ab420eb9e0f3f568",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "fs/xfs/libxfs/xfs_attr.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.6.160",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.75",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.16",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "6.19.6",
        "versionType": "semver",
        "lessThanOrEqual": "6.19.*"
      },
      {
        "status": "unaffected",
        "version": "7.0",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "fs/xfs/libxfs/xfs_attr.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-43153

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

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