Use-after-free in Linux kernel - CVE-2026-64025
Published: July 20, 2026
Vulnerability details
The vulnerability allows a local user to cause a denial of service or execute arbitrary code.
The vulnerability exists due to a use-after-free in sk_psock_verdict_data_ready in the Linux kernel BPF sockmap/skmsg handling when processing socket data with a TLS RX context present. A local user can trigger the race condition to cause a denial of service or execute arbitrary code.
Exploitation requires a socket to be inserted into a sockmap before TLS RX is configured.
Affected software
Ubuntu
openEuler
kernel-source
kernel-headers
kernel-extra-modules
kernel-devel
kernel-debugsource
kernel-debuginfo
bpftool-debuginfo
bpftool
kernel
kernel-tools
kernel-tools-debuginfo
kernel-tools-devel
perf
perf-debuginfo
python3-perf
python3-perf-debuginfo
linux (Ubuntu package)
linux-lowlatency (Ubuntu package)
linux-nvidia-tegra (Ubuntu package)
linux-gcp-6.8 (Ubuntu package)
linux-oracle (Ubuntu package)
linux-aws-fips (Ubuntu package)
linux-aws (Ubuntu package)
linux-azure (Ubuntu package)
linux-azure-fips (Ubuntu package)
linux-azure-6.8 (Ubuntu package)
linux-raspi-realtime (Ubuntu package)
linux-ibm (Ubuntu package)
linux-oracle-7.0 (Ubuntu package)
linux-gcp-7.0 (Ubuntu package)
linux-azure-7.0 (Ubuntu package)
linux-nvidia (Ubuntu package)
linux-nvidia-bos (Ubuntu package)
How to mitigate CVE-2026-64025
kernel-source - update to 6.6.0-145.3.29.160
kernel-headers - update to 6.6.0-145.3.29.160
kernel-extra-modules - update to 6.6.0-145.3.29.160
kernel-devel - update to 6.6.0-145.3.29.160
kernel-debugsource - update to 6.6.0-145.3.29.160
kernel-debuginfo - update to 6.6.0-145.3.29.160
bpftool-debuginfo - update to 6.6.0-145.3.29.160
bpftool - update to 6.6.0-145.3.29.160
kernel - update to 6.6.0-145.3.29.160
kernel-tools - update to 6.6.0-145.3.29.160
kernel-tools-debuginfo - update to 6.6.0-145.3.29.160
kernel-tools-devel - update to 6.6.0-145.3.29.160
perf - update to 6.6.0-145.3.29.160
perf-debuginfo - update to 6.6.0-145.3.29.160
python3-perf - update to 6.6.0-145.3.29.160
python3-perf-debuginfo - update to 6.6.0-145.3.29.160
linux (Ubuntu package) - addressed in versions 6.8.0-139.139+fips1, 6.8.0-1049.53, 6.8.0-1062.65+fips1, 6.8.0-1062.65.1, 6.8.0-1062.65~22.04.1, 6.8.0-1062.70, 6.8.0-1064.68, 6.8.0-1067.75, 6.8.0-1067.75+fips1, 6.8.1-1059.60, 6.8.1-1059.60~22.04.1
linux-lowlatency (Ubuntu package) - addressed in versions 6.8.0-139.139.1, 6.8.0-139.139.1~22.04.1
linux-nvidia-tegra (Ubuntu package) - update to 6.8.0-1035.38
linux-gcp-6.8 (Ubuntu package) - addressed in versions 6.8.0-1036.37, 6.8.0-1064.65, 6.8.0-1067.75~22.04.1
linux-oracle (Ubuntu package) - addressed in versions 6.8.0-1061.64, 6.8.0-1061.64~22.04.1
linux-aws-fips (Ubuntu package) - update to 6.8.0-1064.67+fips1
linux-aws (Ubuntu package) - addressed in versions 6.8.0-1064.67~22.04.1, 7.0.0-1009.9, 7.0.0-1015.15
linux-azure (Ubuntu package) - addressed in versions 6.8.0-1067.75, 7.0.0-1009.9, 7.0.0-1010.10
linux-azure-fips (Ubuntu package) - update to 6.8.0-1067.75+fips1
linux-azure-6.8 (Ubuntu package) - update to 6.8.0-1067.75~22.04.1
linux-raspi-realtime (Ubuntu package) - update to 6.8.0-2053.55
linux-ibm (Ubuntu package) - addressed in versions 7.0.0-1008.8, 7.0.0-1010.10
linux-oracle-7.0 (Ubuntu package) - update to 7.0.0-1011.11~24.04.1
linux-gcp-7.0 (Ubuntu package) - update to 7.0.0-1011.11~24.04.1
linux-azure-7.0 (Ubuntu package) - update to 7.0.0-1014.14~24.04.1
linux-nvidia (Ubuntu package) - addressed in versions 7.0.0-1016.16, 7.0.0-1016.16~24.04.1
linux-nvidia-bos (Ubuntu package) - update to 7.0.0-2016.16
External References
- https://git.kernel.org/stable/c/1861d369efd62d67796563bf3e01fc22e5626f8b
- https://git.kernel.org/stable/c/7c8cf21bc4efb4af18d6096db3f8bd06d622251c
- https://git.kernel.org/stable/c/8a52139560f833c3975032e1f5762611e3a36d71
- https://git.kernel.org/stable/c/c9ea01768903ae47f210cd457af1dead6de7a9c3
- https://git.kernel.org/stable/c/ddf8029623a1af20e984c040e89ff918158397ab
Related Security Bulletins
- Use-after-free in Linux kernel core
- Ubuntu update for linux-ibm
- Ubuntu update for linux-azure
- Ubuntu update for linux-aws
- Ubuntu update for linux-nvidia-bos
- Ubuntu update for linux-nvidia
- openEuler 24.03 LTS SP3 update for kernel
- Ubuntu update for linux
- Ubuntu update for linux-gcp-7.0
- Ubuntu update for linux-aws
- Ubuntu update for linux-oracle-7.0
- Ubuntu update for linux-aws-fips
- Ubuntu update for linux-lowlatency
- Ubuntu update for linux-azure-7.0
- Ubuntu update for linux-oracle
- Ubuntu update for linux-azure-6.8
- Ubuntu update for linux-gcp-6.8
- Ubuntu update for linux-raspi-realtime
- Ubuntu update for linux-azure-fips
- Ubuntu update for linux-nvidia-tegra
- Ubuntu update for linux-azure