Skip to content
Fencer Vulns
high 8.8

CVE-2021-47670 json

can: peak_usb: fix use after free bugs

published 2025-04-17 18 mo ago modified 2026-08-05 3 mo ago also EUVD-2021-34677

cvss
8.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 13%
public exploits
0
none known

Summary

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.

Patch / fix

  • Linux Linux 4.19.171, 5.4.93, 5.10.11, 5.11
  • linux Debian 14, Debian 13, Debian 12 5.10.12-1

debian advisories DEBIAN-CVE-2021-47670

  • linux Ubuntu 18.04 LTS 4.15.0-141.145
  • linux Ubuntu 20.04 LTS 5.4.0-67.75
  • linux-aws Ubuntu 18.04 LTS 4.15.0-1098.105
  • linux-aws Ubuntu 20.04 LTS 5.4.0-1039.41
  • linux-gcp Ubuntu 16.04 LTS 4.15.0-1097.110~16.04.1
  • linux-gcp Ubuntu 20.04 LTS 5.4.0-1038.41
  • linux-hwe Ubuntu 16.04 LTS 4.15.0-142.146~16.04.1
  • linux-kvm Ubuntu 18.04 LTS 4.15.0-1089.91

ubuntu advisories UBUNTU-CVE-2021-47670

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • kernel-rt RHEL 8 4.18.0-553.69.1.rt7.410.el8_10
  • kernel-rt-kvm RHEL 8 4.18.0-553.69.1.rt7.410.el8_10
  • kernel-rt-core RHEL 8 4.18.0-553.69.1.rt7.410.el8_10
  • kernel-rt-modules RHEL 8 4.18.0-553.69.1.rt7.410.el8_10
  • kernel-rt-debug-kvm RHEL 8 4.18.0-553.69.1.rt7.410.el8_10
  • kernel-rt-debug-core RHEL 8 4.18.0-553.69.1.rt7.410.el8_10
  • kernel-rt-debug-modules RHEL 8 4.18.0-553.69.1.rt7.410.el8_10
  • kernel-rt-modules-extra RHEL 8 4.18.0-553.69.1.rt7.410.el8_10

red hat advisories RHSA-2025:15035RHSA-2025:14692RHSA-2025:14511RHSA-2025:14136RHSA-2025:13590RHSA-2025:13589

  • kernel-64kb SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS, Enterprise Storage 7.1 5.3.18-150300.59.204.1
  • kernel-syms SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 5.3.18-150300.59.204.1
  • kernel-source SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 5.3.18-150300.59.204.1
  • kernel-default SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Micro 5.2 +5 more 5.3.18-150300.59.204.1
  • kernel-preempt SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 5.3.18-150300.59.204.1
  • kernel-obs-build SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 5.3.18-150300.59.204.1
  • kernel-default-base SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Micro 5.2 +3 more 5.3.18-150300.59.204.1.150300.18.122.1
  • kernel-rt SLE Micro 5.2, SLE Micro 5.1 5.3.18-150300.208.1

suse advisories SUSE-SU-2025:01983-1SUSE-SU-2025:01633-1SUSE-SU-2025:1574-1

  • kernel AlmaLinux 8 4.18.0-553.69.1.el8_10
  • perf AlmaLinux 8 4.18.0-553.69.1.el8_10
  • bpftool AlmaLinux 8 4.18.0-553.69.1.el8_10
  • kernel-core AlmaLinux 8 4.18.0-553.69.1.el8_10
  • kernel-tools AlmaLinux 8 4.18.0-553.69.1.el8_10
  • python3-perf AlmaLinux 8 4.18.0-553.69.1.el8_10
  • kernel-modules AlmaLinux 8 4.18.0-553.69.1.el8_10
  • kernel-zfcpdump AlmaLinux 8 4.18.0-553.69.1.el8_10

almalinux advisories ALSA-2025:13589ALSA-2025:13590

  • kernel-rt Rocky Linux 8 4.18.0-553.69.1.rt7.410.el8_10
  • kernel Rocky Linux 8 4.18.0-553.69.1.el8_10

rocky linux advisories RLSA-2025:13590RLSA-2025:13589

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2021-47670 updated cvss 7.0

