High severity · published Apr 17, 2025
CVE-2021-47670
In the Linux kernel, the following vulnerability has been resolved: can: peak_usb: fix use after free bugs After calling peak_usb_netif_rx_ni(skb), dereferencing skb is unsafe
8.8
CVSS
0.2%
EPSS
No
On KEV
Description
In the Linux kernel, the following vulnerability has been resolved:
can: peak_usb: fix use after free bugs
After calling peak_usb_netif_rx_ni(skb), dereferencing skb is unsafe.
Especially, the can_frame cf which aliases skb memory is accessed
after the peak_usb_netif_rx_ni().
Reordering the lines solves the issue.
CVSS vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Adjacent
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 13% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
4.0 before 4.19.171; 4.20 before 5.4.93; 5.5 before 5.10.11; 5.11; 5.11; 5.11; +1 more · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-47670
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-47670
Patch
https://git.kernel.org/stable/c/50aca891d7a554db0901b245167cd653d73aaa71
Patch
https://git.kernel.org/stable/c/5408824636fa0dfedb9ecb0d94abd573131bfbbe
Patch
https://git.kernel.org/stable/c/ddd1416f44130377798c1430b76503513b7497c2
Patch
https://git.kernel.org/stable/c/ec939c13c3fff2114479769c8380b7f1a54feca9
More from Kernel
9.8
CVE-2025-39682
tls: fix handling of zero-length records on the rx_list
8.8
CVE-2026-53266
netfilter: bridge: make ebt_snat ARP rewrite writable
8.8
CVE-2013-6282
Linux Kernel Improper Input Validation Vulnerability
8.4
CVE-2022-0185
Linux Kernel Heap-Based Buffer Overflow Vulnerability
8.4
CVE-2013-2094
Linux Kernel Privilege Escalation Vulnerability
