Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2022-28389

CVE-2022-28389: Linux Kernel Use-After-Free Vulnerability

CVE-2022-28389 is a use-after-free flaw in the Linux Kernel's CAN USB driver that triggers a double free condition. This article covers the technical details, affected kernel versions, security impact, and mitigation.

Published: February 11, 2026

CVE-2022-28389 Overview

CVE-2022-28389 is a Double Free vulnerability in the Linux kernel's MCBA USB CAN (Controller Area Network) driver. The flaw exists in the mcba_usb_start_xmit function within drivers/net/can/usb/mcba_usb.c, affecting Linux kernel versions through 5.17.1. This memory corruption issue occurs in the error handling path when transmitting CAN frames over USB, where the socket buffer (skb) can be freed twice, leading to kernel memory corruption and potential denial of service.

Critical Impact

Local attackers with low privileges can exploit this double free vulnerability to crash the kernel or potentially achieve memory corruption, affecting systems utilizing Microchip CAN BUS Analyzer USB devices.

Affected Products

  • Linux Kernel through version 5.17.1
  • Fedora 34, 35, and 36
  • Debian Linux 10.0 and 11.0
  • NetApp H-Series (H300S, H500S, H700S, H300E, H500E, H700E, H410S, H410C) firmware

Discovery Timeline

  • 2022-04-03 - CVE-2022-28389 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-28389

Vulnerability Analysis

The vulnerability resides in the MCBA USB driver's transmit function mcba_usb_start_xmit(). When an error occurs during the transmission of CAN frames, the code path performs cleanup operations that include freeing the socket buffer (skb). However, the error handling code contained a flaw where dev_kfree_skb(skb) was explicitly called in the xmit_failed label, even though the socket buffer had already been freed through can_free_echo_skb() as part of the CAN subsystem's echo mechanism.

This double free condition occurs because the CAN networking layer maintains an echo buffer that tracks transmitted frames for loopback purposes. When can_free_echo_skb() is called during error handling, it properly deallocates the associated skb. The subsequent explicit call to dev_kfree_skb(skb) then attempts to free the same memory region a second time, corrupting kernel heap metadata.

Root Cause

The root cause is improper memory management in the error handling path of mcba_usb_start_xmit(). The CAN subsystem's can_free_echo_skb() function already handles the deallocation of the socket buffer when cleaning up a failed transmission. The redundant call to dev_kfree_skb(skb) in the xmit_failed error label creates a CWE-415 (Double Free) condition. This type of vulnerability can lead to use-after-free scenarios, heap corruption, and unpredictable kernel behavior.

Attack Vector

This is a local attack vector requiring low privileges to exploit. An attacker would need:

  1. Local access to a system with a Microchip CAN BUS Analyzer USB device connected
  2. The ability to trigger transmission errors through the CAN interface
  3. Sufficient privileges to interact with the network device

By crafting specific conditions that cause transmission failures, an attacker can repeatedly trigger the double free, potentially corrupting kernel memory structures and causing system instability or denial of service.

c
// Security patch removing the redundant dev_kfree_skb call
// Source: https://github.com/torvalds/linux/commit/04c9b00ba83594a29813d6b1fb8fdc93a3915174

 xmit_failed:
 	can_free_echo_skb(priv->netdev, ctx->ndx, NULL);
 	mcba_usb_free_ctx(ctx);
-	dev_kfree_skb(skb);
 	stats->tx_dropped++;
 
 	return NETDEV_TX_OK;

Source: GitHub Linux Commit Update

Detection Methods for CVE-2022-28389

Indicators of Compromise

  • Unexpected kernel crashes or panics involving the mcba_usb module
  • Kernel log messages referencing double free errors in mcba_usb_start_xmit
  • System instability when using Microchip CAN BUS Analyzer USB devices
  • Memory corruption warnings in kernel ring buffer (dmesg) related to CAN operations

Detection Strategies

  • Monitor kernel logs for KASAN (Kernel Address Sanitizer) reports indicating double free in mcba_usb.c
  • Implement kernel module integrity monitoring for the mcba_usb driver
  • Deploy endpoint detection to identify unusual CAN interface activity patterns
  • Use crash dump analysis to identify double free stack traces in the mcba_usb module

Monitoring Recommendations

  • Enable kernel crash dump collection (kdump) to capture exploitation attempts
  • Monitor for repeated CAN transmission failures that could indicate exploitation activity
  • Configure syslog alerts for kernel oops or panic messages mentioning mcba_usb
  • Track USB device hotplug events for CAN analyzers on sensitive systems

How to Mitigate CVE-2022-28389

Immediate Actions Required

  • Update the Linux kernel to a patched version that includes commit 04c9b00ba83594a29813d6b1fb8fdc93a3915174
  • Apply distribution-specific security updates from Debian (DSA-5127, DSA-5173), Fedora, or your vendor
  • If immediate patching is not possible, consider unloading the mcba_usb kernel module
  • Review and restrict physical access to systems with CAN USB devices

Patch Information

The vulnerability has been addressed in the upstream Linux kernel through commit 04c9b00ba83594a29813d6b1fb8fdc93a3915174. The fix removes the redundant dev_kfree_skb(skb) call from the xmit_failed error path, as the socket buffer is already freed by can_free_echo_skb(). Security advisories have been issued by Debian (DSA-5127), Debian (DSA-5173), and NetApp.

Workarounds

  • Blacklist the mcba_usb kernel module if CAN BUS Analyzer functionality is not required
  • Restrict access to the affected CAN network interfaces using proper permissions
  • Implement network namespace isolation to limit CAN interface exposure
  • Monitor and limit users who can load or interact with USB CAN devices
bash
# Configuration example - Blacklist the mcba_usb module
echo "blacklist mcba_usb" | sudo tee /etc/modprobe.d/blacklist-mcba_usb.conf
sudo update-initramfs -u

# Verify module is not loaded
lsmod | grep mcba_usb

# If loaded, remove the module
sudo modprobe -r mcba_usb

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeUse After Free

  • Vendor/TechLinux Kernel

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-415
  • Technical References
  • Fedora Package Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement

  • NetApp Security Advisory

  • Debian Security Advisory DSA-5127

  • Debian Security Advisory DSA-5173
  • Vendor Resources
  • GitHub Linux Commit Update
  • Related CVEs
  • CVE-2026-31475: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-31469: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-31457: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-31444: Linux Kernel Use-After-Free Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English