CVE-2026-64344: USB: idmouse: fix use-after-free on disconnect race

Published Jul 25, 2026
·
Updated

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

USB: idmouse: 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

18 affected components
Linux Linux kernel
Linux Linux kernel>=2.6.24.1<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=2.6.24
Linux Linux kernel=2.6.24-rc2
Linux Linux kernel=2.6.24-rc3
Linux Linux kernel=2.6.24-rc4
Linux Linux kernel=2.6.24-rc5
Linux Linux kernel=2.6.24-rc6
Linux Linux kernel=2.6.24-rc7
Linux Linux kernel=2.6.24-rc8
Linux Linux kernel=7.2-rc1
Linux Linux kernel=7.2-rc2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Linux kernel (USB: idmouse) to a version that resolves this vulnerability.

    Patch a51749ab34d9
  2. Upgrade

    Upgrade Linux kernel (USB: idmouse) to a version that resolves this vulnerability.

    Patch 2b9d9e0a9ba0

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 level of access does an attacker need to exploit this issue?

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

2

Which systems are potentially exposed?

Linux systems using the kernel's idmouse USB driver are potentially affected, particularly where device release can race with USB disconnect handling.

3

What impact could successful exploitation have?

The CVSS assessment rates confidentiality, integrity, and availability impact as high. The underlying flaw is a use-after-free condition caused by a disconnect race.

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