CVE-2026-64454 (GCVE-0-2026-64454)
Vulnerability from cvelistv5 – Published: 2026-07-25 08:51 – Updated: 2026-07-25 08:51
VLAI
EPSS
VEX
Title
usb: dwc3: run gadget disconnect from sleepable suspend context
Summary
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.
Severity
No CVSS data available.
Assigner
References
7 references
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Linux | Linux |
Affected:
20351ddb1f41cfb3ae20e105425ef43a28393d76 , < b399be2958456efe1b64b19c55a54a24e9035769
(git)
Affected: ad43004fd5326bec4466ecc8a07fe0e570b553ca , < 48958478cb8dbc429a5b19f36e866b63d6297d1d (git) Affected: c8540870af4ce6ddeb27a7bb5498b75fb29b643c , < 5e5798880eb1533a7de6fb68eb14b2d8202ebf76 (git) Affected: c8540870af4ce6ddeb27a7bb5498b75fb29b643c , < e0e4f15d4225fb7156cc0e3c21eb8953114f9b89 (git) Affected: c8540870af4ce6ddeb27a7bb5498b75fb29b643c , < c4e232bd07fe2b69a6e5c380db41dd36b95e0524 (git) Affected: c8540870af4ce6ddeb27a7bb5498b75fb29b643c , < 642e04f5c292d04070ae6e4374fbf14cc40a2465 (git) Affected: c8540870af4ce6ddeb27a7bb5498b75fb29b643c , < 010382937fb69892b3469ac4d30af072262f59e8 (git) Affected: 06684c72b6b153dc434bb6ccebbb49f4cd812b5e (git) Affected: 5.15.128 , < 5.15.212 (semver) Affected: 6.1.30 , < 6.1.178 (semver) Affected: 6.3.4 , < 6.4 (semver) |
|
| Linux | Linux |
Affected:
6.4
Unaffected: 0 , < 6.4 (semver) Unaffected: 5.15.212 , ≤ 5.15.* (semver) Unaffected: 6.1.178 , ≤ 6.1.* (semver) Unaffected: 6.6.145 , ≤ 6.6.* (semver) Unaffected: 6.12.96 , ≤ 6.12.* (semver) Unaffected: 6.18.39 , ≤ 6.18.* (semver) Unaffected: 7.1.4 , ≤ 7.1.* (semver) Unaffected: 7.2-rc3 , ≤ * (original_commit_for_fix) |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/usb/dwc3/gadget.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "b399be2958456efe1b64b19c55a54a24e9035769",
"status": "affected",
"version": "20351ddb1f41cfb3ae20e105425ef43a28393d76",
"versionType": "git"
},
{
"lessThan": "48958478cb8dbc429a5b19f36e866b63d6297d1d",
"status": "affected",
"version": "ad43004fd5326bec4466ecc8a07fe0e570b553ca",
"versionType": "git"
},
{
"lessThan": "5e5798880eb1533a7de6fb68eb14b2d8202ebf76",
"status": "affected",
"version": "c8540870af4ce6ddeb27a7bb5498b75fb29b643c",
"versionType": "git"
},
{
"lessThan": "e0e4f15d4225fb7156cc0e3c21eb8953114f9b89",
"status": "affected",
"version": "c8540870af4ce6ddeb27a7bb5498b75fb29b643c",
"versionType": "git"
},
{
"lessThan": "c4e232bd07fe2b69a6e5c380db41dd36b95e0524",
"status": "affected",
"version": "c8540870af4ce6ddeb27a7bb5498b75fb29b643c",
"versionType": "git"
},
{
"lessThan": "642e04f5c292d04070ae6e4374fbf14cc40a2465",
"status": "affected",
"version": "c8540870af4ce6ddeb27a7bb5498b75fb29b643c",
"versionType": "git"
},
{
"lessThan": "010382937fb69892b3469ac4d30af072262f59e8",
"status": "affected",
"version": "c8540870af4ce6ddeb27a7bb5498b75fb29b643c",
"versionType": "git"
},
{
"status": "affected",
"version": "06684c72b6b153dc434bb6ccebbb49f4cd812b5e",
"versionType": "git"
},
{
"lessThan": "5.15.212",
"status": "affected",
"version": "5.15.128",
"versionType": "semver"
},
{
"lessThan": "6.1.178",
"status": "affected",
"version": "6.1.30",
"versionType": "semver"
},
{
"lessThan": "6.4",
"status": "affected",
"version": "6.3.4",
"versionType": "semver"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/usb/dwc3/gadget.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "6.4"
},
{
"lessThan": "6.4",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.212",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.178",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.145",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.96",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.39",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.1.*",
"status": "unaffected",
"version": "7.1.4",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.2-rc3",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.212",
"versionStartIncluding": "5.15.128",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.178",
"versionStartIncluding": "6.1.30",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.6.145",
"versionStartIncluding": "6.4",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.96",
"versionStartIncluding": "6.4",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.39",
"versionStartIncluding": "6.4",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.1.4",
"versionStartIncluding": "6.4",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.2-rc3",
"versionStartIncluding": "6.4",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.3.4",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: dwc3: run gadget disconnect from sleepable suspend context\n\ndwc3_gadget_suspend() takes dwc-\u003elock with IRQs disabled and then calls\ndwc3_disconnect_gadget(). For async callbacks that helper only uses\nplain spin_unlock()/spin_lock(), so the gadget -\u003edisconnect() callback\nstill runs with IRQs disabled and any sleepable callback trips Lockdep.\n\nThis issue was found by our static analysis tool and then manually\nreviewed against the current tree.\n\nThe grounded PoC kept the dwc3_gadget_suspend() -\u003e\ndwc3_disconnect_gadget() -\u003e gadget_driver-\u003edisconnect() chain, and\nLockdep reported:\n\n BUG: sleeping function called from invalid context\n gadget_disconnect+0x21/0x39 [vuln_msv]\n dwc3_gadget_suspend.constprop.0+0x2b/0x42 [vuln_msv]\n\nKeep the disconnect callback selection in one common helper, but add a\nsleepable suspend-side wrapper which snapshots the callback under\ndwc-\u003elock and then runs it after spin_unlock_irqrestore(). The regular\nevent path still uses the existing spin_unlock()/spin_lock() window."
}
],
"providerMetadata": {
"dateUpdated": "2026-07-25T08:51:23.212Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/b399be2958456efe1b64b19c55a54a24e9035769"
},
{
"url": "https://git.kernel.org/stable/c/48958478cb8dbc429a5b19f36e866b63d6297d1d"
},
{
"url": "https://git.kernel.org/stable/c/5e5798880eb1533a7de6fb68eb14b2d8202ebf76"
},
{
"url": "https://git.kernel.org/stable/c/e0e4f15d4225fb7156cc0e3c21eb8953114f9b89"
},
{
"url": "https://git.kernel.org/stable/c/c4e232bd07fe2b69a6e5c380db41dd36b95e0524"
},
{
"url": "https://git.kernel.org/stable/c/642e04f5c292d04070ae6e4374fbf14cc40a2465"
},
{
"url": "https://git.kernel.org/stable/c/010382937fb69892b3469ac4d30af072262f59e8"
}
],
"title": "usb: dwc3: run gadget disconnect from sleepable suspend context",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-64454",
"datePublished": "2026-07-25T08:51:23.212Z",
"dateReserved": "2026-07-19T15:36:31.789Z",
"dateUpdated": "2026-07-25T08:51:23.212Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-64454",
"date": "2026-07-27",
"epss": "0.0018",
"percentile": "0.07873"
},
"microsoft_vex": {
"current_release_date": "2026-07-26T01:04:48.000Z",
"cve": "CVE-2026-64454",
"id": "msrc_CVE-2026-64454",
"initial_release_date": "2026-07-26T01:04:48.000Z",
"product_status:under_investigation": "1",
"source": "Microsoft CSAF VEX",
"status": "final",
"title": "usb: dwc3: run gadget disconnect from sleepable suspend context",
"url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-64454.json",
"version": "1"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2026-64454\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-07-25T10:17:30.407\",\"lastModified\":\"2026-07-25T10:17:30.407\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nusb: dwc3: run gadget disconnect from sleepable suspend context\\n\\ndwc3_gadget_suspend() takes dwc-\u003elock with IRQs disabled and then calls\\ndwc3_disconnect_gadget(). For async callbacks that helper only uses\\nplain spin_unlock()/spin_lock(), so the gadget -\u003edisconnect() callback\\nstill runs with IRQs disabled and any sleepable callback trips Lockdep.\\n\\nThis issue was found by our static analysis tool and then manually\\nreviewed against the current tree.\\n\\nThe grounded PoC kept the dwc3_gadget_suspend() -\u003e\\ndwc3_disconnect_gadget() -\u003e gadget_driver-\u003edisconnect() chain, and\\nLockdep reported:\\n\\n BUG: sleeping function called from invalid context\\n gadget_disconnect+0x21/0x39 [vuln_msv]\\n dwc3_gadget_suspend.constprop.0+0x2b/0x42 [vuln_msv]\\n\\nKeep the disconnect callback selection in one common helper, but add a\\nsleepable suspend-side wrapper which snapshots the callback under\\ndwc-\u003elock and then runs it after spin_unlock_irqrestore(). The regular\\nevent path still uses the existing spin_unlock()/spin_lock() window.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/usb/dwc3/gadget.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"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\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/usb/dwc3/gadget.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.4\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.4\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.212\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.178\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.145\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.96\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.39\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.4\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2-rc3\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/010382937fb69892b3469ac4d30af072262f59e8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/48958478cb8dbc429a5b19f36e866b63d6297d1d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/5e5798880eb1533a7de6fb68eb14b2d8202ebf76\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/642e04f5c292d04070ae6e4374fbf14cc40a2465\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b399be2958456efe1b64b19c55a54a24e9035769\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c4e232bd07fe2b69a6e5c380db41dd36b95e0524\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e0e4f15d4225fb7156cc0e3c21eb8953114f9b89\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
"suse_vex": {
"aggregate_severity": "not set",
"current_release_date": "2026-07-25T15:59:01Z",
"cve": "CVE-2026-64454",
"id": "CVE-2026-64454",
"initial_release_date": "2026-07-25T15:59:01Z",
"source": "SUSE CSAF VEX",
"status": "interim",
"title": "SUSE CVE CVE-2026-64454",
"url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-64454.json",
"version": "2"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
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.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
Loading…
Loading…