CVE-2026-64340

USB: legousbtower: fix use-after-free on disconnect race

HIGH
7.8
CVSS Score
Published: July 25, 2026 at 08:50 AM UTC
Updated: September 3, 2026 at 04:24 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.1%

Description

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")

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.25 ≤ v < 5.10.2612.6.25 ≤ v < 5.15.2122.6.25 ≤ v < 6.1.1782.6.25 ≤ v < 6.12.962.6.25 ≤ v < 6.18.392.6.25 ≤ v < 6.6.1452.6.25 ≤ v < 7.1.42.6.25 ≤ v < 7.25.11 ≤ v < 5.15.2125.16 ≤ v < 6.1.1786.13 ≤ v < 6.18.396.19 ≤ v < 7.1.46.2 ≤ v < 6.6.1456.7 ≤ v < 6.12.9618bcbcfe9ca2308ebffb40068b51803da9315d977.2 rc17.2 rc2
Vendor states this is fixed in 0b57e5ddbd89df3bc367463de3d2ca66f99a1a5e (fixed)
Vendor states this is fixed in 11d069f85851997b4ea0adf242ed9672dc749b8f (fixed)
Vendor states this is fixed in 62fc8eb1b1481051f7bab4aa93d79809053dd09f (fixed)
Vendor states this is fixed in 6462de75d2e370c7e74dcfb7b4ae79eb5a6a55ee (fixed)
Vendor states this is fixed in 766738ecf2b819e54d38763c8d1c8ae6cff14b39 (fixed)
Vendor states this is fixed in 9ba62966461a8e3cc593b62c56ec62eb2d80436d (fixed)
Vendor states this is fixed in ab2bfd7bec4f134b377ec42f513e90c35db94160 (fixed)
Vendor states this is fixed in b4222c05066b252b451f9c8c4730b5b60824ea66 (fixed)
Vendor states this is fixed in 2.6.25 (unaffected)
Vendor states this is fixed in 5.10.261 (unaffected)
Vendor states this is fixed in 5.15.212 (unaffected)
Vendor states this is fixed in 6.1.178 (unaffected)
Vendor states this is fixed in 6.12.96 (unaffected)
Vendor states this is fixed in 6.18.39 (unaffected)
Vendor states this is fixed in 6.6.145 (unaffected)
Vendor states this is fixed in 7.1.4 (unaffected)
Vendor states this is fixed in 7.2 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card