VDB

CVE-2026-68399

CVE-2026-68399 PUBLISHED CVSS 7.8 HIGH

bpf: Fix UAF in sock clone early bailouts

Reported by linux · Published August 10, 2026

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: wipe ->bpf_storage before bailouts that access it"), sk_clone() performs an initial shallow copy of the socket field ->sk_bpf_storage via sock_copy() for the cloned socket newsk. If sk_clone() bails out early (e.g. if sk_filter_charge() fails) prior to calling bpf_sk_storage_clone(), newsk->sk_bpf_storage still points to the parent socket's BPF local storage. When newsk is subsequently freed via sk_free(), the deallocation path (__sk_destruct() -> bpf_sk_storage_free()) destroys the parent socket's BPF local storage, leading to a use-after-free (UAF) on the parent socket. Fix this by resetting newsk->sk_bpf_storage to NULL immediately after sock_copy() in sk_clone(), and remove the now redundant initialization from bpf_sk_storage_clone().

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-toolsAmazon Linux1:6.1.186-228.374.amzn2023
kernel6.12-develAmazon Linux1:6.12.113-138.209.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.113-138.209.amzn2023
microvm-kernel6.18Amazon Linux1:6.18.56-125.164.amzn2023
python3-perfAmazon Linux1:6.1.186-228.374.amzn2023
kernel6.18-headersAmazon Linux1:6.18.56-125.164.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.56-125.164.amzn2023

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d
LinuxLinux5.2, 0, 6.1.191
amazon:2023kernel-tools0
amazon:2023kernel6.12-devel0
amazon:2023kernel6.12-tools0
amazon:2023microvm-kernel6.180
amazon:2023python3-perf0
amazon:2023kernel6.18-headers0
amazon:2023kernel6.18-tools-devel0
linuxlinux_kernel5.2, 5.2, 5.2
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel-devel0
amazon:2023python3-perf6.180
amazon:2023kernel-tools-devel0
amazon:2023kernel6.12-headers0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.18-tools0
amazon:2023kernel-livepatch-6.1.186-228.3740
amazon:2023perf6.120
amazon:2023kernel6.120

…and 18 more

Timeline

  • Aug 10, 2026 Coalition ESS Score
  • Aug 10, 2026 CVE Published
  • Aug 21, 2026 Security Advisory
  • Aug 24, 2026 EPSS Score (11 in total, the first dated here)
  • Oct 30, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-68399
vulnetix vdb fixes CVE-2026-68399

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-68399/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›