CVE-2021-47670 Details
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.
A use-after-free vulnerability has been identified in the Linux kernel's CAN subsystem, specifically within the peak_usb component. This issue arises after the function peak_usb_netif_rx_ni is called, as it becomes unsafe to dereference the socket buffer (skb). The vulnerability occurs because the can_frame, which shares memory with the skb, is accessed after the skb has been freed. Reordering the code execution resolves this problem.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 17, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/50aca891d7a554db0901b245167cd653d73aaa71 | kernel.org | Patch |
| https://git.kernel.org/stable/c/5408824636fa0dfedb9ecb0d94abd573131bfbbe | kernel.org | Patch |
| https://git.kernel.org/stable/c/ddd1416f44130377798c1430b76503513b7497c2 | kernel.org | Patch |
| https://git.kernel.org/stable/c/ec939c13c3fff2114479769c8380b7f1a54feca9 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.0, < 4.19.171 >= 4.20, < 5.4.93 >= 5.5, < 5.10.11 5.11 rc1 5.11 rc2 5.11 rc3 5.11 rc4 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 21, 2025 | Initial Analysis | [email protected] |
| Apr 17, 2025 | CVE Modified | CISA-ADP |
| Apr 17, 2025 | New CVE Received | kernel.org |