0.0
NA
CVE-2026-64454
usb: dwc3: run gadget disconnect from sleepable suspend context
Description

In the Linux kernel, the following vulnerability has been resolved: usb: dwc3: run gadget disconnect from sleepable suspend context dwc3_gadget_suspend() takes dwc->lock with IRQs disabled and then calls dwc3_disconnect_gadget(). For async callbacks that helper only uses plain spin_unlock()/spin_lock(), so the gadget ->disconnect() callback still runs with IRQs disabled and any sleepable callback trips Lockdep. This issue was found by our static analysis tool and then manually reviewed against the current tree. The grounded PoC kept the dwc3_gadget_suspend() -> dwc3_disconnect_gadget() -> gadget_driver->disconnect() chain, and Lockdep reported: BUG: sleeping function called from invalid context gadget_disconnect+0x21/0x39 [vuln_msv] dwc3_gadget_suspend.constprop.0+0x2b/0x42 [vuln_msv] Keep the disconnect callback selection in one common helper, but add a sleepable suspend-side wrapper which snapshots the callback under dwc->lock and then runs it after spin_unlock_irqrestore(). The regular event path still uses the existing spin_unlock()/spin_lock() window.

INFO

Published Date :

July 25, 2026, 10:17 a.m.

Last Modified :

July 25, 2026, 10:17 a.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-64454 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

Solution
Modify suspend logic to avoid sleeping in invalid contexts by releasing locks before callbacks.
  • Release dwc->lock before calling gadget driver disconnect.
  • Snapshot and run callback after spin_unlock_irqrestore.
  • Update dwc3 suspend logic for safe callback execution.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-64454 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-64454 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-64454 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-64454 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jul. 25, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '20351ddb1f41cfb3ae20e105425ef43a28393d76', 'lessThan': 'b399be2958456efe1b64b19c55a54a24e9035769', 'versionType': 'git'}, {'status': 'affected', 'version': 'ad43004fd5326bec4466ecc8a07fe0e570b553ca', 'lessThan': '48958478cb8dbc429a5b19f36e866b63d6297d1d', 'versionType': 'git'}, {'status': 'affected', 'version': 'c8540870af4ce6ddeb27a7bb5498b75fb29b643c', 'lessThan': '5e5798880eb1533a7de6fb68eb14b2d8202ebf76', 'versionType': 'git'}, {'status': 'affected', 'version': 'c8540870af4ce6ddeb27a7bb5498b75fb29b643c', 'lessThan': 'e0e4f15d4225fb7156cc0e3c21eb8953114f9b89', 'versionType': 'git'}, {'status': 'affected', 'version': 'c8540870af4ce6ddeb27a7bb5498b75fb29b643c', 'lessThan': 'c4e232bd07fe2b69a6e5c380db41dd36b95e0524', 'versionType': 'git'}, {'status': 'affected', 'version': 'c8540870af4ce6ddeb27a7bb5498b75fb29b643c', 'lessThan': '642e04f5c292d04070ae6e4374fbf14cc40a2465', 'versionType': 'git'}, {'status': 'affected', 'version': 'c8540870af4ce6ddeb27a7bb5498b75fb29b643c', 'lessThan': '010382937fb69892b3469ac4d30af072262f59e8', 'versionType': 'git'}, {'status': 'affected', 'version': '06684c72b6b153dc434bb6ccebbb49f4cd812b5e', 'versionType': 'git'}, {'status': 'affected', 'version': '5.15.128', 'lessThan': '5.15.212', 'versionType': 'semver'}, {'status': 'affected', 'version': '6.1.30', 'lessThan': '6.1.178', 'versionType': 'semver'}, {'status': 'affected', 'version': '6.3.4', 'lessThan': '6.4', 'versionType': 'semver'}], 'programFiles': ['drivers/usb/dwc3/gadget.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.4'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.4', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.96', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.39', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.4', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc3', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/usb/dwc3/gadget.c'], 'defaultStatus': 'affected'}]
    Added Description In the Linux kernel, the following vulnerability has been resolved: usb: dwc3: run gadget disconnect from sleepable suspend context dwc3_gadget_suspend() takes dwc->lock with IRQs disabled and then calls dwc3_disconnect_gadget(). For async callbacks that helper only uses plain spin_unlock()/spin_lock(), so the gadget ->disconnect() callback still runs with IRQs disabled and any sleepable callback trips Lockdep. This issue was found by our static analysis tool and then manually reviewed against the current tree. The grounded PoC kept the dwc3_gadget_suspend() -> dwc3_disconnect_gadget() -> gadget_driver->disconnect() chain, and Lockdep reported: BUG: sleeping function called from invalid context gadget_disconnect+0x21/0x39 [vuln_msv] dwc3_gadget_suspend.constprop.0+0x2b/0x42 [vuln_msv] Keep the disconnect callback selection in one common helper, but add a sleepable suspend-side wrapper which snapshots the callback under dwc->lock and then runs it after spin_unlock_irqrestore(). The regular event path still uses the existing spin_unlock()/spin_lock() window.
    Added Reference https://git.kernel.org/stable/c/010382937fb69892b3469ac4d30af072262f59e8
    Added Reference https://git.kernel.org/stable/c/48958478cb8dbc429a5b19f36e866b63d6297d1d
    Added Reference https://git.kernel.org/stable/c/5e5798880eb1533a7de6fb68eb14b2d8202ebf76
    Added Reference https://git.kernel.org/stable/c/642e04f5c292d04070ae6e4374fbf14cc40a2465
    Added Reference https://git.kernel.org/stable/c/b399be2958456efe1b64b19c55a54a24e9035769
    Added Reference https://git.kernel.org/stable/c/c4e232bd07fe2b69a6e5c380db41dd36b95e0524
    Added Reference https://git.kernel.org/stable/c/e0e4f15d4225fb7156cc0e3c21eb8953114f9b89
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.