U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2021-47520 Detail

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.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
https://git.kernel.org/stable/c/3a3c46e2eff0577454860a203be1a8295f4acb76 Patch 
https://git.kernel.org/stable/c/3e193ef4e0a3f5bf92ede83ef214cb09d01b00aa Patch 
https://git.kernel.org/stable/c/6c73fc931658d8cbc8a1714b326cb31eb71d16a7 Patch 
https://git.kernel.org/stable/c/703dde112021c93d6e89443c070e7dbd4dea612e Patch 
https://git.kernel.org/stable/c/94cddf1e9227a171b27292509d59691819c458db Patch 
https://git.kernel.org/stable/c/abb4eff3dcd2e583060082a18a8dbf31f02689d4 Patch 
https://git.kernel.org/stable/c/affbad02bf80380a7403885b9fe4a1587d1bb4f3 Patch 
https://git.kernel.org/stable/c/bafe343a885c70dddf358379cf0b2a1c07355d8d Patch 

Weakness Enumeration

CWE-ID CWE Name Source
CWE-416 Use After Free cwe source acceptance level NIST  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

4 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2021-47520
NVD Published Date:
05/24/2024
NVD Last Modified:
06/10/2024
Source:
kernel.org