Back to CVE records
High 7.8Published Jul 24, 2026

CVE-2026-64242usb: gadget: net2280: Fix double free in probe error path

Updated under an hour ago ()

Does this affect you?

It affects Linux and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
7.8 HIGH (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
Not given
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Linux
NVD analysis
Analyzed
Record last updated
Jul 24, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
Linux Linux
linux:linux (from the name)
from f770fbec4165b1acfabdeadb01ad6008d2c537b5 before 71b3391dc81655ff058492f8e9d013b2c6e5747b; from f770fbec4165b1acfabdeadb01ad6008d2c537b5 before 550fa4d071a8c8e53072900869d37ae6abf4999d; from f770fbec4165b1acfabdeadb01ad6008d2c537b5 before c5b9fdb1e8ddf50bc6272927edb118679f170350; from f770fbec4165b1acfabdeadb01ad6008d2c537b5 before 085652fda7f38040d1a2c42d72614f418feb843f; from f770fbec4165b1acfabdeadb01ad6008d2c537b5 before 48f89ead20e48d447ad29fa937b43b9fa981cf28; from f770fbec4165b1acfabdeadb01ad6008d2c537b5 before e6f8be12f0307145b9a6010f044925952b37de8b; from f770fbec4165b1acfabdeadb01ad6008d2c537b5 before db2b72e83a0208ae2b3b270bf91662b1c6849a9b; from f770fbec4165b1acfabdeadb01ad6008d2c537b5 before c8547c74988e0b5f4cbb1b895e2a57aae084f070
CNA record
linux linux_kernel
linux:linux_kernel
from 5.10 before 5.10.259; from 5.11 before 5.15.210; from 5.16 before 6.1.176; from 6.2 before 6.6.143; from 6.7 before 6.12.93; from 6.13 before 6.18.35; from 6.19 before 7.0.12; 7.1; and 4 more ranges
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.