Skip to main content

Linux Kernel CVE-2021-47670

HIGH
Use After Free (CWE-416)
2025-04-17 416baaa9-dc9f-4396-8d5f-8c081fb06d67
8.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Gain access to CAN bus network segment
  2. Delivery
    Send CAN frames to victim Linux host
  3. Exploit
    peak_usb driver receives frames
  4. Install
    peak_usb_netif_rx_ni transfers skb ownership
  5. C2
    Driver dereferences freed can_frame memory
  6. Execute
    Kernel heap corruption
  7. Impact
    Crash (DoS) or privilege escalation

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires three concurrent conditions: (1) a PEAK System USB CAN bus adapter must be physically attached to the target Linux host and the peak_usb kernel module must be loaded and active - this is a non-default, hardware-specific configuration; (2) the attacker must have adjacent network access to the CAN bus segment, meaning either physical access to the bus wiring or logical membership on the same CAN network (e.g., another node on the same industrial or automotive CAN segment); (3) the kernel must be running a vulnerable version that includes the peak_usb driver without the reordering fix. No OS-level authentication is required (PR:N) because the trigger is inbound CAN frame processing, not a privileged system call. Exploitation is limited by the niche hardware requirement, the physical-adjacency constraint of CAN bus topology, and the technical complexity of reliably controlling kernel heap layout after the UAF.

Impact

The CVSS 3.1 score of 8.8 (AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) reflects theoretical maximum impact from an adjacent attacker, but several signals substantially lower the real-world threat level. EPSS at 0.07% (21st percentile) is near the floor, indicating the security community sees almost no exploitation activity. The vulnerability is absent from CISA KEV, with no known active exploitation. The adjacent attack vector (AV:A) is a hard constraint: exploitation requires physical or logical presence on a CAN bus segment connected to a vulnerable host - limiting the exposed population to industrial control systems, automotive labs, embedded Linux platforms, or test benches using PEAK USB CAN hardware. On top of that, reliably weaponizing a kernel UAF into code execution (versus a crash) requires significant exploit engineering. The practical risk is low-to-moderate for the narrow population running peak_usb in production; it is negligible for general-purpose Linux deployments. The CVSS score accurately characterizes severity in the worst case but is misleading as a general risk signal given the niche hardware dependency.

Exploit ScenarioDerived

An attacker with physical or logical access to a CAN bus network connected to a Linux host sends CAN frames to a system running the unpatched peak_usb driver. The kernel's receive handler dereferences the can_frame pointer after skb ownership has been transferred, corrupting heap memory. Depending on heap layout at the time of the race, this most likely results in a kernel panic and system crash; with additional heap grooming primitives, a skilled attacker might achieve arbitrary kernel code execution and local privilege escalation to root. No public proof-of-concept exploit code has been identified.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Aug 04, 2026

Use-after-free memory corruption in the Linux kernel's PEAK USB CAN bus driver (peak_usb) exposes systems with PEAK System USB adapters to kernel memory corruption when processing incoming CAN frames from an adjacent network. The flaw stems from incorrect operation ordering: peak_usb_netif_rx_ni(skb) transfers skb ownership to the network stack before the driver finishes accessing the can_frame alias cf, which points into the now-freed skb memory. No public exploit has been identified and EPSS is extremely low (0.07%, 21st percentile), but multiple vendor patch trains from Red Hat and SUSE confirm the issue reached production systems and warranted backported fixes.

Earlier versions of this analysis (1)
v1 Mar 28, 2026 - 18:37 CVSS 7.8

RemediationAI

Apply the upstream kernel fix available via four stable-tree commits: 50aca891d7a554db0901b245167cd653d73aaa71, 5408824636fa0dfedb9ecb0d94abd573131bfbbe, ddd1416f44130377798c1430b76503513b7497c2, and ec939c13c3fff2114479769c8380b7f1a54feca9 (all at git.kernel.org/stable). Red Hat Enterprise Linux users should apply the packages from RHSA-2025:13590 and related advisories at access.redhat.com/errata. SUSE users should apply SUSE-SU-2025:01633 and associated updates. Where immediate patching is not possible, the most effective compensating control is to unload and blacklist the peak_usb module: run 'modprobe -r peak_usb' and add 'blacklist peak_usb' to /etc/modprobe.d/blacklist.conf. This eliminates the attack surface entirely with the trade-off that PEAK USB CAN devices will be non-functional until the patch is applied. No other compensating control short of hardware removal provides equivalent protection, as the vulnerability is triggered by normal CAN frame receipt.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability lives in the Linux kernel CAN subsystem's peak_usb driver, which supports PEAK System USB-to-CAN bus adapters. The root cause is CWE-416 (Use After Free): sk_buff (skb) is a kernel socket buffer structure whose data pointer is aliased by the local can_frame pointer cf. When peak_usb_netif_rx_ni(skb) is called, ownership of skb is passed to the network stack, which is free to recycle or free the underlying memory immediately. Any subsequent dereference of cf (or skb itself) operates on potentially reclaimed memory, enabling heap corruption. The fix reorders these operations so all cf/skb reads complete before the rx_ni handoff. CPE data confirms the affected product is linux:linux_kernel across stable release branches as well as 5.11-rc1 through 5.11-rc4 pre-release candidates.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 8.8 HIGH
AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

CAN bus adjacency (AV:A) is the hard prerequisite; once on the bus, no OS privileges or user interaction are needed to send triggering frames.

3.1 AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Red Hat 7.0 MEDIUM

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Adjacent
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Analysis Updated
Aug 04, 2026 - 10:37 vuln.today
v2 - CVSS changed
CVSS changed
Aug 04, 2026 - 10:23 NVD
7.8 (HIGH) 8.8 (HIGH)
Patch released
Mar 28, 2026 - 18:37 nvd
Patch available
CVE Published
Apr 17, 2025 - 18:15 nvd
HIGH 7.8

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A use-after-free memory corruption vulnerability (CVE-2021-47670, CVSS 8.8) affects the Linux kernel's PEAK USB CAN bus driver, impacting organizations deploying PEAK System USB adapters for CAN bus connectivity. Successful exploitation could lead to kernel memory corruption and system instability. While no public exploit code has been identified and actual exploitation remains unlikely (EPSS 0.1%), the underlying defect warrants prompt patching to eliminate risk to industrial and automotive systems relying on this hardware.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 79% exploitable
Prevalence
Low
affects only Linux hosts with PEAK System USB CAN adapters attached
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Controlled
Automatable· derived
No
Human Impact
Medium

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)CVE.org

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.11:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.11:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.11:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.11:rc4:*:*:*:*:*:*

Vendor StatusVendor

SUSE

Severity: High
Product Status
Container suse/sle-micro-rancher/5.2:latest Image SLES15-SP3-Micro-5-2-BYOS-Azure Image SLES15-SP3-Micro-5-2-BYOS-EC2-HVM Image SLES15-SP3-Micro-5-2-BYOS-GCE Affected
Image SLES12-SP5-Azure-BYOS Image SLES12-SP5-Azure-HPC-BYOS Image SLES12-SP5-EC2-BYOS Image SLES12-SP5-EC2-ECS-On-Demand Image SLES12-SP5-EC2-On-Demand Image SLES12-SP5-GCE-BYOS Image SLES12-SP5-GCE-On-Demand Affected
Image SLES12-SP5-Azure-SAP-BYOS Image SLES12-SP5-Azure-SAP-On-Demand Image SLES12-SP5-EC2-SAP-BYOS Image SLES12-SP5-EC2-SAP-On-Demand Image SLES12-SP5-GCE-SAP-BYOS Image SLES12-SP5-GCE-SAP-On-Demand Image SLES12-SP5-SAP-Azure-LI-BYOS-Production Image SLES12-SP5-SAP-Azure-VLI-BYOS-Production Affected
Image SLES15-SP3-SAP-Azure-LI-BYOS-Production Image SLES15-SP3-SAP-Azure-VLI-BYOS-Production Affected
SUSE Enterprise Storage 7.1 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy