CVE-2026-64242
Last modified
CVE-2026-64242 is a vulnerability of currently unknown severity. In the Linux kernel, the following vulnerability has been resolved: usb: gadget: net2280: Fix double free in probe error path usb_initialize_gadget() installs gadget_release() as the release callback for the embedded gadget device. The struct net2280 instance is therefore released through gadget_release() when the gadget device's last reference is dropped. The probe error path calls net2280_remove(), which tears down the partially initialized device and drops the gadget reference with usb_put_gadget(). EPSS estimates a 0.17% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: net2280: Fix double free in probe error path usb_initialize_gadget() installs gadget_release() as the release callback for the embedded gadget device. The struct net2280 instance is therefore released through gadget_release() when the gadget device's last reference is dropped. The probe error path calls net2280_remove(), which tears down the partially initialized device and drops the gadget reference with usb_put_gadget(). Calling kfree(dev) afterwards can free the same object again. Drop the explicit kfree() and let the gadget device release callback handle the final free. This issue was found by a static analysis tool I am developing.
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= f770fbec4165b1acfabdeadb01ad6008d2c537b5, < 71b3391dc81655ff058492f8e9d013b2c6e5747b; >= f770fbec4165b1acfabdeadb01ad6008d2c537b5, < 550fa4d071a8c8e53072900869d37ae6abf4999d; >= f770fbec4165b1acfabdeadb01ad6008d2c537b5, < c5b9fdb1e8ddf50bc6272927edb118679f170350; >= f770fbec4165b1acfabdeadb01ad6008d2c537b5, < 085652fda7f38040d1a2c42d72614f418feb843f; >= f770fbec4165b1acfabdeadb01ad6008d2c537b5, < 48f89ead20e48d447ad29fa937b43b9fa981cf28; >= f770fbec4165b1acfabdeadb01ad6008d2c537b5, < e6f8be12f0307145b9a6010f044925952b37de8b; >= f770fbec4165b1acfabdeadb01ad6008d2c537b5, < db2b72e83a0208ae2b3b270bf91662b1c6849a9b; >= f770fbec4165b1acfabdeadb01ad6008d2c537b5, < c8547c74988e0b5f4cbb1b895e2a57aae084f070 |
| Linux | Linux | 5.10 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-64242?
How severe is CVE-2026-64242?
How do I fix CVE-2026-64242?
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 2026
- CVE-2026-64237In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2026-64238In the Linux kernel, the following vulnerability has been re…
- CVE-2026-64239In the Linux kernel, the following vulnerability has been re…
- CVE-2026-6424Use-after-free vulnerability in ESET Linux products potentia…6.7
- CVE-2026-64240In the Linux kernel, the following vulnerability has been re…
- CVE-2026-64241In the Linux kernel, the following vulnerability has been re…
- CVE-2026-64243In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2026-64244In the Linux kernel, the following vulnerability has been re…
- CVE-2026-64245In the Linux kernel, the following vulnerability has been re…
- CVE-2026-64246In the Linux kernel, the following vulnerability has been re…
- CVE-2026-64247In the Linux kernel, the following vulnerability has been re…8.4
- CVE-2026-64248In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-64242?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
