PoC Monitor
← All CVEs
CVE-2026-64242published 24 Jul 2026 15:27 UTCData: JSON · API

Linux

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

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.8high · scored by NVD · CWE-415
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Linux Linux
  • >= f770fbec4165b1acfabdeadb01ad6008d2c537b5, < 71b3391dc81655ff058492f8e9d013b2c6e5747b
  • >= f770fbec4165b1acfabdeadb01ad6008d2c537b5, < 550fa4d071a8c8e53072900869d37ae6abf4999d
  • >= f770fbec4165b1acfabdeadb01ad6008d2c537b5, < c5b9fdb1e8ddf50bc6272927edb118679f170350
  • >= f770fbec4165b1acfabdeadb01ad6008d2c537b5, < 085652fda7f38040d1a2c42d72614f418feb843f
  • >= f770fbec4165b1acfabdeadb01ad6008d2c537b5, < 48f89ead20e48d447ad29fa937b43b9fa981cf28
  • >= f770fbec4165b1acfabdeadb01ad6008d2c537b5, < e6f8be12f0307145b9a6010f044925952b37de8b
  • >= f770fbec4165b1acfabdeadb01ad6008d2c537b5, < db2b72e83a0208ae2b3b270bf91662b1c6849a9b
  • >= f770fbec4165b1acfabdeadb01ad6008d2c537b5, < c8547c74988e0b5f4cbb1b895e2a57aae084f070

Fixed in 71b3391dc81655ff058492f8e9d013b2c6e5747b, 550fa4d071a8c8e53072900869d37ae6abf4999d, c5b9fdb1e8ddf50bc6272927edb118679f170350, 085652fda7f38040d1a2c42d72614f418feb843f, 48f89ead20e48d447ad29fa937b43b9fa981cf28, e6f8be12f0307145b9a6010f044925952b37de8b, db2b72e83a0208ae2b3b270bf91662b1c6849a9b, c8547c74988e0b5f4cbb1b895e2a57aae084f070

Linux Linux
  • 5.10

Fixed in 0, 5.10.259, 5.15.210, 6.1.176, 6.6.143, 6.12.93, 6.18.35, 7.0.12, 7.1

Mitigation

Upgrade Linux to 71b3391dc81655ff058492f8e9d013b2c6e5747b or 550fa4d071a8c8e53072900869d37ae6abf4999d or c5b9fdb1e8ddf50bc6272927edb118679f170350 or 085652fda7f38040d1a2c42d72614f418feb843f or 48f89ead20e48d447ad29fa937b43b9fa981cf28 or e6f8be12f0307145b9a6010f044925952b37de8b or db2b72e83a0208ae2b3b270bf91662b1c6849a9b or c8547c74988e0b5f4cbb1b895e2a57aae084f070 or later.

Upgrade Linux to 0 or 5.10.259 or 5.15.210 or 6.1.176 or 6.6.143 or 6.12.93 or 6.18.35 or 7.0.12 or 7.1 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published24 Jul 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.