Katalog CVE

CVE-2026-64585

WysokieCVSS 7.8
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.12%

Percentyl 2 - wyżej niż 2% wszystkich znanych CVE

Streszczenie

W jądrze Linux w sterowniku CAN esd_usb występuje podatność polegająca na tym, że zakotwiczone URBy (anchored URBs) nie są zabijane przed zwolnieniem netdevów. Powoduje to użycie po zwolnieniu (use-after-free) podczas odłączania urządzenia, ponieważ dane prywatne są zwalniane przed próbą zabicia URB.

Ocena ryzyka

Ryzyko obejmuje awarię systemu lub nieprawidłowe działanie sterownika CAN USB, co może wpłynąć na systemy korzystające z komunikacji CAN.

Rekomendacja

Zaleca się aktualizację jądra Linux do wersji z poprawką, która najpierw wyrejestrowuje netdevy, następnie zabija zakotwiczone URBy, a dopiero potem zwalnia netdevy.

Inne podatności w Linux kernel

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

In the Linux kernel, the following vulnerability has been resolved: can: esd_usb: kill anchored URBs before freeing netdevs esd_usb_disconnect() frees each CAN netdev with free_candev() inside its per-netdev loop and only calls unlink_all_urbs(dev) afterwards. The per-netdev private data (struct esd_usb_net_priv) is embedded in the net_device allocation returned by alloc_candev(), so once free_candev() has run, dev->nets[i] points to freed memory. unlink_all_urbs() then dereferences the freed dev->nets[i] to kill the per-netdev TX anchor (usb_kill_anchored_urbs(&priv->tx_submitted)), clear active_tx_jobs, and reset priv->tx_contexts[]. Reorder the teardown so the anchored URBs are killed before the netdevs are freed, matching other CAN/USB drivers in the same directory such as ems_usb, usb_8dev and mcba_usb, which unregister, then unlink, then free: unregister the netdevs first (which stops their TX queues), call unlink_all_urbs(dev) once, then free the netdevs. This issue was found by an in-house static analysis tool.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS