VYPR
Unrated severityNVD Advisory· Published May 24, 2024· Updated May 4, 2025

can: pch_can: pch_can_rx_normal: fix use after free

CVE-2021-47520

Description

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

196

Patches

Vulnerability mechanics

References

8

News mentions

0

No linked articles in our index yet.