{
  "id": "CVE-2026-68399",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-68399",
  "published_at": "2026-08-10T12:04:18.837Z",
  "title": "bpf: Fix UAF in sock clone early bailouts",
  "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 UAF in sock clone early bailouts\n\nSimilar to recent commit 9b51a6155d14 (\"bpf,fork: wipe -\u003ebpf_storage\nbefore bailouts that access it\"), sk_clone() performs an initial\nshallow copy of the socket field -\u003esk_bpf_storage via sock_copy()\nfor the cloned socket newsk.\n\nIf sk_clone() bails out early (e.g. if sk_filter_charge() fails) prior\nto calling bpf_sk_storage_clone(), newsk-\u003esk_bpf_storage still points\nto the parent socket's BPF local storage. When newsk is subsequently\nfreed via sk_free(), the deallocation path (__sk_destruct() -\u003e\nbpf_sk_storage_free()) destroys the parent socket's BPF local storage,\nleading to a use-after-free (UAF) on the parent socket.\n\nFix this by resetting newsk-\u003esk_bpf_storage to NULL immediately after\nsock_copy() in sk_clone(), and remove the now redundant initialization\nfrom bpf_sk_storage_clone().",
  "cwe": "CWE-416",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, \u003c ac855efc6bb216b262b672af68219e5b731f42a4",
          "\u003e= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, \u003c f6814814b3bdd6ecb6bc1fc53ba4e827e0185f01",
          "\u003e= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, \u003c 24139461545e44442df9b80deace26b2eb3e103d",
          "\u003e= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, \u003c 01f8a354497ba739f81b691b3702bc4c46500a4d",
          "\u003e= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, \u003c 14b49b5ab29979552c219a09e569b424fbbf4a6e",
          "\u003e= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, \u003c 7cbd0c4cebe4c9f678d15e6b9ba975e1155a107f"
        ],
        "fixed_in": [
          "ac855efc6bb216b262b672af68219e5b731f42a4",
          "f6814814b3bdd6ecb6bc1fc53ba4e827e0185f01",
          "24139461545e44442df9b80deace26b2eb3e103d",
          "01f8a354497ba739f81b691b3702bc4c46500a4d",
          "14b49b5ab29979552c219a09e569b424fbbf4a6e",
          "7cbd0c4cebe4c9f678d15e6b9ba975e1155a107f"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.2"
        ],
        "fixed_in": [
          "0",
          "6.1.191",
          "6.6.160",
          "6.12.114",
          "6.18.57",
          "7.1.6",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to ac855efc6bb216b262b672af68219e5b731f42a4 or f6814814b3bdd6ecb6bc1fc53ba4e827e0185f01 or 24139461545e44442df9b80deace26b2eb3e103d or 01f8a354497ba739f81b691b3702bc4c46500a4d or 14b49b5ab29979552c219a09e569b424fbbf4a6e or 7cbd0c4cebe4c9f678d15e6b9ba975e1155a107f or later.",
      "Upgrade Linux to 0 or 6.1.191 or 6.6.160 or 6.12.114 or 6.18.57 or 7.1.6 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