kernel: can: peak_usb: fix use after free bugs

  • Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-553.69.1.el8_10, kernel 4.18.0-553.69.1.el8_10, bpftool 4.18.0-553.69.1.el8_10, kernel-core 4.18.0-553.69.1.el8_10, kernel-tools 4.18.0-553.69.1.el8_10, python3-perf 4.18.0-553.69.1.el8_10, +15 more
    fixed: vendor fix RHSA-2025:13589
  • Red Hat Enterprise Linux BaseOS AUS (v. 8.2) perf 4.18.0-193.164.1.el8_2, kernel 4.18.0-193.164.1.el8_2, bpftool 4.18.0-193.164.1.el8_2, kernel-core 4.18.0-193.164.1.el8_2, kernel-tools 4.18.0-193.164.1.el8_2, python3-perf 4.18.0-193.164.1.el8_2, +8 more
    fixed: vendor fix RHSA-2025:14136
  • Red Hat Enterprise Linux BaseOS AUS (v.8.4) perf 4.18.0-305.170.1.el8_4, kernel 4.18.0-305.170.1.el8_4, bpftool 4.18.0-305.170.1.el8_4, kernel-core 4.18.0-305.170.1.el8_4, kernel-tools 4.18.0-305.170.1.el8_4, python3-perf 4.18.0-305.170.1.el8_4, +8 more
    fixed: vendor fix RHSA-2025:15035
  • Red Hat Enterprise Linux BaseOS AUS (v.8.6) perf 4.18.0-372.158.1.el8_6, kernel 4.18.0-372.158.1.el8_6, bpftool 4.18.0-372.158.1.el8_6, kernel-core 4.18.0-372.158.1.el8_6, kernel-tools 4.18.0-372.158.1.el8_6, python3-perf 4.18.0-372.158.1.el8_6, +8 more Red Hat Enterprise Linux BaseOS E4S (v.8.6) perf 4.18.0-372.158.1.el8_6, kernel 4.18.0-372.158.1.el8_6, bpftool 4.18.0-372.158.1.el8_6, kernel-core 4.18.0-372.158.1.el8_6, kernel-tools 4.18.0-372.158.1.el8_6, python3-perf 4.18.0-372.158.1.el8_6, +15 more
    fixed: vendor fix RHSA-2025:14692
  • Red Hat Enterprise Linux BaseOS E4S (v.8.8) perf 4.18.0-477.107.1.el8_8, kernel 4.18.0-477.107.1.el8_8, bpftool 4.18.0-477.107.1.el8_8, kernel-core 4.18.0-477.107.1.el8_8, kernel-tools 4.18.0-477.107.1.el8_8, python3-perf 4.18.0-477.107.1.el8_8, +9 more
    fixed: vendor fix RHSA-2025:14511
  • Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.4) perf 4.18.0-305.170.1.el8_4, kernel 4.18.0-305.170.1.el8_4, bpftool 4.18.0-305.170.1.el8_4, kernel-core 4.18.0-305.170.1.el8_4, kernel-tools 4.18.0-305.170.1.el8_4, python3-perf 4.18.0-305.170.1.el8_4, +8 more
    fixed: vendor fix RHSA-2025:15035
  • Red Hat Enterprise Linux BaseOS TUS (v.8.6) perf 4.18.0-372.158.1.el8_6, kernel 4.18.0-372.158.1.el8_6, bpftool 4.18.0-372.158.1.el8_6, kernel-core 4.18.0-372.158.1.el8_6, kernel-tools 4.18.0-372.158.1.el8_6, python3-perf 4.18.0-372.158.1.el8_6, +8 more
    fixed: vendor fix RHSA-2025:14692
  • Red Hat Enterprise Linux BaseOS TUS (v.8.8) perf 4.18.0-477.107.1.el8_8, kernel 4.18.0-477.107.1.el8_8, bpftool 4.18.0-477.107.1.el8_8, kernel-core 4.18.0-477.107.1.el8_8, kernel-tools 4.18.0-477.107.1.el8_8, python3-perf 4.18.0-477.107.1.el8_8, +8 more
    fixed: vendor fix RHSA-2025:14511
show 3 more
  • Red Hat Enterprise Linux CRB (v. 8) kernel-debuginfo-common-x86_64 4.18.0-553.69.1.el8_10, kernel-debuginfo-common-aarch64 4.18.0-553.69.1.el8_10, kernel-debuginfo-common-ppc64le 4.18.0-553.69.1.el8_10
    fixed: vendor fix RHSA-2025:13589
  • Red Hat Enterprise Linux NFV (v. 8) kernel-rt 4.18.0-553.69.1.rt7.410.el8_10, kernel-rt-kvm 4.18.0-553.69.1.rt7.410.el8_10, kernel-rt-core 4.18.0-553.69.1.rt7.410.el8_10, kernel-rt-modules 4.18.0-553.69.1.rt7.410.el8_10, kernel-rt-debug-kvm 4.18.0-553.69.1.rt7.410.el8_10, kernel-rt-debug-core 4.18.0-553.69.1.rt7.410.el8_10, +4 more Red Hat Enterprise Linux RT (v. 8) kernel-rt 4.18.0-553.69.1.rt7.410.el8_10, kernel-rt-core 4.18.0-553.69.1.rt7.410.el8_10, kernel-rt-modules 4.18.0-553.69.1.rt7.410.el8_10, kernel-rt-debug-core 4.18.0-553.69.1.rt7.410.el8_10, kernel-rt-debug-modules 4.18.0-553.69.1.rt7.410.el8_10, kernel-rt-modules-extra 4.18.0-553.69.1.rt7.410.el8_10, +2 more
    fixed: vendor fix RHSA-2025:13590
  • Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernel
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
18 mo ago

Exploit prediction

0.22% chance of exploitation in the next 30 days, higher than 13% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 8.8 CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADP 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CNA 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

  • Linux Linux

Classification

Weakness
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.