{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "07120f1abdff80f3d1351f733661abe28d609535"
            },
            {
              "fixed": "2fbc8421d1db102c0e5458607e042a23a03648b1"
            },
            {
              "fixed": "457121c01f609b9934addbb04d5c1ef638c71c61"
            },
            {
              "fixed": "530082df991903f3330354e99e0cb7b05debfa86"
            },
            {
              "fixed": "3a65ea768b8094e4699e72f9ab420eb9e0f3f568"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.9.0"
            },
            {
              "fixed": "6.12.75"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.16"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "6.19.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43153.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: remove xfs_attr_leaf_hasname\n\nThe calling convention of xfs_attr_leaf_hasname() is problematic, because\nit returns a NULL buffer when xfs_attr3_leaf_read fails, a valid buffer\nwhen xfs_attr3_leaf_lookup_int returns -ENOATTR or -EEXIST, and a\nnon-NULL buffer pointer for an already released buffer when\nxfs_attr3_leaf_lookup_int fails with other error values.\n\nFix this by simply open coding xfs_attr_leaf_hasname in the callers, so\nthat the buffer release code is done by each caller of\nxfs_attr3_leaf_read.",
  "id": "CVE-2026-43153",
  "modified": "2026-08-12T03:51:45.525122740Z",
  "published": "2026-05-06T11:27:34.446Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2fbc8421d1db102c0e5458607e042a23a03648b1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3a65ea768b8094e4699e72f9ab420eb9e0f3f568"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/457121c01f609b9934addbb04d5c1ef638c71c61"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/530082df991903f3330354e99e0cb7b05debfa86"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43153.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-43153"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "xfs: remove xfs_attr_leaf_hasname"
}