{"vuln_id":"CVE-2026-68399","aliases":[],"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 ->bpf_storage\nbefore bailouts that access it\"), sk_clone() performs an initial\nshallow copy of the socket field ->sk_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->sk_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() ->\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->sk_bpf_storage to NULL immediately after\nsock_copy() in sk_clone(), and remove the now redundant initialization\nfrom bpf_sk_storage_clone().","published_at":"2026-08-10T13:20:33.383000Z","modified_at":"2026-11-23T08:17:19.040000Z","first_seen_at":"2026-11-23T08:34:13.959406Z","severity":"high","severity_source":"nvd","cvss_score":7.8,"cvss_vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-416"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00171,"epss_percentile":0.06506,"nvd_status":"Received","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-68399"},"matched_alias":null,"items":[{"id":15261,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-68399: In the Linux kernel, the following vulnerability has been resolved: bpf: Fix UAF in sock clone early bailouts Similar to recent commit 9b51a6155d14 (\"bpf,fork:…","summary":"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 ->bpf_storage\nbefore bailouts that access it\"), sk_clone() performs an initial\nshallow copy of the socket field ->sk_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->sk_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() ->\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->sk_bpf_storage to NULL immediately after\nsock_copy() in sk_clone(), and remove the now redundant initialization\nfrom bpf_sk_storage_clone().\n\nReferences:\nhttps://git.kernel.org/stable/c/01f8a354497ba739f81b691b3702bc4c46500a4d\nhttps://git.kernel.org/stable/c/14b49b5ab29979552c219a09e569b424fbbf4a6e\nhttps://git.kernel.org/stable/c/24139461545e44442df9b80deace26b2eb3e103d\nhttps://git.kernel.org/stable/c/413fb3e4bec0193d91a648d133c7bc4c0e630ae0\nhttps://git.kernel.org/stable/c/5ec83e8875feece269d41a68a794048ed75831e1\nhttps://git.kernel.org/stable/c/7cbd0c4cebe4c9f678d15e6b9ba975e1155a107f\nhttps://git.kernel.org/stable/c/ac855efc6bb216b262b672af68219e5b731f42a4\nhttps://git.kernel.org/stable/c/f6814814b3bdd6ecb6bc1fc53ba4e827e0185f01","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68399","published_at":"2026-08-10T13:20:33.383000Z","updated_at":"2026-11-23T08:17:19.040000Z","fetched_at":"2026-11-23T08:34:13.729480Z","severity":"high","cvss_score":7.8,"epss":0.00171,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"linux","product":null,"vuln_id":"CVE-2026-68399","vuln_ids":["CVE-2026-68399"],"tags":["CWE-416"],"cluster_id":13903,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/15261","html":"https://vulnwatch.ve1ve2.com/item/15261"}}]}