NetSight
high8.8

CVE-2021-47668

In the Linux kernel, the following vulnerability has been resolved: can: dev: can_restart: fix use after free bug After calling netif_rx_ni(skb), dereferencing…

Impact

In the Linux kernel, the following vulnerability has been resolved: can: dev: can_restart: fix use after free bug After calling netif_rx_ni(skb), dereferencing skb is unsafe. Especially, the can_frame cf which aliases skb memory is accessed after the netif_rx_ni() in: stats->rx_bytes += cf->len; Reordering the lines solves the issue.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 2.6.31 before 4.4.254
from 4.5 before 4.9.254
from 4.10 before 4.14.218
from 4.15 before 4.19.171
from 4.20 before 5.4.93
from 5.5 before 5.10.11

Weakness classification

References