Vulnerability · Published Apr 17, 2025 · Assigned by Linux
CVE-2021-47670can: peak_usb: fix use after free bugs
High 8.8
In plain English
A high-severity use-after-free in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 13% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)8.8High
Exploit odds (30 days)0.2%top 86.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | bpftool | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux:8 | kernel | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux:8 | kernel-abi-stablelists | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux:8 | kernel-core | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux:8 | kernel-cross-headers | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux:8 | kernel-debug | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux:8 | kernel-debug-core | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux:8 | kernel-debug-devel | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux:8 | kernel-debug-modules | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux:8 | kernel-debug-modules-extra | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux:8 | kernel-devel | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux:8 | kernel-doc | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux:8 | kernel-headers | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux:8 | kernel-modules | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux:8 | kernel-modules-extra | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux:8 | kernel-rt | 4.18.0-553.69.1.rt7.410.el8_10 | ALSA-2025:13590 |
| AlmaLinux:8 | kernel-rt-core | 4.18.0-553.69.1.rt7.410.el8_10 | ALSA-2025:13590 |
| AlmaLinux:8 | kernel-rt-debug | 4.18.0-553.69.1.rt7.410.el8_10 | ALSA-2025:13590 |
| AlmaLinux:8 | kernel-rt-debug-core | 4.18.0-553.69.1.rt7.410.el8_10 | ALSA-2025:13590 |
| AlmaLinux:8 | kernel-rt-debug-devel | 4.18.0-553.69.1.rt7.410.el8_10 | ALSA-2025:13590 |
| AlmaLinux:8 | kernel-rt-debug-modules | 4.18.0-553.69.1.rt7.410.el8_10 | ALSA-2025:13590 |
| AlmaLinux:8 | kernel-rt-debug-modules-extra | 4.18.0-553.69.1.rt7.410.el8_10 | ALSA-2025:13590 |
| AlmaLinux:8 | kernel-rt-devel | 4.18.0-553.69.1.rt7.410.el8_10 | ALSA-2025:13590 |
| AlmaLinux:8 | kernel-rt-modules | 4.18.0-553.69.1.rt7.410.el8_10 | ALSA-2025:13590 |
| AlmaLinux:8 | kernel-rt-modules-extra | 4.18.0-553.69.1.rt7.410.el8_10 | ALSA-2025:13590 |
| AlmaLinux:8 | kernel-tools | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux:8 | kernel-tools-libs | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux:8 | kernel-tools-libs-devel | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux:8 | kernel-zfcpdump | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux:8 | kernel-zfcpdump-core | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux:8 | kernel-zfcpdump-devel | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux:8 | kernel-zfcpdump-modules | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux:8 | kernel-zfcpdump-modules-extra | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux:8 | perf | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux:8 | python3-perf | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| Debian:12 | linux | 5.10.12-1 | DEBIAN-CVE-2021-47670 |
| Debian:13 | linux | 5.10.12-1 | DEBIAN-CVE-2021-47670 |
| Debian:14 | linux | 5.10.12-1 | DEBIAN-CVE-2021-47670 |
| Rocky Linux:8 | kernel | 0:4.18.0-553.69.1.el8_10 | RLSA-2025:13589 |
| Rocky Linux:8 | kernel-rt | 0:4.18.0-553.69.1.rt7.410.el8_10 | RLSA-2025:13590 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2021-47670 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2021-47670 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2021-47670 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2021-47670 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2021-47670 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2021-47670 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | no fix listed | UBUNTU-CVE-2021-47670 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2021-47670 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2021-47670 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2021-47670 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2021-47670 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | no fix listed | UBUNTU-CVE-2021-47670 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2021-47670 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2021-47670 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | no fix listed | UBUNTU-CVE-2021-47670 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2021-47670 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2021-47670 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2021-47670 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | no fix listed | UBUNTU-CVE-2021-47670 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2021-47670 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | no fix listed | UBUNTU-CVE-2021-47670 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2021-47670 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2021-47670 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2021-47670 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | no fix listed | UBUNTU-CVE-2021-47670 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | no fix listed | UBUNTU-CVE-2021-47670 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2021-47670 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2021-47670 |
| Ubuntu:24.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2021-47670 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2021-47670 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2021-47670 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | no fix listed | UBUNTU-CVE-2021-47670 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2021-47670 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2021-47670 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | no fix listed | UBUNTU-CVE-2021-47670 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 0a25e1f4f18566b750ebd3ae995af64e23111e63 – before 5408824636fa0dfedb9ecb0d94abd573131bfbbe0a25e1f4f18566b750ebd3ae995af64e23111e63 – before ddd1416f44130377798c1430b76503513b7497c20a25e1f4f18566b750ebd3ae995af64e23111e63 – before ec939c13c3fff2114479769c8380b7f1a54feca90a25e1f4f18566b750ebd3ae995af64e23111e63 – before 50aca891d7a554db0901b245167cd653d73aaa71 |
| Linux | Linux | 4.0 |
Weakness: CWE-416 · Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H