CVE-2025-40093usb: gadget: f_ecm: Refactor bind path to use __free()
- 7.8HighCVSS base score
- 0.15%Exploitation in 30 daysEPSS · top 96% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_ecm: Refactor bind path to use __free() After an bind/unbind cycle, the ecm->notify_req is left stale. If a subsequent bind fails, the unified error label attempts to free this stale request, leading to a NULL pointer dereference when accessing ep->ops->free_request. Refactor the error handling in the bind path to use the __free() automatic cleanup mechanism.
Timeline
ID reserved
By Linux
- 7 months later
· 7 months later
Published
- 9 months later
· 9 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Deferred | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.15% · top 96% of all CVEs (17 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
- affected da741b8c56d612b5dd26ffa31341911a5fea23ee – < d3745aaef19198d0c81637a7dd50ef53c4f879b7
- affected da741b8c56d612b5dd26ffa31341911a5fea23ee – < 070f341d86cf2c098d63e484a86c7c1d2696a868
- affected da741b8c56d612b5dd26ffa31341911a5fea23ee – < 15b9faf53ba8719700596e7ef78879ce200e8c2e
- affected da741b8c56d612b5dd26ffa31341911a5fea23ee – < 4630c68bade82f087eaaab22e9a361da2f18d139
- affected da741b8c56d612b5dd26ffa31341911a5fea23ee – < 42988380ac67c76bb9dff8f77d7ef3eefd50b7b5
- affected 2.6.27
- unaffected < 2.6.27
- unaffected 6.1.158 – ≤ 6.1.*
- unaffected 6.6.114 – ≤ 6.6.*
- unaffected 6.12.55 – ≤ 6.12.*
- unaffected 6.17.5 – ≤ 6.17.*
- unaffected 6.18 – ≤ *
References
References5
- https://git.kernel.org/stable/c/d3745aaef19198d0c81637a7dd50ef53c4f879b7 (opens in a new tab)
- https://git.kernel.org/stable/c/070f341d86cf2c098d63e484a86c7c1d2696a868 (opens in a new tab)
- https://git.kernel.org/stable/c/15b9faf53ba8719700596e7ef78879ce200e8c2e (opens in a new tab)
- https://git.kernel.org/stable/c/4630c68bade82f087eaaab22e9a361da2f18d139 (opens in a new tab)
- https://git.kernel.org/stable/c/42988380ac67c76bb9dff8f77d7ef3eefd50b7b5 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-36985 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-40093)Record last updated .