CVE-2026-64242

published 24 Jul 2026 · updated 10 Nov 2026

usb: gadget: net2280: Fix double free in probe error path

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.10.259, Kernel 5.15.210, Kernel 6.1.176 and 12 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=5.10 <5.10.259, >=5.11 <5.15.210, >=5.16 <6.1.176, >=6.13 <6.18.35, >=6.19 <7.0.12, >=6.2 <6.6.143, >=6.7 <6.12.93, =7.1, >=f770fbec4165b1acfabdeadb01ad6008d2c537b5 <48f89ead20e48d447ad29fa937b43b9fa981cf28, >=f770fbec4165b1acfabdeadb01ad6008d2c537b5 <550fa4d071a8c8e53072900869d37ae6abf4999d, >=f770fbec4165b1acfabdeadb01ad6008d2c537b5 <71b3391dc81655ff058492f8e9d013b2c6e5747b, >=f770fbec4165b1acfabdeadb01ad6008d2c537b5 <c5b9fdb1e8ddf50bc6272927edb118679f170350, >=f770fbec4165b1acfabdeadb01ad6008d2c537b5 <c8547c74988e0b5f4cbb1b895e2a57aae084f070, >=f770fbec4165b1acfabdeadb01ad6008d2c537b5 <db2b72e83a0208ae2b3b270bf91662b1c6849a9b, >=f770fbec4165b1acfabdeadb01ad6008d2c537b5 <e6f8be12f0307145b9a6010f044925952b37de8b, =5.10, >=f770fbec4165b1acfabdeadb01ad6008d2c537b5 <085652fda7f38040d1a2c42d72614f418feb843f5.10.259, 5.15.210, 6.1.176, 6.18.35, 7.0.12, 6.6.143, 6.12.93, 48f89ead20e48d447ad29fa937b43b9fa981cf28, 550fa4d071a8c8e53072900869d37ae6abf4999d, 71b3391dc81655ff058492f8e9d013b2c6e5747b, c5b9fdb1e8ddf50bc6272927edb118679f170350, c8547c74988e0b5f4cbb1b895e2a57aae084f070, db2b72e83a0208ae2b3b270bf91662b1c6849a9b, e6f8be12f0307145b9a6010f044925952b37de8b, 085652fda7f38040d1a2c42d72614f418feb843f
linux-kernel: Kernel>=5.10.0 <5.10.259, >=5.11.0 <5.15.210, >=5.16.0 <6.1.176, >=6.13.0 <6.18.35, >=6.19.0 <7.0.12, >=6.2.0 <6.6.143, >=6.7.0 <6.12.935.10.259, 5.15.210, 6.1.176, 6.18.35, 7.0.12, 6.6.143, 6.12.93

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-64242 severity on Zeptric[![CVE-2026-64242](https://zeptric.io/badge/cve/CVE-2026-64242.svg)](https://zeptric.io/cve/CVE-2026-64242)