CVE-2026-64242CWE-415

CVE-2026-64242

High · published July 24, 2026

CVSS v3.1
7.8
EPSS
0%
Percentile
1.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00121 · 1.8th percentile
Weakness
CWE-415 · Double Free
Published
2026-07-24T20:16Z
Affected products (12)
ProductVersionsFixed in
linux/linux_kernel≥ 5.10, < 5.10.2595.10.259
linux/linux_kernel≥ 5.11, < 5.15.2105.15.210
linux/linux_kernel≥ 5.16, < 6.1.1766.1.176
linux/linux_kernel≥ 6.2, < 6.6.1436.6.143
linux/linux_kernel≥ 6.7, < 6.12.936.12.93
linux/linux_kernel≥ 6.13, < 6.18.356.18.35
linux/linux_kernel≥ 6.19, < 7.0.127.0.12
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (8)
EPSS history
Timeline
  • 24 JUL 15:27Z
    usb: gadget: net2280: Fix double free in probe error path
    cvelistv5