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

 

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

Published: July 27, 2026


Vulnerability identifier: #VU139646
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-64340
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to cause a denial of service.

The vulnerability exists due to a use-after-free in the legousbtower USB driver when handling a race between device release and disconnect. A local user can trigger the race condition by opening and releasing the device while it is being disconnected to cause a denial of service.

The issue arises from object lifetime management during concurrent disconnect and release operations.


Affected software

Linux kernel
openEuler
Ubuntu
bpftool
python3-perf-debuginfo
python3-perf
perf-debuginfo
perf
kernel-tools-devel
kernel-tools-debuginfo
kernel-tools
kernel-source
kernel-headers
kernel-devel
kernel-debugsource
kernel-debuginfo
bpftool-debuginfo
kernel
linux (Ubuntu package)
linux-gcp-7.0 (Ubuntu package)
linux-oem-7.0 (Ubuntu package)

How to mitigate CVE-2026-64340

Install security update from vendor's repository.

Linux kernel - update to 7.0 rc3
bpftool - update to 5.10.0-329.0.0.230
python3-perf-debuginfo - update to 5.10.0-329.0.0.230
python3-perf - update to 5.10.0-329.0.0.230
perf-debuginfo - update to 5.10.0-329.0.0.230
perf - update to 5.10.0-329.0.0.230
kernel-tools-devel - update to 5.10.0-329.0.0.230
kernel-tools-debuginfo - update to 5.10.0-329.0.0.230
kernel-tools - update to 5.10.0-329.0.0.230
kernel-source - update to 5.10.0-329.0.0.230
kernel-headers - update to 5.10.0-329.0.0.230
kernel-devel - update to 5.10.0-329.0.0.230
kernel-debugsource - update to 5.10.0-329.0.0.230
kernel-debuginfo - update to 5.10.0-329.0.0.230
bpftool-debuginfo - update to 5.10.0-329.0.0.230
kernel - update to 5.10.0-329.0.0.230
linux (Ubuntu package) - addressed in versions 7.0.0-31.31, 7.0.0-31.31.1, 7.0.0-31.31~24.04.1, 7.0.0-1006.7, 7.0.0-1011.11~24.04.1, 7.0.0-1012.12, 7.0.0-1012.12~24.04.1
linux-gcp-7.0 (Ubuntu package) - update to 7.0.0-1011.11~24.04.1
linux-oem-7.0 (Ubuntu package) - update to 7.0.0-1013.13

External References

Related Security Bulletins