CVE-2026-64242
Gravedad:
Pendiente de análisis
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
24/07/2026
Última modificación:
24/07/2026
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
usb: gadget: net2280: Fix double free in probe error path<br />
<br />
usb_initialize_gadget() installs gadget_release() as the release<br />
callback for the embedded gadget device. The struct net2280 instance is<br />
therefore released through gadget_release() when the gadget device&#39;s last<br />
reference is dropped.<br />
<br />
The probe error path calls net2280_remove(), which tears down the<br />
partially initialized device and drops the gadget reference with<br />
usb_put_gadget(). Calling kfree(dev) afterwards can free the same object<br />
again.<br />
<br />
Drop the explicit kfree() and let the gadget device release callback<br />
handle the final free. This issue was found by a static analysis tool<br />
I am developing.
Impacto
Referencias a soluciones, herramientas e información
- https://git.kernel.org/stable/c/085652fda7f38040d1a2c42d72614f418feb843f
- https://git.kernel.org/stable/c/48f89ead20e48d447ad29fa937b43b9fa981cf28
- https://git.kernel.org/stable/c/550fa4d071a8c8e53072900869d37ae6abf4999d
- https://git.kernel.org/stable/c/71b3391dc81655ff058492f8e9d013b2c6e5747b
- https://git.kernel.org/stable/c/c5b9fdb1e8ddf50bc6272927edb118679f170350
- https://git.kernel.org/stable/c/c8547c74988e0b5f4cbb1b895e2a57aae084f070
- https://git.kernel.org/stable/c/db2b72e83a0208ae2b3b270bf91662b1c6849a9b
- https://git.kernel.org/stable/c/e6f8be12f0307145b9a6010f044925952b37de8b



