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.
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Mon, 04 Nov 2024 12:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2025-05-04T07:12:45.630Z

Reserved: 2024-05-24T15:02:54.824Z

Link: CVE-2021-47520

cve-icon Vulnrichment

Updated: 2024-08-04T05:39:59.800Z

cve-icon NVD

Status : Modified

Published: 2024-05-24T15:15:14.003

Modified: 2024-11-21T06:36:25.953

Link: CVE-2021-47520

cve-icon Redhat

Severity : Moderate

Publid Date: 2024-05-24T00:00:00Z

Links: CVE-2021-47520 - Bugzilla

cve-icon OpenCVE Enrichment

No data.