NetSight
high8.8

CVE-2021-47520

In the Linux kernel, the following vulnerability has been resolved: can: pch_can: pch_can_rx_normal: fix use after free After calling netif_receive_skb(skb), d…

Impact

In the Linux kernel, the following vulnerability has been resolved: can: pch_can: pch_can_rx_normal: fix use after free After calling netif_receive_skb(skb), dereferencing skb is unsafe. Especially, the can_frame cf which aliases skb memory is dereferenced just after the call netif_receive_skb(skb). Reordering the lines solves the issue.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 2.6.37 before 4.4.295
from 4.5 before 4.9.293
from 4.10 before 4.14.258
from 4.15 before 4.19.221
from 4.20 before 5.4.165
from 5.5 before 5.10.85

Weakness classification

References