CVE-2026-64343: USB: ldusb: fix use-after-free on disconnect race

Published Jul 25, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

mutexunlock() 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 mutexunlock() when release() races with disconnect().

[1] a51749ab34d9 ("locking/mutex: Document that mutexunlock() is non-atomic") [2] 2b9d9e0a9ba0 ("locking/mutex: Clarify that mutexunlock(), and most other sleeping locks, can still use the lock object after it's unlocked")

Affected Software

10 affected components
Linux Linux kernel
Linux Linux kernel>=2.6.26<5.10.261
Linux Linux kernel>=5.11<5.15.212
Linux Linux kernel>=5.16<6.1.178
Linux Linux kernel>=6.2<6.6.145
Linux Linux kernel>=6.7<6.12.96
Linux Linux kernel>=6.13<6.18.39
Linux Linux kernel>=6.19<7.1.4
Linux Linux kernel=7.2-rc1
Linux Linux kernel=7.2-rc2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Apply the resolved kernel change for "USB: ldusb: fix use-after-free on disconnect race" by updating the ldusb driver to use a kref to release driver data, avoiding use-after-free when release() races with disconnect().

    Linux kernel (USB: ldusb) Implement driver-data lifetime management using kref to fix use-after-free on disconnect race = kref-based release of driver data

Event History

Jul 25, 2026
CVE Published
via MITRE·08:50 AM
Data Sourced
via MITRE·08:50 AM
Description
Data Sourced
via NVD·10:17 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What access does an attacker need to exploit this issue?

The CVSS vector indicates local attack access and low privileges are required. No user interaction is required.

2

What conditions trigger the vulnerable race?

The issue occurs when the ldusb driver's release() path races with USB device disconnect handling, allowing use-after-free during mutex_unlock(). Systems using the affected ldusb driver are the relevant exposure scope described.

3

What is the impact if exploited?

The CVSS rating is 7.8 High, with high impact to confidentiality, integrity, and availability. The scope is unchanged according to the provided vector.

4

Is there a fix available?

Yes. The vulnerability is described as resolved by changing driver-data lifetime management to use a kref, preventing the release/disconnect race from freeing data while it may still be accessed.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203