VDB

CVE-2021-47670

CVE-2021-47670 PUBLISHED CVSS 8.8 HIGH

can: peak_usb: fix use after free bugs

Reported by linux · Published April 17, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinuxec939c13c3fff2114479769c8380b7f1a54feca9, 50aca891d7a554db0901b245167cd653d73aaa71, 4.0

Risk scores

CVSS 3.1
8.8
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux0a25e1f4f18566b750ebd3ae995af64e23111e63, 0a25e1f4f18566b750ebd3ae995af64e23111e63, 0a25e1f4f18566b750ebd3ae995af64e23111e63
LinuxLinux4.0, 0, 4.19.171
LinuxLinux4.0, 4.19.171, 5.4.93
linuxlinux_kernel4.0, 4.0, 4.0

Timeline

  • Apr 17, 2025 CVE Published
  • Apr 18, 2025 EPSS Score (30 in total, the first dated here)
  • Dec 19, 2025 PoC Published
  • Jun 2, 2026 Security Advisory (173 in total, the first dated here)
  • Jul 13, 2026 Coalition ESS Score
  • Aug 5, 2026 CVE Updated
  • Oct 18, 2026 Distribution Patch (170 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-47670
vulnetix vdb fixes CVE-2021-47670

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-47670/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›