CVE-2026-64344

Source
https://cve.org/CVERecord?id=CVE-2026-64344
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64344.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-64344
Downstream
Published
2026-07-25T08:50:06.461Z
Modified
2026-07-27T04:03:19.540093387Z
Summary
USB: idmouse: fix use-after-free on disconnect race
Details

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

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

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64344.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
54d2bc068fd21bcb096660938bce7c7265613a24
Fixed
31e75fed8f90cfea9f8285e7ed135b0e452bf872
Fixed
8d53b14ad4ccbff6d306b3a39c812303f4a87d41
Fixed
f62622e947f82a3854a8502d09492ffbdeb252b4
Fixed
60fc5ef4ecea3e3d1fe556cecf53ddd13096ef09
Fixed
d0f61acb51a8c8f3fd41c303ddb7770cd83e7ed4
Fixed
54c2b7356b4aeea467f9fb13b85e9e036bc428cb
Fixed
e88cff5fbaa629f3cab45c8b46f395d62c2eb515
Fixed
ff002c153f9722caece3983cc23dc4d9d4652cb4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64344.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.24
Fixed
5.10.261
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.212
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.178
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.145
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.96
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.39
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64344.json"