cbcvebase.
CVE-2025-40093
published 2025-10-30

CVE-2025-40093: 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…

PriorityP337high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.14%
4.1th percentile
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.

Affected

21 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.158-1 (bookworm)linux 6.1.158-1 (bookworm)
debianlinux-6.1< linux 6.1.158-1 (bookworm)linux 6.1.158-1 (bookworm)
linuxlinux
linuxlinux>= da741b8c56d612b5dd26ffa31341911a5fea23ee < d3745aaef19198d0c81637a7dd50ef53c4f879b7d3745aaef19198d0c81637a7dd50ef53c4f879b7
linuxlinux>= da741b8c56d612b5dd26ffa31341911a5fea23ee < 070f341d86cf2c098d63e484a86c7c1d2696a868070f341d86cf2c098d63e484a86c7c1d2696a868
linuxlinux>= da741b8c56d612b5dd26ffa31341911a5fea23ee < 15b9faf53ba8719700596e7ef78879ce200e8c2e15b9faf53ba8719700596e7ef78879ce200e8c2e
linuxlinux>= da741b8c56d612b5dd26ffa31341911a5fea23ee < 4630c68bade82f087eaaab22e9a361da2f18d1394630c68bade82f087eaaab22e9a361da2f18d139
linuxlinux>= da741b8c56d612b5dd26ffa31341911a5fea23ee < 42988380ac67c76bb9dff8f77d7ef3eefd50b7b542988380ac67c76bb9dff8f77d7ef3eefd50b7b5
linuxlinux_kernel>= 0 < 6.1.158-16.1.158-1
linuxlinux_kernel>= 0 < 6.12.57-16.12.57-1
linuxlinux_kernel>= 0 < 6.17.6-16.17.6-1
linuxlinux_kernel>= 0 < 6.8.0-106.1066.8.0-106.106
linuxlinux_kernel>= 0 < 6.17.0-14.146.17.0-14.14
linuxlinux_kernel>= 2.6.27 < 6.1.1586.1.158
linuxlinux_kernel>= 6.13.0 < 6.17.56.17.5
linuxlinux_kernel>= 6.2.0 < 6.6.1146.6.114
linuxlinux_kernel>= 6.7.0 < 6.12.556.12.55
msrcazl3_kernel_6.6.104.2-4_on_azure_linux_3.0
ubuntulinux-aws
ubuntulinux-oracle
ubuntulinux-xilinx

CVSS provenance

nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv3.2LOW
vendor_ubuntu7.8HIGH
vendor_msrc7.1HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.