Vulnerability in Linux

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 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.

EPSS: 0.001 (4.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

  • Linux — versions 45fe3b8e5342cd1ce307099459c74011d8e01986, 2.6.27, 0

References

Frequently asked questions

What is CVE-2025-40095?
CVE-2025-40095 is a high-severity vulnerability in Linux. CVSS score: 7.8/10. Published 2025-10-30.
How severe is CVE-2025-40095?
High severity. CVSS v3 base score is 7.8 out of 10.