CVE-2025-40095usb: gadget: f_rndis: 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_rndis: Refactor bind path to use __free() After an bind/unbind cycle, the rndis->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 (16 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 45fe3b8e5342cd1ce307099459c74011d8e01986 – < ef81226bb1f8b6e761cd0b53d2696e9c1bc955d1
- affected 45fe3b8e5342cd1ce307099459c74011d8e01986 – < 5f65c8ad8c7292ed7e3716343fcd590a51818cc3
- affected 45fe3b8e5342cd1ce307099459c74011d8e01986 – < 380353c3a92be7d928e6f973bd065c5b79755ac3
- affected 45fe3b8e5342cd1ce307099459c74011d8e01986 – < a8366263b7e5b663d7fb489d3a9ba1e2600049a6
- affected 45fe3b8e5342cd1ce307099459c74011d8e01986 – < 08228941436047bdcd35a612c1aec0912a29d8cd
- 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/ef81226bb1f8b6e761cd0b53d2696e9c1bc955d1 (opens in a new tab)
- https://git.kernel.org/stable/c/5f65c8ad8c7292ed7e3716343fcd590a51818cc3 (opens in a new tab)
- https://git.kernel.org/stable/c/380353c3a92be7d928e6f973bd065c5b79755ac3 (opens in a new tab)
- https://git.kernel.org/stable/c/a8366263b7e5b663d7fb489d3a9ba1e2600049a6 (opens in a new tab)
- https://git.kernel.org/stable/c/08228941436047bdcd35a612c1aec0912a29d8cd (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-36983 (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-40095)Record last updated .