PoC Monitor
← All CVEs
CVE-2025-40093published 30 Oct 2025 09:48 UTCData: JSON · API

Linux

usb: gadget: f_ecm: Refactor bind path to use __free()

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.8high · scored by CNA
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Linux Linux
  • >= da741b8c56d612b5dd26ffa31341911a5fea23ee, < d3745aaef19198d0c81637a7dd50ef53c4f879b7
  • >= da741b8c56d612b5dd26ffa31341911a5fea23ee, < 070f341d86cf2c098d63e484a86c7c1d2696a868
  • >= da741b8c56d612b5dd26ffa31341911a5fea23ee, < 15b9faf53ba8719700596e7ef78879ce200e8c2e
  • >= da741b8c56d612b5dd26ffa31341911a5fea23ee, < 4630c68bade82f087eaaab22e9a361da2f18d139
  • >= da741b8c56d612b5dd26ffa31341911a5fea23ee, < 42988380ac67c76bb9dff8f77d7ef3eefd50b7b5

Fixed in d3745aaef19198d0c81637a7dd50ef53c4f879b7, 070f341d86cf2c098d63e484a86c7c1d2696a868, 15b9faf53ba8719700596e7ef78879ce200e8c2e, 4630c68bade82f087eaaab22e9a361da2f18d139, 42988380ac67c76bb9dff8f77d7ef3eefd50b7b5

Linux Linux
  • 2.6.27

Fixed in 0, 6.1.158, 6.6.114, 6.12.55, 6.17.5, 6.18

Mitigation

Upgrade Linux to d3745aaef19198d0c81637a7dd50ef53c4f879b7 or 070f341d86cf2c098d63e484a86c7c1d2696a868 or 15b9faf53ba8719700596e7ef78879ce200e8c2e or 4630c68bade82f087eaaab22e9a361da2f18d139 or 42988380ac67c76bb9dff8f77d7ef3eefd50b7b5 or later.

Upgrade Linux to 0 or 6.1.158 or 6.6.114 or 6.12.55 or 6.17.5 or 6.18 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published30 Oct 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.