CVE Catalog

CVE-2021-47520

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.34%

26th percentile - higher than 26% of all known CVEs

Summary

In the Linux kernel, the pch_can driver for CAN bus has a use-after-free vulnerability in the pch_can_rx_normal function. After calling netif_receive_skb(skb), dereferencing skb is unsafe, and the can_frame structure is still used.

Risk Assessment

The vulnerability could lead to system crash or potentially arbitrary code execution by an attacker.

Recommendation

Update the Linux kernel to a patched version that reorders the operations.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS