CVE-2026-64242
Last modified
CVE-2026-64242 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: 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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 5.10, < 5.10.259 | — |
| Linux | Linux Kernel | >= 5.11, < 5.15.210 | — |
| Linux | Linux Kernel | >= 5.16, < 6.1.176 | — |
| Linux | Linux Kernel | >= 6.2, < 6.6.143 | — |
| Linux | Linux Kernel | >= 6.7, < 6.12.93 | — |
| Linux | Linux Kernel | >= 6.13, < 6.18.35 | — |
| Linux | Linux Kernel | >= 6.19, < 7.0.12 | — |
| Linux | Linux Kernel | 7.1 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
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…5.5
- CVE-2026-64239In the Linux kernel, the following vulnerability has been re…7.8
- 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…5.5
- CVE-2026-64241In the Linux kernel, the following vulnerability has been re…5.5
- 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…5.5
- CVE-2026-64245In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-64246In the Linux kernel, the following vulnerability has been re…7.8
- 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…5.5
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
