GHSA-7XH8-9FPC-P64F
Vulnerability from github – Published: 2026-08-28 09:31 – Updated: 2026-08-28 09:31In the Linux kernel, the following vulnerability has been resolved:
mmc: vub300: defer reset until cmd_mutex is unlocked
vub300_cmndwork_thread() holds cmd_mutex while it sends a command and waits for the command response. If the response wait times out, __vub300_command_response() kills the command URBs and then synchronously resets the USB device through usb_reset_device().
That reset path re-enters the driver through vub300_pre_reset(), which also takes cmd_mutex. The worker therefore tries to acquire the same mutex recursively while it is still holding it from the command path.
This issue was found by our static analysis tool and then manually reviewed against the current tree.
The grounded PoC kept the real worker and timeout/reset carrier:
vub300_cmndwork_thread() __vub300_command_response() usb_lock_device_for_reset() usb_reset_device() vub300_pre_reset()
Lockdep reported the same-task recursive acquisition on cmd_mutex:
WARNING: possible recursive locking detected ... (&test_vub300.cmd_mutex) ... at: usb_reset_device... [vuln_msv] ... (&test_vub300.cmd_mutex) ... at: vub300_cmndwork_thread+0x12/0x20 [vuln_msv] Workqueue: vub300_cmd_wq vub300_cmndwork_thread [vuln_msv] *** DEADLOCK ***
Return a flag from __vub300_command_response() when the timeout path needs a device reset, then perform the reset after vub300_cmndwork_thread() has cleared the in-flight command state and dropped cmd_mutex. The reset is still attempted before mmc_request_done(), preserving the existing request completion ordering while avoiding the recursive lock.
{
"affected": [],
"aliases": [
"CVE-2026-80659"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-08-28T08:16:51Z",
"severity": null
},
"details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: vub300: defer reset until cmd_mutex is unlocked\n\nvub300_cmndwork_thread() holds cmd_mutex while it sends a command and\nwaits for the command response. If the response wait times out,\n__vub300_command_response() kills the command URBs and then synchronously\nresets the USB device through usb_reset_device().\n\nThat reset path re-enters the driver through vub300_pre_reset(), which\nalso takes cmd_mutex. The worker therefore tries to acquire the same\nmutex recursively while it is still holding it from the command path.\n\nThis issue was found by our static analysis tool and then manually\nreviewed against the current tree.\n\nThe grounded PoC kept the real worker and timeout/reset carrier:\n\n vub300_cmndwork_thread()\n __vub300_command_response()\n usb_lock_device_for_reset()\n usb_reset_device()\n vub300_pre_reset()\n\nLockdep reported the same-task recursive acquisition on cmd_mutex:\n\n WARNING: possible recursive locking detected\n ... (\u0026test_vub300.cmd_mutex) ... at: usb_reset_device... [vuln_msv]\n ... (\u0026test_vub300.cmd_mutex) ... at: vub300_cmndwork_thread+0x12/0x20 [vuln_msv]\n Workqueue: vub300_cmd_wq vub300_cmndwork_thread [vuln_msv]\n *** DEADLOCK ***\n\nReturn a flag from __vub300_command_response() when the timeout path needs\na device reset, then perform the reset after vub300_cmndwork_thread() has\ncleared the in-flight command state and dropped cmd_mutex. The reset is\nstill attempted before mmc_request_done(), preserving the existing request\ncompletion ordering while avoiding the recursive lock.",
"id": "GHSA-7xh8-9fpc-p64f",
"modified": "2026-08-28T09:31:48Z",
"published": "2026-08-28T09:31:48Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-80659"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/2e6b9a394206c76dd417c991312f349435ef35e6"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/7ee7a77ec2f446109ab52cc80ace7acc22ab6211"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/8344611477c9241f45f20981990780fc5f0996f8"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/8672b8bdbd2063b3fcbd75f729e4706fcdad2257"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/9f5e04235a0b59e6e30af9f45511addf2604d757"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/bf9848a22a8e50d39d5e8d871581f0a8110f16b3"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/c2e1d33929565fa14c48d8a5a45edc3ebfc941b2"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/ee5fb641c4ccac8406c668d3e947eb20ce44f233"
}
],
"schema_version": "1.4.0",
"severity": []
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.