CVE-2026-68399
bpf: Fix UAF in sock clone early bailouts
Mitigation
- Upgrade Linux to 7cbd0c4cebe4c9f678d15e6b9ba975e1155a107f or later.
Who should check
- Anyone running Linux >= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, < 413fb3e4bec0193d91a648d133c7bc4c0e630ae0; >= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, < 5ec83e8875feece269d41a68a794048ed75831e1; >= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, < ac855efc6bb216b262b672af68219e5b731f42a4; >= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, < f6814814b3bdd6ecb6bc1fc53ba4e827e0185f01; >= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, < 24139461545e44442df9b80deace26b2eb3e103d; >= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, < 01f8a354497ba739f81b691b3702bc4c46500a4d; >= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, < 14b49b5ab29979552c219a09e569b424fbbf4a6e; >= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, < 7cbd0c4cebe4c9f678d15e6b9ba975e1155a107f
- Anyone running Linux 5.2
Vulnerability facts
- Affected
- Linux >= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, < 413fb3e4bec0193d91a648d133c7bc4c0e630ae0; >= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, < 5ec83e8875feece269d41a68a794048ed75831e1; >= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, < ac855efc6bb216b262b672af68219e5b731f42a4; >= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, < f6814814b3bdd6ecb6bc1fc53ba4e827e0185f01; >= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, < 24139461545e44442df9b80deace26b2eb3e103d; >= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, < 01f8a354497ba739f81b691b3702bc4c46500a4d; >= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, < 14b49b5ab29979552c219a09e569b424fbbf4a6e; >= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, < 7cbd0c4cebe4c9f678d15e6b9ba975e1155a107f; Linux 5.2
- Fixed in
- Linux 413fb3e4bec0193d91a648d133c7bc4c0e630ae0, Linux 5ec83e8875feece269d41a68a794048ed75831e1, Linux 24139461545e44442df9b80deace26b2eb3e103d, Linux 01f8a354497ba739f81b691b3702bc4c46500a4d, Linux 14b49b5ab29979552c219a09e569b424fbbf4a6e, Linux 7cbd0c4cebe4c9f678d15e6b9ba975e1155a107f
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.17% chance of exploitation in 30 days (percentile 4, 2026-11-26)
- CWE
- CWE-416
- Modified
Description
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().
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, < 413fb3e4bec0193d91a648d133c7bc4c0e630ae0; >= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, < 5ec83e8875feece269d41a68a794048ed75831e1; >= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, < ac855efc6bb216b262b672af68219e5b731f42a4; >= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, < f6814814b3bdd6ecb6bc1fc53ba4e827e0185f01; >= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, < 24139461545e44442df9b80deace26b2eb3e103d; >= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, < 01f8a354497ba739f81b691b3702bc4c46500a4d; >= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, < 14b49b5ab29979552c219a09e569b424fbbf4a6e; >= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, < 7cbd0c4cebe4c9f678d15e6b9ba975e1155a107f | — | cvelist |
| Linux | 5.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-68399. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-68399.md Affected: Linux >= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, < 413fb3e4bec0193d91a648d133c7bc4c0e630ae0; >= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, < 5ec83e8875feece269d41a68a794048ed75831e1; >= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, < ac855efc6bb216b262b672af68219e5b731f42a4; >= 6ac99e8f23d4b10258406ca… Fixed in: Linux 413fb3e4bec0193d91a648d133c7bc4c0e630ae0, Linux 5ec83e8875feece269d41a68a794048ed75831e1, Linux 24139461545e44442df9b80deace26b2eb3e103d, Linux 01f8a354497ba739f81b691b3702bc4c46500a4d, Linux 14b49b5ab29979552c219a09e569b424fbbf4a6e, Linux 7cbd0c4cebe4c9f678d15e6b9ba975e1155a107f Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://git.kernel.org/stable/c/413fb3e4bec0193d91a648d133c7bc4c0e630ae0
- https://git.kernel.org/stable/c/5ec83e8875feece269d41a68a794048ed75831e1
- https://git.kernel.org/stable/c/ac855efc6bb216b262b672af68219e5b731f42a4
- https://git.kernel.org/stable/c/f6814814b3bdd6ecb6bc1fc53ba4e827e0185f01
- https://git.kernel.org/stable/c/24139461545e44442df9b80deace26b2eb3e103d
- https://git.kernel.org/stable/c/01f8a354497ba739f81b691b3702bc4c46500a4d
- https://git.kernel.org/stable/c/14b49b5ab29979552c219a09e569b424fbbf4a6e
- https://git.kernel.org/stable/c/7cbd0c4cebe4c9f678d15e6b9ba975e1155a107f
FAQ
Is CVE-2026-68399 being exploited?
There is no confirmed exploitation: CVE-2026-68399 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-68399?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-68399?
Linux >= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, < 413fb3e4bec0193d91a648d133c7bc4c0e630ae0; >= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, < 5ec83e8875feece269d41a68a794048ed75831e1; >= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, < ac855efc6bb216b262b672af68219e5b731f42a4; >= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, < f6814814b3bdd6ecb6bc1fc53ba4e827e0185f01; >= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, < 24139461545e44442df9b80deace26b2eb3e103d; >= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, < 01f8a354497ba739f81b691b3702bc4c46500a4d; >= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, < 14b49b5ab29979552c219a09e569b424fbbf4a6e; >= 6ac99e8f23d4b10258406ca0dd7bffca5f31da9d, < 7cbd0c4cebe4c9f678d15e6b9ba975e1155a107f; Linux 5.2.
Is there a fix for CVE-2026-68399?
Yes. Fixed in Linux 413fb3e4bec0193d91a648d133c7bc4c0e630ae0, Linux 5ec83e8875feece269d41a68a794048ed75831e1, Linux 24139461545e44442df9b80deace26b2eb3e103d, Linux 01f8a354497ba739f81b691b3702bc4c46500a4d, Linux 14b49b5ab29979552c219a09e569b424fbbf4a6e, Linux 7cbd0c4cebe4c9f678d15e6b9ba975e1155a107f. Upgrade Linux to 7cbd0c4cebe4c9f678d15e6b9ba975e1155a107f or later.
How do I check if I'm affected by CVE-2026-68399?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.