Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer

CVE-2026-64242

high

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: net2280: Fix double free in probe error path usb_initialize_gadget() install…

Vendor / product: Linux — linux kernel

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
7.8 (CVSS v3.1)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Severity source: NVD CVSS v3.1 (nvd@nist.gov)
Timeline (UTC)
Published: 2026-07-24 16:16
Modified: 2026-11-08 16:10
NVD status: Analyzed
Last synced 1 week ago
Verified against the source API 2026-11-08 16:29 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).

Affected products

linux / linux_kernel ≥5.10 <5.10.259, ≥5.11 <5.15.210, ≥5.16 <6.1.176, ≥6.2 <6.6.143, ≥6.7 <6.12.93, ≥6.13 <6.18.35

Weakness classification (CWE)

Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.

Mitigation & advisories

Patch / mitigation: https://git.kernel.org/stable/c/085652fda7f38040d1a2c42d72614f418feb843f
Patch / mitigation: https://git.kernel.org/stable/c/48f89ead20e48d447ad29fa937b43b9fa981cf28
Patch / mitigation: https://git.kernel.org/stable/c/550fa4d071a8c8e53072900869d37ae6abf4999d
Patch / mitigation: https://git.kernel.org/stable/c/71b3391dc81655ff058492f8e9d013b2c6e5747b
Patch / mitigation: https://git.kernel.org/stable/c/c5b9fdb1e8ddf50bc6272927edb118679f170350
Patch / mitigation: https://git.kernel.org/stable/c/c8547c74988e0b5f4cbb1b895e2a57aae084f070
Patch / mitigation: https://git.kernel.org/stable/c/db2b72e83a0208ae2b3b270bf91662b1c6849a9b
Patch / mitigation: https://git.kernel.org/stable/c/e6f8be12f0307145b9a6010f044925952b37de8b

References

Data sources

NVD CVE API 2.0 — fetched 2026-11-08 16:29 UTC · record ↗

Learn the basics

Understanding CVEs and CVSS Scores

Related CVEs