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")
Published: 2026-07-25
Score: 7.0 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A race condition between the legacy USB tower driver’s release routine and its disconnect path allows a mutex unlock operation to access a freed driver data structure. The resulting use-after-free can corrupt kernel memory during a USB unplug/replug cycle, potentially compromising kernel integrity.

Affected Systems

The flaw resides in the Linux kernel’s legacy USB handler. Any kernel version that deploys the legacy USB driver before the referenced commits (0b57e5dd, 11d069f858, 62fc8eb1, 6462de75d2e, 766738ecf, 9ba629664, ab2bfd7bec, or b4222c05066b) is potentially vulnerable. Kernel builds without the legacy USB subsystem, or with the driver disabled, remain unexposed.

Risk and Exploitability

The EPSS score is reported as < 1%, indicating a low probability of widespread exploitation. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires local control over USB plug/unplug events to trigger the race; a remote attacker cannot directly exploit the flaw. The likely attack vector is local, as it appears to depend on the ability to manipulate USB hardware on the host, but this is inferred from the description.

Generated by OpenCVE AI on August 5, 2026 at 00:59 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the commits referenced above, ensuring the legacy USB tower driver is patched.
  • If an update is delayed, block the legacy driver by adding modules.blacklist=legousbtower to the kernel boot parameters or unloading the module via rmmod before the driver loads.
  • Isolate USB-connected devices to a dedicated VM or container with reduced privileges to contain any impact.

Generated by OpenCVE AI on August 5, 2026 at 00:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4717-1 linux security update
Debian DLA Debian DLA DLA-4720-1 linux security update
Debian DLA Debian DLA DLA-4723-1 linux-6.1 security update
Debian DLA Debian DLA DLA-4724-1 linux-6.12 new package
History

Mon, 03 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Thu, 30 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-364
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Moderate


Tue, 28 Jul 2026 16:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Sat, 25 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
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")
Title USB: legousbtower: fix use-after-free on disconnect race
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-25T08:50:03.896Z

Reserved: 2026-07-19T15:36:31.781Z

Link: CVE-2026-64340

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-07-25T10:17:15.983

Modified: 2026-08-11T15:00:57.447

Link: CVE-2026-64340

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-25T00:00:00Z

Links: CVE-2026-64340 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T01:00:07Z

Weaknesses
  • CWE-364

    Signal Handler Race Condition