CVE-2025-40095
Last modified
CVE-2025-40095 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_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 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_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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 45fe3b8e5342cd1ce307099459c74011d8e01986, < ef81226bb1f8b6e761cd0b53d2696e9c1bc955d1; >= 45fe3b8e5342cd1ce307099459c74011d8e01986, < 5f65c8ad8c7292ed7e3716343fcd590a51818cc3; >= 45fe3b8e5342cd1ce307099459c74011d8e01986, < 380353c3a92be7d928e6f973bd065c5b79755ac3; >= 45fe3b8e5342cd1ce307099459c74011d8e01986, < a8366263b7e5b663d7fb489d3a9ba1e2600049a6; >= 45fe3b8e5342cd1ce307099459c74011d8e01986, < 08228941436047bdcd35a612c1aec0912a29d8cd |
| Linux | Linux | 2.6.27 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-40095?
How severe is CVE-2025-40095?
How do I fix CVE-2025-40095?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-4009The Evertz SDVN 3080ipx-10G is a High Bandwidth Ethernet Swi…9.3
- CVE-2025-40090In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-40091In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40092In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-40093In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-40094In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-40096In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-40097In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40098In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40099In the Linux kernel, the following vulnerability has been re…9.4
- CVE-2025-4010The Netcom NTC 6200 and NWL 222 series expose a web interfac…8.6
- CVE-2025-40100In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2025-40095?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
