{
  "id": "CVE-2026-45951",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-45951",
  "published_at": "2026-05-27T12:18:07.255Z",
  "title": "bpf: Fix a potential use-after-free of BTF object",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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: Fix a potential use-after-free of BTF object\n\nRefcounting in the check_pseudo_btf_id() function is incorrect:\nthe __check_pseudo_btf_id() function might get called with a zero\nrefcounted btf. Fix this, and patch related code accordingly.\n\nv3: rephrase a comment (AI)\nv2: fix a refcount leak introduced in v1 (AI)",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 76145f7255326761dafb76721a785799d8a00d5f, \u003c eac65c272f3b49021a843cba5107d63627395e0e",
          "\u003e= 76145f7255326761dafb76721a785799d8a00d5f, \u003c 9ff46ffeecdb1802d6e26183177935b948a12e7f",
          "\u003e= 76145f7255326761dafb76721a785799d8a00d5f, \u003c ccd2d799ed4467c07f5ee18c2f5c59bcc990822c"
        ],
        "fixed_in": [
          "eac65c272f3b49021a843cba5107d63627395e0e",
          "9ff46ffeecdb1802d6e26183177935b948a12e7f",
          "ccd2d799ed4467c07f5ee18c2f5c59bcc990822c"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.14"
        ],
        "fixed_in": [
          "0",
          "6.18.14",
          "6.19.4",
          "7.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to eac65c272f3b49021a843cba5107d63627395e0e or 9ff46ffeecdb1802d6e26183177935b948a12e7f or ccd2d799ed4467c07f5ee18c2f5c59bcc990822c or later.",
      "Upgrade Linux to 0 or 6.18.14 or 6.19.4 or 7.0 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
