CVE-2026-64585
Gravedad:
Pendiente de análisis
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
06/08/2026
Última modificación:
06/08/2026
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
can: esd_usb: kill anchored URBs before freeing netdevs<br />
<br />
esd_usb_disconnect() frees each CAN netdev with free_candev() inside<br />
its per-netdev loop and only calls unlink_all_urbs(dev) afterwards.<br />
The per-netdev private data (struct esd_usb_net_priv) is embedded in<br />
the net_device allocation returned by alloc_candev(), so once<br />
free_candev() has run, dev->nets[i] points to freed memory.<br />
unlink_all_urbs() then dereferences the freed dev->nets[i] to kill the<br />
per-netdev TX anchor (usb_kill_anchored_urbs(&priv->tx_submitted)),<br />
clear active_tx_jobs, and reset priv->tx_contexts[].<br />
<br />
Reorder the teardown so the anchored URBs are killed before the netdevs<br />
are freed, matching other CAN/USB drivers in the same directory such as<br />
ems_usb, usb_8dev and mcba_usb, which unregister, then unlink, then<br />
free: unregister the netdevs first (which stops their TX queues), call<br />
unlink_all_urbs(dev) once, then free the netdevs.<br />
<br />
This issue was found by an in-house static analysis tool.
Impacto
Referencias a soluciones, herramientas e información
- https://git.kernel.org/stable/c/5832c55b3c824ba2fe9c36ac3c411baddcce053e
- https://git.kernel.org/stable/c/765ba1c91823a296447528791b89a6504947fd5c
- https://git.kernel.org/stable/c/a02e1d8f191324583599544d54e59e6a2b74bb0e
- https://git.kernel.org/stable/c/a3314f10369df70925140f59bbe069718f65a0b9
- https://git.kernel.org/stable/c/aa1d005927db38af783c1a4a8a00a39e0229ab2d
- https://git.kernel.org/stable/c/c43122fef328a70045fe7621c06de6b2b8e19264



