CVE-2021-47670
published high CVSS 3.1 · 8.8can: peak_usb: fix use after free bugs
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux0a25e1f4f18566b750ebd3ae995af64e23111e63 to < 5408824636fa0dfedb9ecb0d94abd573131bfbbe · 0a25e1f4f18566b750ebd3ae995af64e23111e63 to < ddd1416f44130377798c1430b76503513b7497c2 · 0a25e1f4f18566b750ebd3ae995af64e23111e63 to < ec939c13c3fff2114479769c8380b7f1a54feca9 · 0a25e1f4f18566b750ebd3ae995af64e23111e63 to < 50aca891d7a554db0901b245167cd653d73aaa71 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.0 (affected) · 0 to < 4.0 (unaffected · semver) · 4.19.171 through 4.19.* (unaffected · semver) · 5.4.93 through 5.4.* (unaffected · semver) · 5.10.11 through 5.10.* (unaffected · semver) · 5.11 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:4.18.0-553.69.1.el8_10 | ELSA-2025-13589 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolaarch64 | Advisory build | 4.18.0-372.158.1.el8_6 | RHSA-2025:14692 |
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.69.1.rt7.410.el8_10 | ALSA-2025:13590 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.69.1.rt7.410.el8_10 | ALSA-2025:13590 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.69.1.rt7.410.el8_10 | ALSA-2025:13590 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.69.1.rt7.410.el8_10 | ALSA-2025:13590 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.69.1.rt7.410.el8_10 | ALSA-2025:13590 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.69.1.rt7.410.el8_10 | ALSA-2025:13590 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.69.1.rt7.410.el8_10 | ALSA-2025:13590 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.69.1.rt7.410.el8_10 | ALSA-2025:13590 |
| AlmaLinux | 8 | kernel-rt-modules | Advisory build | 4.18.0-553.69.1.rt7.410.el8_10 | ALSA-2025:13590 |
| AlmaLinux | 8 | kernel-rt-modules-extra | Advisory build | 4.18.0-553.69.1.rt7.410.el8_10 | ALSA-2025:13590 |
| AlmaLinux | 8 | kernel-tools | Advisory build | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux | 8 | kernel-tools-libs | Advisory build | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux | 8 | kernel-zfcpdump | Advisory build | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux | 8 | kernel-zfcpdump-core | Advisory build | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux | 8 | kernel-zfcpdump-devel | Advisory build | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux | 8 | kernel-zfcpdump-modules | Advisory build | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux | 8 | kernel-zfcpdump-modules-extra | Advisory build | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux | 8 | perf | Advisory build | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| AlmaLinux | 8 | python3-perf | Advisory build | 4.18.0-553.69.1.el8_10 | ALSA-2025:13589 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:4.18.0-553.69.1.el8_10 | ELSA-2025-13589 |
| Oracle Linux | 8 | kernelx86_64 | Advisory build | 0:4.18.0-553.69.1.el8_10 | ELSA-2025-13589 |
| Oracle Linux | 8 | kernel-abi-stablelistsx86_64 | Advisory build | 0:4.18.0-553.69.1.el8_10 | ELSA-2025-13589 |
| Oracle Linux | 8 | kernel-corex86_64 | Advisory build | 0:4.18.0-553.69.1.el8_10 | ELSA-2025-13589 |
| Oracle Linux | 8 | kernel-cross-headersaarch64 | Advisory build | 0:4.18.0-553.69.1.el8_10 | ELSA-2025-13589 |
| Oracle Linux | 8 | kernel-cross-headersx86_64 | Advisory build | 0:4.18.0-553.69.1.el8_10 | ELSA-2025-13589 |
| Oracle Linux | 8 | kernel-debugx86_64 | Advisory build | 0:4.18.0-553.69.1.el8_10 | ELSA-2025-13589 |
| Oracle Linux | 8 | kernel-debug-corex86_64 | Advisory build | 0:4.18.0-553.69.1.el8_10 | ELSA-2025-13589 |
| Oracle Linux | 8 | kernel-debug-develx86_64 | Advisory build | 0:4.18.0-553.69.1.el8_10 | ELSA-2025-13589 |
| Oracle Linux | 8 | kernel-debug-modulesx86_64 | Advisory build | 0:4.18.0-553.69.1.el8_10 | ELSA-2025-13589 |
| Oracle Linux | 8 | kernel-debug-modules-extrax86_64 | Advisory build | 0:4.18.0-553.69.1.el8_10 | ELSA-2025-13589 |
| Oracle Linux | 8 | kernel-develx86_64 | Advisory build | 0:4.18.0-553.69.1.el8_10 | ELSA-2025-13589 |
| Oracle Linux | 8 | kernel-docx86_64 | Advisory build | 0:4.18.0-553.69.1.el8_10 | ELSA-2025-13589 |
| Oracle Linux | 8 | kernel-headersaarch64 | Advisory build | 0:4.18.0-553.69.1.el8_10 | ELSA-2025-13589 |
| Oracle Linux | 8 | kernel-headersx86_64 | Advisory build | 0:4.18.0-553.69.1.el8_10 | ELSA-2025-13589 |
| Oracle Linux | 8 | kernel-modulesx86_64 | Advisory build | 0:4.18.0-553.69.1.el8_10 | ELSA-2025-13589 |
| Oracle Linux | 8 | kernel-modules-extrax86_64 | Advisory build | 0:4.18.0-553.69.1.el8_10 | ELSA-2025-13589 |
| Oracle Linux | 8 | kernel-toolsaarch64 | Advisory build | 0:4.18.0-553.69.1.el8_10 | ELSA-2025-13589 |
| Oracle Linux | 8 | kernel-toolsx86_64 | Advisory build | 0:4.18.0-553.69.1.el8_10 | ELSA-2025-13589 |
| Oracle Linux | 8 | kernel-tools-libsaarch64 | Advisory build | 0:4.18.0-553.69.1.el8_10 | ELSA-2025-13589 |
| Oracle Linux | 8 | kernel-tools-libsx86_64 | Advisory build | 0:4.18.0-553.69.1.el8_10 | ELSA-2025-13589 |
| Oracle Linux | 8 | kernel-tools-libs-develaarch64 | Advisory build | 0:4.18.0-553.69.1.el8_10 | ELSA-2025-13589 |
| Oracle Linux | 8 | kernel-tools-libs-develx86_64 | Advisory build | 0:4.18.0-553.69.1.el8_10 | ELSA-2025-13589 |
| Oracle Linux | 8 | perfaarch64 | Advisory build | 0:4.18.0-553.69.1.el8_10 | ELSA-2025-13589 |
| Oracle Linux | 8 | perfx86_64 | Advisory build | 0:4.18.0-553.69.1.el8_10 | ELSA-2025-13589 |
| Oracle Linux | 8 | python3-perfaarch64 | Advisory build | 0:4.18.0-553.69.1.el8_10 | ELSA-2025-13589 |
| Oracle Linux | 8 | python3-perfx86_64 | Advisory build | 0:4.18.0-553.69.1.el8_10 | ELSA-2025-13589 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolaarch64 | Advisory build | 4.18.0-553.69.1.el8_10 | RHSA-2025:13589 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolppc64le | Advisory build | 4.18.0-372.158.1.el8_6 | RHSA-2025:14692 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolppc64le | Advisory build | 4.18.0-477.107.1.el8_8 | RHSA-2025:14511 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolppc64le | Advisory build | 4.18.0-553.69.1.el8_10 | RHSA-2025:13589 |
| Red Hat Enterprise Linux | RHEL-8 | bpftools390x | Advisory build | 4.18.0-372.158.1.el8_6 | RHSA-2025:14692 |
| Red Hat Enterprise Linux | RHEL-8 | bpftools390x | Advisory build | 4.18.0-553.69.1.el8_10 | RHSA-2025:13589 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-193.164.1.el8_2 | RHSA-2025:14136 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-305.170.1.el8_4 | RHSA-2025:15035 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-372.158.1.el8_6 | RHSA-2025:14692 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-477.107.1.el8_8 | RHSA-2025:14511 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-553.69.1.el8_10 | RHSA-2025:13589 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoaarch64 | Advisory build | 4.18.0-372.158.1.el8_6 | RHSA-2025:14692 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoaarch64 | Advisory build | 4.18.0-553.69.1.el8_10 | RHSA-2025:13589 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoppc64le | Advisory build | 4.18.0-372.158.1.el8_6 | RHSA-2025:14692 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoppc64le | Advisory build | 4.18.0-477.107.1.el8_8 | RHSA-2025:14511 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoppc64le | Advisory build | 4.18.0-553.69.1.el8_10 | RHSA-2025:13589 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfos390x | Advisory build | 4.18.0-372.158.1.el8_6 | RHSA-2025:14692 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfos390x | Advisory build | 4.18.0-553.69.1.el8_10 | RHSA-2025:13589 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-193.164.1.el8_2 | RHSA-2025:14136 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-305.170.1.el8_4 | RHSA-2025:15035 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-372.158.1.el8_6 | RHSA-2025:14692 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-477.107.1.el8_8 | RHSA-2025:14511 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-553.69.1.el8_10 | RHSA-2025:13589 |
| Red Hat Enterprise Linux | RHEL-8 | kernelaarch64 | Advisory build | 4.18.0-372.158.1.el8_6 | RHSA-2025:14692 |
| Red Hat Enterprise Linux | RHEL-8 | kernelaarch64 | Advisory build | 4.18.0-553.69.1.el8_10 | RHSA-2025:13589 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-372.158.1.el8_6 | RHSA-2025:14692 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-477.107.1.el8_8 | RHSA-2025:14511 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-553.69.1.el8_10 | RHSA-2025:13589 |
| Red Hat Enterprise Linux | RHEL-8 | kernels390x | Advisory build | 4.18.0-372.158.1.el8_6 | RHSA-2025:14692 |
| Red Hat Enterprise Linux | RHEL-8 | kernels390x | Advisory build | 4.18.0-553.69.1.el8_10 | RHSA-2025:13589 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-193.164.1.el8_2 | RHSA-2025:14136 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-305.170.1.el8_4 | RHSA-2025:15035 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-372.158.1.el8_6 | RHSA-2025:14692 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-477.107.1.el8_8 | RHSA-2025:14511 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-553.69.1.el8_10 | RHSA-2025:13589 |
| Red Hat Enterprise Linux | RHEL-8 | kernelx86_64 | Advisory build | 4.18.0-193.164.1.el8_2 | RHSA-2025:14136 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:A - The UAF is in pcan_usb_fd_decode_canmsg/decode_status on the USB bulk RX path that delivers CAN/CAN-FD frames from a PEAK USB FD adapter. In the highest realistic deployment (automotive/industrial host with the adapter already attached and the CAN netdev up), an attacker on the shared CAN bus can send frames that the adapter forwards into this decode path, which is an adjacent-segment attack analogous to Bluetooth/WiFi rather than a pure physical plug-in. AC:L - Any received CAN frame or status message that takes the decode path calls peak_usb_netif_rx() and then dereferences the can_frame alias; the attacker fully controls frame generation on the bus and does not depend on an uncontrollable race or rare memory layout to trigger the use-after-free. PR:N - CAN-bus peers need no host account or capability; once the PEAK interface is up in normal operation, URB completion runs in kernel context with no authentication of on-bus traffic. UI:N - No separate victim action is required beyond the already-deployed adapter and up interface; on-bus frames are processed automatically by peak_usb_read_bulk_callback → pcan_usb_fd_decode_buf. S:U - Impact is confined to the same host kernel that owns the peak_usb driver and skb allocator; this is ordinary kernel memory corruption, not a VM escape, IOMMU bypass, or other cross-authority boundary crossing. C:H - This is a use-after-free of an sk_buff/can_frame after ownership transfer to netif_rx; UAF of heap objects enables reclaim and disclosure of freed object contents, so confidentiality is scored High. I:H - The same UAF allows heap reuse of the freed skb object and is treated as providing a corruption/write primitive suitable for control-flow hijack under kernel UAF guidance, so integrity is High. A:H - Use-after-free of skb memory after netif_rx can oops/panic when the object is reused or unmapped, and UAF bugs are scored High availability even when not fully exploited for code execution.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | CISA-ADP · adp | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 0a25e1f4f18566b750ebd3ae995af64e23111e63 to < 5408824636fa0dfedb9ecb0d94abd573131bfbbe (affected · git)0a25e1f4f18566b750ebd3ae995af64e23111e63 to < ddd1416f44130377798c1430b76503513b7497c2 (affected · git)0a25e1f4f18566b750ebd3ae995af64e23111e63 to < ec939c13c3fff2114479769c8380b7f1a54feca9 (affected · git)0a25e1f4f18566b750ebd3ae995af64e23111e63 to < 50aca891d7a554db0901b245167cd653d73aaa71 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.0 (affected)0 to < 4.0 (unaffected · semver)4.19.171 through 4.19.* (unaffected · semver)5.4.93 through 5.4.* (unaffected · semver)5.10.11 through 5.10.* (unaffected · semver)5.11 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-416 CWE-416 Use After Free
References
4Provider assertions
2Linux · cna
can: peak_usb: fix use after free bugs
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c541cc325d850544e6a3fa8314eaa6db4aaf4d36c8ee358968b5a397078aa99c
- Ingested
- 23 Sep 2026, 07:57:11 UTC
- Source record
- Official CVE record