{"id":"CVE-2026-64344","summary":"USB: idmouse: fix use-after-free on disconnect race","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nUSB: idmouse: fix use-after-free on disconnect race\n\nmutex_unlock() may access the mutex structure after releasing the lock\nand therefore cannot be used to manage lifetime of objects directly\n(unlike spinlocks and refcounts). [1][2]\n\nUse a kref to release the driver data to avoid use-after-free in\nmutex_unlock() when release() races with disconnect().\n\n[1] a51749ab34d9 (\"locking/mutex: Document that mutex_unlock() is\n                   non-atomic\")\n[2] 2b9d9e0a9ba0 (\"locking/mutex: Clarify that mutex_unlock(), and most\n                   other sleeping locks, can still use the lock object\n                   after it's unlocked\")","modified":"2026-07-27T04:03:19.540093387Z","published":"2026-07-25T08:50:06.461Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64344.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/31e75fed8f90cfea9f8285e7ed135b0e452bf872"},{"type":"WEB","url":"https://git.kernel.org/stable/c/54c2b7356b4aeea467f9fb13b85e9e036bc428cb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/60fc5ef4ecea3e3d1fe556cecf53ddd13096ef09"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8d53b14ad4ccbff6d306b3a39c812303f4a87d41"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d0f61acb51a8c8f3fd41c303ddb7770cd83e7ed4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e88cff5fbaa629f3cab45c8b46f395d62c2eb515"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f62622e947f82a3854a8502d09492ffbdeb252b4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ff002c153f9722caece3983cc23dc4d9d4652cb4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64344.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64344"},{"type":"PACKAGE","url":"https://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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.7.5"}