CVE-2026-64340: USB: legousbtower: fix use-after-free on disconnect race
High 7.8 EPSS 0.1% Linux kernel
In the Linux kernel, the following vulnerability has been resolved: USB: legousbtower: fix use-after-free on disconnect race mutex_unlock() may access the mutex structure after releasing the lock and therefore cannot be used to manage lifetime of objects directly (unlike spinlocks and refcounts). [1][2] Use a kref to release the driver data to avoid use-after-free in mutex_unlock() when release() races with disconnect(). [1] a51749ab34d9 ("locking/mutex: Document that mutex_unlock() is non-atomic") [2] 2b9d9e0a9ba0 ("locking/mutex: Clarify that mutex_unlock(), and most other sleeping locks, can still use the lock object after it's unlocked")
- CVE-2026-64340CVE identifier
- 7.8CVSS 3.1 base score (high)
- 0.1%EPSS: chance of exploitation in the next 30 days (higher than 2% of CVEs)
- 2026-07-25published
What do these terms mean? CVE · CVSS score · exploited (KEV) · EPSS · backported fix · all terms
What to do now
- Check whether you run Linux kernel and which version (commands below).
- Install the fixed version for your system: see “Patch it” below.
- Reboot into the new kernel (uname -r to confirm); live patching (kpatch, Ubuntu Livepatch, SUSE kGraft/klp) can defer the reboot for some CVEs
Affected and fixed versions
Affected:
- Linux Linux 18bcbcfe9ca2308ebffb40068b51803da9315d97 to before 11d069f85851997b4ea0adf242ed9672dc749b8f
- Linux Linux 18bcbcfe9ca2308ebffb40068b51803da9315d97 to before b4222c05066b252b451f9c8c4730b5b60824ea66
- Linux Linux 18bcbcfe9ca2308ebffb40068b51803da9315d97 to before 6462de75d2e370c7e74dcfb7b4ae79eb5a6a55ee
- Linux Linux 18bcbcfe9ca2308ebffb40068b51803da9315d97 to before 0b57e5ddbd89df3bc367463de3d2ca66f99a1a5e
- Linux Linux 18bcbcfe9ca2308ebffb40068b51803da9315d97 to before ab2bfd7bec4f134b377ec42f513e90c35db94160
- Linux Linux 18bcbcfe9ca2308ebffb40068b51803da9315d97 to before 766738ecf2b819e54d38763c8d1c8ae6cff14b39
- Linux Linux 18bcbcfe9ca2308ebffb40068b51803da9315d97 to before 9ba62966461a8e3cc593b62c56ec62eb2d80436d
- Linux Linux 18bcbcfe9ca2308ebffb40068b51803da9315d97 to before 62fc8eb1b1481051f7bab4aa93d79809053dd09f
- Linux Linux 2.6.25
Patch it
Use the commands for your system. Distribution packages often keep an older version number with the fix backported, so compare with the fixed package versions in the table below, not only with the upstream version.
Debian
sudo apt update
sudo apt install --only-upgrade linux-image-amd64Ubuntu
sudo apt update
sudo apt install --only-upgrade linux-image-generic (or the installed flavour: linux-image-aws, -azure, -gcp, -virtual)RHEL, AlmaLinux, Rocky, Oracle
sudo dnf upgrade --refresh kernelFedora
sudo dnf upgrade --refresh kernelSUSE / openSUSE
sudo zypper refresh
sudo zypper update kernel-defaultAmazon Linux
sudo dnf upgrade --releasever=latest kernel kernel6.12Arch Linux
sudo pacman -SyuAlpine
apk update && apk upgrade linux-lts linux-virtFreeBSD
not LinuxGeneral update steps for every system are on the Linux and Unix & BSD pages; after updating, see which services to restart.
Fix status in Linux distributions
| Release | Package | Status | Fixed version / advisory |
|---|---|---|---|
| Debian 12 | linux | fixed | 6.1.180-1 |
| Debian 13 | linux | fixed | 6.12.96-1 |
| Debian testing | linux | fixed | 7.1.4-1 |
| Debian 12 | linux-6.12 | fixed | 6.12.100-1~deb12u1 |
| Red Hat Enterprise Linux 9 | kernel | affected | |
| Red Hat Enterprise Linux 9 | kernel-rt | affected | |
| Red Hat Enterprise Linux 8 | kernel | affected | |
| Red Hat Enterprise Linux 8 | kernel-rt | affected | |
| Red Hat Enterprise Linux 7 | kernel | affected | |
| Red Hat Enterprise Linux 7 | kernel-rt | affected | |
| Red Hat Enterprise Linux 6 | kernel | out of support scope | |
| Red Hat Enterprise Linux 10 | kernel | affected | |
From the Debian security tracker, Ubuntu CVE tracker and Red Hat Security Data API, refreshed every few hours.
Sources
- https://git.kernel.org/stable/c/11d069f85851997b4ea0adf242ed9672dc749b8f
- https://git.kernel.org/stable/c/b4222c05066b252b451f9c8c4730b5b60824ea66
- https://git.kernel.org/stable/c/6462de75d2e370c7e74dcfb7b4ae79eb5a6a55ee
- https://git.kernel.org/stable/c/0b57e5ddbd89df3bc367463de3d2ca66f99a1a5e
- https://git.kernel.org/stable/c/ab2bfd7bec4f134b377ec42f513e90c35db94160
- https://git.kernel.org/stable/c/766738ecf2b819e54d38763c8d1c8ae6cff14b39
- https://git.kernel.org/stable/c/9ba62966461a8e3cc593b62c56ec62eb2d80436d
- https://git.kernel.org/stable/c/62fc8eb1b1481051f7bab4aa93d79809053dd09f
- CVE-2026-64340 on CVE.org
- CVE-2026-64340 on NVD
Page generated automatically from official sources on 2026-11-03 18:05 UTC. Always confirm with your vendor's advisory.