CVE-2026-68399
kernel: bpf: Fix UAF in sock clone early bailouts
Overview
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().
Source: OX vulnerability database
Severity
7.8 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-416
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 104 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | kernel | 0:6.6.161.1-1.azl3 |
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 5.0 | bpftool +10 | 6.12.114-1.ph5 |
Red Hat 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | bpftool +45 | wont fix |
| 9 | bpftool +106 | affected |
SUSE Linux Enterprise 2 releases · 5 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.7 | kernel-livepatch-6-4-0-150700-7-75-rt | 1-150700.1.3.1 | SUSE-SU-2026:4120-1 |
| 15.7 | kernel-livepatch-6-4-0-150700-53-81-default | 1-150700.15.3.1 | SUSE-SU-2026:4254-1 |
| 15.7 | cluster-md-kmp-default +20 | 6.4.0-150700.53.81.1 | SUSE-SU-2026:4254-1 |
| 15.7 | kernel-default-base | 6.4.0-150700.53.81.1.150700.17.45.1 | SUSE-SU-2026:4254-1 |
| 16.0 | cluster-md-kmp-default +2 | 6.12.0-160000.38.1 | SUSE-SU-2026:23897-1 |
| 16.0 | kernel-64kb +23 | 6.12.0-160000.38.1 | SUSE-SU-2026:23902-1 |
1 more row
SUSE Linux Enterprise Micro 3 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 6.0 | kernel-devel-rt +3 | 6.4.0-52.1 | SUSE-SU-2026:23477-1 |
| 6.0 | kernel-default +5 | 6.4.0-52.1 | SUSE-SU-2026:23481-1 |
| 6.0 | kernel-default-base | 6.4.0-52.1.21.36 | SUSE-SU-2026:23481-1 |
| 6.1 | kernel-devel-rt +4 | 6.4.0-52.1 | SUSE-SU-2026:23528-1 |
| 6.1 | kernel-default +6 | 6.4.0-52.1 | SUSE-SU-2026:23529-1 |
| 6.1 | kernel-default-base | 6.4.0-52.1.21.34 | SUSE-SU-2026:23529-1 |
2 more rows
amazon linux 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | kernel-livepatch-6-1-186-228-374 +2 | 1:1.0-0.amzn2023 |
| 2023 | bpftool +16 | 1:6.1.186-228.374.amzn2023 |
| 2023 | bpftool6-12 +16 | 1:6.12.113-138.209.amzn2023 |
| 2023 | bpftool6-18 +17 | 1:6.18.56-125.164.amzn2023 |
debian 4 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 11 | linux | affected |
| 12 | linux | 6.1.192-1 |
| 12 | linux-6-12 | 6.12.115-2~deb12u1 |
| 13 | linux | 6.12.115-2 |
| 14 | linux | 7.1.6-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| linux | 1 |
openSUSE Leap 2 releases · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | cluster-md-kmp-64kb +74 | 6.12.0-160000.38.1 | openSUSE-SU-2026:21910-1 |
| 16.0 | kernel-default-base | 6.12.0-160000.38.1.160000.2.22 | openSUSE-SU-2026:21910-1 |
| 16.1 | cluster-md-kmp-64kb +74 | 6.12.0-160100.9.1 | openSUSE-SU-2026:22309-1 |
| 16.1 | kernel-default-base | 6.12.0-160100.9.1.160100.3.14 | openSUSE-SU-2026:22309-1 |
ubuntu 5 releases · 50 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | linux-aws-5-4 +6 | affected |
| 20.04-ESM | linux +10 | affected |
| 20.04-ESM | linux-nvidia-tegra-5-15 | 5.15.0-1070.72~20.04.1 |
| 20.04-ESM | linux-ibm-5-15 | 5.15.0-1113.117~20.04.1 |
| 20.04-ESM | linux-riscv-5-15 | 5.15.0-1113.117~20.04.2 |
| 20.04-ESM | linux-intel-iotg-5-15 | 5.15.0-1114.120~20.04.1 |
65 more rows
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-68399
- git.kernel.org https://git.kernel.org/stable/c/01f8a354497ba739f81b691b3702bc4c46500a4d
- git.kernel.org https://git.kernel.org/stable/c/14b49b5ab29979552c219a09e569b424fbbf4a6e
- git.kernel.org https://git.kernel.org/stable/c/24139461545e44442df9b80deace26b2eb3e103d
- git.kernel.org https://git.kernel.org/stable/c/7cbd0c4cebe4c9f678d15e6b9ba975e1155a107f
- git.kernel.org https://git.kernel.org/stable/c/ac855efc6bb216b262b672af68219e5b731f42a4
- git.kernel.org https://git.kernel.org/stable/c/f6814814b3bdd6ecb6bc1fc53ba4e827e0185f01
- lore.kernel.org https://lore.kernel.org/linux-cve-announce/2026081048-CVE-2026-68399-848a@gregkh/T
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-68399
- ubuntu.com https://ubuntu.com/security/notices/USN-8886-1
Show all 31 references
- ubuntu.com https://ubuntu.com/security/notices/USN-8887-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8887-2
- ubuntu.com https://ubuntu.com/security/notices/USN-8887-3
- ubuntu.com https://ubuntu.com/security/notices/USN-8888-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8888-2
- ubuntu.com https://ubuntu.com/security/notices/USN-8889-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8917-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8918-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8961-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8962-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8963-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9003-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9021-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9024-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9025-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9026-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9029-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9040-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9043-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9066-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-68399
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.