CVE-2026-64242
usb: gadget: net2280: Fix double free in probe error path
Reported by linux · Published July 24, 2026
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.
EPSS 0.12% · 1.9th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 7.0.12, 6.18.35, 6.12.93, 6.6.143, 6.1.176, 5.15.210, 5.10.259 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | f770fbec4165b1acfabdeadb01ad6008d2c537b5, f770fbec4165b1acfabdeadb01ad6008d2c537b5, f770fbec4165b1acfabdeadb01ad6008d2c537b5 |
| Linux | Linux | 5.10, 0, 5.10.259 |
| linux | linux_kernel | 5.10, 5.10, 5.10 |
| Linux | Linux | *, *, * |
Timeline
- Jul 24, 2026 Coalition ESS Score
- Jul 24, 2026 CVE Published
- Jul 25, 2026 EPSS Score (7 in total, the first dated here)
- Jul 26, 2026 Security Advisory (20 in total, the first dated here)
- Aug 12, 2026 Distribution Patch (21 in total, the first dated here)
- Nov 8, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-64242
vulnetix vdb fixes CVE-2026-64242
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-64242/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart