CVE-2021-47670: Use-After-Free in Linux Kernel CAN peak_usb Driver
- Vendor
- Linux
CVE-2021-47670 is a use-after-free vulnerability in the Linux kernel CAN peak_usb driver. The affected code accesses an skb, including a can_frame object that aliases skb memory, after invoking peak_usb_netif_rx_ni(skb). Because the receive function may make the skb unsafe to dereference, the subsequent access creates a use-after-free condition. The upstream fix reorders the affected operations so accesses occur before the skb is passed to the receive function.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
The flaw causes an unsafe access to socket-buffer-backed memory in kernel context. The available information does not establish a specific confidentiality, integrity, availability, or code-execution outcome.
Mitigation
If you can’t patch tonight, do this now.
Until a patched kernel can be installed, avoid use of the affected CAN peak_usb driver where operationally feasible. No configuration-level mitigation for the vulnerable code path is specified.
Remediation
Patch, then assume compromise.
Install a Linux kernel update containing the upstream peak_usb fix, which reorders the affected operations. For affected Red Hat Enterprise Linux deployments, apply the applicable vendor-provided kernel update and reboot the system so the patched kernel takes effect.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2021-47670 exploited in the wild?
- As of Sep 30, 2026, Mallory has no reports of CVE-2021-47670 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2021-47670?
- As of Sep 30, 2026, Mallory has found no public exploit for CVE-2021-47670.
- Is there a patch for CVE-2021-47670?
- Install a Linux kernel update containing the upstream peak_usb fix, which reorders the affected operations. For affected Red Hat Enterprise Linux deployments, apply the applicable vendor-provided kernel update and reboot the system so the patched kernel takes effect.
- What products are affected by CVE-2021-47670?
- Linux Kernel.
- How severe is CVE-2021-47670?
- CVE-2021-47670 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.36% (22nd percentile) as of Sep 30, 2026.
Recent activity
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.