NONE · 0

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

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

References

FAQ

What is CVE-2025-40095?

CVE-2025-40095 is a documented vulnerability. 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 sub...

How severe is CVE-2025-40095?

CVSS scoring is not yet available for CVE-2025-40095. Check NVD for updates.

Is there a patch for CVE-2025-40095?

Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.