{
  "id": "CVE-2026-98543",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-98543",
  "published_at": "2026-10-18T15:18:10.823Z",
  "title": "bpf: fs/xattr: don't assume the inode is locked in path_unlink/path_rmdir",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.3,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: fs/xattr: don't assume the inode is locked in path_unlink/path_rmdir\n\nbpf_lsm_has_d_inode_locked() makes the verifier rewrite\nbpf_[set|remove]_dentry_xattr() to the _locked variants, which assume\nthat the caller already holds the inode's i_rwsem.  The path_unlink and\npath_rmdir hooks are listed, but security_path_unlink() and\nsecurity_path_rmdir() run before vfs_unlink()/vfs_rmdir() take the\nvictim inode's i_rwsem, so a sleepable BPF LSM program attached to\neither hook mutates the victim's xattrs without the lock held.\n\nDrop the two path hooks from d_inode_locked_hooks so that the verifier\nkeeps the locking bpf_[set|remove]_dentry_xattr() variants, which take\nthe lock themselves.",
  "cvss_by_source": {
    "cna": 7.3
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 56467292794b800164df20c076c409ac548e56ec, \u003c 7504b677c4370c9e4b153c553ff8831c093b1ff6",
          "\u003e= 56467292794b800164df20c076c409ac548e56ec, \u003c 640d37fbd34d03af727dbc567f48c0203d1de6b4",
          "\u003e= 56467292794b800164df20c076c409ac548e56ec, \u003c 35d442ed1f86465e49df3119fb898f985186db13"
        ],
        "fixed_in": [
          "7504b677c4370c9e4b153c553ff8831c093b1ff6",
          "640d37fbd34d03af727dbc567f48c0203d1de6b4",
          "35d442ed1f86465e49df3119fb898f985186db13"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.15"
        ],
        "fixed_in": [
          "0",
          "6.18.55",
          "7.2.9",
          "7.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 7504b677c4370c9e4b153c553ff8831c093b1ff6 or 640d37fbd34d03af727dbc567f48c0203d1de6b4 or 35d442ed1f86465e49df3119fb898f985186db13 or later.",
      "Upgrade Linux to 0 or 6.18.55 or 7.2.9 or 7.3 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
