2084AI Security Observatory

CVE

CVE-2026-64242

CVE-2026-64242HIGH 7.8EPSS 2%

CNA description

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 versions

All Linux kernel vulnerabilities →

  • 7.1-rc5This version only
  • 7.1-rc4This version only
  • 7.1-rc3This version only
  • 7.1-rc2This version only
  • 7.1-rc1This version only
  • ≥ 6.19, < 7.0.12Fixed in 7.0.12
  • ≥ 6.13, < 6.18.35Fixed in 6.18.35
  • ≥ 6.7, < 6.12.93Fixed in 6.12.93
  • ≥ 6.2, < 6.6.143Fixed in 6.6.143
  • ≥ 5.16, < 6.1.176Fixed in 6.1.176
  • ≥ 5.11, < 5.15.210Fixed in 5.15.210
  • ≥ 5.10, < 5.10.259Fixed in 5.10.259

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.