Use-after-free in Linux kernel - CVE-2026-64557

 

Use-after-free in Linux kernel - CVE-2026-64557

Published: July 30, 2026


Vulnerability identifier: #VU140103
CSH Severity: High
CVSS v4: 8.7 [CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-64557
CWE-ID: CWE-416
Exploitation vector: Adjecent network
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code.

The vulnerability exists due to use-after-free in l2cap_sock_new_connection_cb() in the Bluetooth L2CAP subsystem when handling a newly enqueued child socket reachable through the accept queue after the parent socket lock is released. A remote attacker can trigger a crafted Bluetooth L2CAP connection to execute arbitrary code.

The issue occurs because another task may accept and free the child socket before the callback dereferences it.


Affected software

Linux kernel
Debian Linux
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
openEuler
Ubuntu
linux (Ubuntu package)
linux-lowlatency (Ubuntu package)
linux-gcp (Ubuntu package)
linux-azure (Ubuntu package)
linux-aws (Ubuntu package)
linux-ibm (Ubuntu package)
linux-oracle (Ubuntu package)
linux-azure-fde (Ubuntu package)
linux-realtime (Ubuntu package)
linux-fips (Ubuntu package)
linux-gkeop (Ubuntu package)
linux-gke (Ubuntu package)
linux-azure-fips (Ubuntu package)
linux-aws-fips (Ubuntu package)
linux-gcp-fips (Ubuntu package)
kernel
python3-perf-debuginfo
python3-perf
perf-debuginfo
perf
kernel-tools-devel
kernel-tools-debuginfo
kernel-tools
kernel-headers
kernel-devel
kernel-debugsource
kernel-debuginfo
bpftool-debuginfo
bpftool
kernel-source
kernel (Red Hat package)
linux-nvidia-tegra (Ubuntu package)
linux (Debian package)
linux-gcp-7.0 (Ubuntu package)
linux-oem-7.0 (Ubuntu package)
linux-azure-7.0 (Ubuntu package)

How to mitigate CVE-2026-64557

Install security update from vendor's repository.

Linux kernel - update to 7.0 rc3
linux (Ubuntu package) - addressed in versions 6.8.0-147.147, 7.0.0-38.38, 7.0.0-38.38.1, 7.0.0-1008.9, 7.0.0-1013.13~24.04.1, 7.0.0-1014.14, 7.0.0-1015.15
linux-lowlatency (Ubuntu package) - update to 6.8.0-147.147.1
linux-gcp (Ubuntu package) - update to 6.8.0-1071.79
linux-azure (Ubuntu package) - addressed in versions 6.8.0-1071.79, 7.0.0-1016.16, 7.0.0-1017.17
linux-aws (Ubuntu package) - update to 6.8.0-1067.70
linux-ibm (Ubuntu package) - update to 6.8.0-1067.68
linux-oracle (Ubuntu package) - update to 6.8.0-1064.67
linux-azure-fde (Ubuntu package) - update to 6.8.0-1069.76
linux-realtime (Ubuntu package) - update to 6.8.1-1062.63
linux-fips (Ubuntu package) - update to 6.8.0-147.147+fips1
linux-gkeop (Ubuntu package) - update to 6.8.0-1052.56
linux-gke (Ubuntu package) - update to 6.8.0-1066.74
linux-azure-fips (Ubuntu package) - update to 6.8.0-1071.79+fips1
linux-aws-fips (Ubuntu package) - update to 6.8.0-1067.70+fips1
linux-gcp-fips (Ubuntu package) - update to 6.8.0-1071.79+fips1
kernel - update to 5.10.0-328.0.0.229
python3-perf-debuginfo - update to 5.10.0-328.0.0.229
python3-perf - update to 5.10.0-328.0.0.229
perf-debuginfo - update to 5.10.0-328.0.0.229
perf - update to 5.10.0-328.0.0.229
kernel-tools-devel - update to 5.10.0-328.0.0.229
kernel-tools-debuginfo - update to 5.10.0-328.0.0.229
kernel-tools - update to 5.10.0-328.0.0.229
kernel-headers - update to 5.10.0-328.0.0.229
kernel-devel - update to 5.10.0-328.0.0.229
kernel-debugsource - update to 5.10.0-328.0.0.229
kernel-debuginfo - update to 5.10.0-328.0.0.229
bpftool-debuginfo - update to 5.10.0-328.0.0.229
bpftool - update to 5.10.0-328.0.0.229
kernel-source - update to 5.10.0-328.0.0.229
kernel (Red Hat package) - update to 5.14.0-687.55.1.el9_8
linux-nvidia-tegra (Ubuntu package) - update to 6.8.0-1035.38
linux (Debian package) - update to 6.12.100-1
linux-gcp-7.0 (Ubuntu package) - addressed in versions 7.0.0-38.38~24.04.4, 7.0.0-1013.13~24.04.1, 7.0.0-1014.14~24.04.1
linux-oem-7.0 (Ubuntu package) - update to 7.0.0-1015.15
linux-azure-7.0 (Ubuntu package) - addressed in versions 7.0.0-1016.16~24.04.1, 7.0.0-1017.17~24.04.1

External References

Related Security Bulletins