CVE-2025-40093

HIGHCVSS 7.8/10EPSS 0.19%

Last modified

CVE-2025-40093 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.. EPSS estimates a 0.19% chance of exploitation in the next 30 days.

Description

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.

Metrics

CVSS 3.1
7.8/10

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
0.19%

8.6th percentile

Probability of exploitation in the next 30 days. Learn more

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
LinuxLinux>= da741b8c56d612b5dd26ffa31341911a5fea23ee, < d3745aaef19198d0c81637a7dd50ef53c4f879b7; >= da741b8c56d612b5dd26ffa31341911a5fea23ee, < 070f341d86cf2c098d63e484a86c7c1d2696a868; >= da741b8c56d612b5dd26ffa31341911a5fea23ee, < 15b9faf53ba8719700596e7ef78879ce200e8c2e; >= da741b8c56d612b5dd26ffa31341911a5fea23ee, < 4630c68bade82f087eaaab22e9a361da2f18d139; >= da741b8c56d612b5dd26ffa31341911a5fea23ee, < 42988380ac67c76bb9dff8f77d7ef3eefd50b7b5
LinuxLinux2.6.27

References

Timeline

Published
Last Modified
Status
Deferred

Frequently Asked Questions

What is 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 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.
How severe is CVE-2025-40093?
CVE-2025-40093 has a CVSS score of 7.8/10 (HIGH severity). The EPSS model estimates a 0.19% probability of exploitation in the next 30 days.
How do I fix CVE-2025-40093?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2025

Are you affected by CVE-2025-40093?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST