CVE-2026-64340

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

No CVSS score yet EPSS 0.17%

Published 25 Jul 2026 Updated 6 Nov 2026 CNA: Linux

Check your servers for CVE-2026-64340

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-64340 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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

Exploitation

EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.77% of all scored CVEs. Scores of 30 Nov 2026.

The assessment of CISA (SSVC, 6 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 18bcbcfe9ca2308ebffb40068b51803da9315d97, before 11d069f85851997b4ea0adf242ed9672dc749b8f
affected from 18bcbcfe9ca2308ebffb40068b51803da9315d97, before b4222c05066b252b451f9c8c4730b5b60824ea66
affected from 18bcbcfe9ca2308ebffb40068b51803da9315d97, before 6462de75d2e370c7e74dcfb7b4ae79eb5a6a55ee
affected from 18bcbcfe9ca2308ebffb40068b51803da9315d97, before 0b57e5ddbd89df3bc367463de3d2ca66f99a1a5e
affected from 18bcbcfe9ca2308ebffb40068b51803da9315d97, before ab2bfd7bec4f134b377ec42f513e90c35db94160
affected from 18bcbcfe9ca2308ebffb40068b51803da9315d97, before 766738ecf2b819e54d38763c8d1c8ae6cff14b39
affected from 18bcbcfe9ca2308ebffb40068b51803da9315d97, before 9ba62966461a8e3cc593b62c56ec62eb2d80436d
affected from 18bcbcfe9ca2308ebffb40068b51803da9315d97, before 62fc8eb1b1481051f7bab4aa93d79809053dd09f
Other versions: unaffected
Linux
affected 2.6.25
unaffected before 2.6.25
unaffected from 5.10.261 up to and including 5.10.*
unaffected from 5.15.212 up to and including 5.15.*
unaffected from 6.1.178 up to and including 6.1.*
unaffected from 6.6.145 up to and including 6.6.*
unaffected from 6.12.96 up to and including 6.12.*
unaffected from 6.18.39 up to and including 6.18.*
unaffected from 7.1.4 up to and including 7.1.*
unaffected 7.2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-64340 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-64340

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-64340
trivy image --scanners vuln IMAGE | grep CVE-2026-64340

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-64340 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.