CVE-2026-68399: kernel: bpf: Fix UAF in sock clone early bailouts | OX.Radar
Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2026-68399

kernel: bpf: Fix UAF in sock clone early bailouts

Overview

Published
10 Aug 2026
Modified
30 Oct 2026
High CVE
0 Registry packages
308 OS packages
10 Linux distributions
Yes Fix available

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

fixed 1
kernel
Azure Linux fixes for CVE-2026-68399
ReleasePackageFixed in
3.0 kernel 0:6.6.161.1-1.azl3

Photon OS 1 release · 1 package

fixed 1
bpftool
Photon OS fixes for CVE-2026-68399
ReleasePackageFixed in
5.0 bpftool +10 6.12.114-1.ph5

Red Hat 2 releases · 1 package

wont fix 1 affected 1
bpftool
Red Hat fixes for CVE-2026-68399
ReleasePackageFixed in
8 bpftool +45 wont fix
9 bpftool +106 affected

SUSE Linux Enterprise 2 releases · 5 packages

fixed 7
kernel-livepatch-6-4-0-150700-7-75-rt kernel-livepatch-6-4-0-150700-53-81-default cluster-md-kmp-default kernel-default-base kernel-64kb
SUSE Linux Enterprise fixes for CVE-2026-68399
ReleasePackageFixed inAdvisory
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

fixed 8
kernel-devel-rt kernel-default kernel-default-base kernel-64kb
SUSE Linux Enterprise Micro fixes for CVE-2026-68399
ReleasePackageFixed inAdvisory
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

fixed 4
kernel-livepatch-6-1-186-228-374 bpftool bpftool6-12 bpftool6-18
amazon linux fixes for CVE-2026-68399
ReleasePackageFixed 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

affected 1 fixed 4
linux linux-6-12
debian fixes for CVE-2026-68399
ReleasePackageFixed 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

fixed 1
linux
echo fixes for CVE-2026-68399
ReleasePackageFixed in
linux 1

openSUSE Leap 2 releases · 2 packages

fixed 4
cluster-md-kmp-64kb kernel-default-base
openSUSE Leap fixes for CVE-2026-68399
ReleasePackageFixed inAdvisory
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

affected 4 fixed 67
linux-aws-5-4 linux linux-nvidia-tegra-5-15 linux-ibm-5-15 linux-riscv-5-15 linux-intel-iotg-5-15 +44
ubuntu fixes for CVE-2026-68399
ReleasePackageFixed 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

Show all 31 references

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.