What’s Vulnerable › Vulnerabilities

CVE-2021-47670: can: peak_usb: fix use after free bugs

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.19.171, 5.10.11, 5.4.93. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-47670 or the next vulnerability affects your stack