mmc: vub300: defer reset until cmd_mutex is unlocked

Summary

CVECVE-2026-80659
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-08-28 08:16:51 UTC
Updated2026-08-28 08:16:51 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 88095e7b473a3d9ec3b9c60429576e9cbd327c89 8672b8bdbd2063b3fcbd75f729e4706fcdad2257 git Not specified
CNA Linux Linux affected 88095e7b473a3d9ec3b9c60429576e9cbd327c89 8344611477c9241f45f20981990780fc5f0996f8 git Not specified
CNA Linux Linux affected 88095e7b473a3d9ec3b9c60429576e9cbd327c89 2e6b9a394206c76dd417c991312f349435ef35e6 git Not specified
CNA Linux Linux affected 88095e7b473a3d9ec3b9c60429576e9cbd327c89 7ee7a77ec2f446109ab52cc80ace7acc22ab6211 git Not specified
CNA Linux Linux affected 88095e7b473a3d9ec3b9c60429576e9cbd327c89 9f5e04235a0b59e6e30af9f45511addf2604d757 git Not specified
CNA Linux Linux affected 88095e7b473a3d9ec3b9c60429576e9cbd327c89 bf9848a22a8e50d39d5e8d871581f0a8110f16b3 git Not specified
CNA Linux Linux affected 88095e7b473a3d9ec3b9c60429576e9cbd327c89 c2e1d33929565fa14c48d8a5a45edc3ebfc941b2 git Not specified
CNA Linux Linux affected 88095e7b473a3d9ec3b9c60429576e9cbd327c89 ee5fb641c4ccac8406c668d3e947eb20ce44f233 git Not specified
CNA Linux Linux affected 3.0 Not specified
CNA Linux Linux unaffected 3.0 semver Not specified
CNA Linux Linux unaffected 5.10.261 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.212 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.178 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.145 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.97 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.40 6.18.* semver Not specified
CNA Linux Linux unaffected 7.1.5 7.1.* semver Not specified
CNA Linux Linux unaffected 7.2 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/8344611477c9241f45f20981990780fc5f0996f8 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/c2e1d33929565fa14c48d8a5a45edc3ebfc941b2 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/2e6b9a394206c76dd417c991312f349435ef35e6 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/8672b8bdbd2063b3fcbd75f729e4706fcdad2257 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/7ee7a77ec2f446109ab52cc80ace7acc22ab6211 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/ee5fb641c4ccac8406c668d3e947eb20ce44f233 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/9f5e04235a0b59e6e30af9f45511addf2604d757 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/bf9848a22a8e50d39d5e8d871581f0a8110f16b3 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report