CVE-2021-47670Published Apr 17, 2025 · Apr 17Updated Aug 5
can: peak_usb: fix use after free bugs
Linux
High8.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
can: peak_usb: fix use after free bugs
After calling peak_usb_netif_rx_ni(skb), dereferencing skb is unsafe. Especially, the can_frame cf which aliases skb memory is accessed after the peak_usb_netif_rx_ni().
Reordering the lines solves the issue.
From the CVE record · Linux
The Linux kernel's peak_usb CAN driver accesses packet memory after passing it to peak_usb_netif_rx_ni(), causing a use-after-free. The issue occurs while handling a received CAN frame; the input does not specify attacker access requirements or user interaction.
Engineers running Linux kernels with the peak_usb CAN driver should check their versions; affected versions are not specified.