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

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

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

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>= 45fe3b8e5342cd1ce307099459c74011d8e01986 < ef81226bb1f8b6e761cd0b53d2696e9c1bc955d1ef81226bb1f8b6e761cd0b53d2696e9c1bc955d1
linuxlinux>= 45fe3b8e5342cd1ce307099459c74011d8e01986 < 5f65c8ad8c7292ed7e3716343fcd590a51818cc35f65c8ad8c7292ed7e3716343fcd590a51818cc3
linuxlinux>= 45fe3b8e5342cd1ce307099459c74011d8e01986 < 380353c3a92be7d928e6f973bd065c5b79755ac3380353c3a92be7d928e6f973bd065c5b79755ac3
linuxlinux>= 45fe3b8e5342cd1ce307099459c74011d8e01986 < a8366263b7e5b663d7fb489d3a9ba1e2600049a6a8366263b7e5b663d7fb489d3a9ba1e2600049a6
linuxlinux>= 45fe3b8e5342cd1ce307099459c74011d8e01986 < 08228941436047bdcd35a612c1aec0912a29d8cd08228941436047bdcd35a612c1aec0912a29d8cd
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_msrc5.5MEDIUM
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.