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-2026-23031

CVE-2026-23031: Linux Kernel gs_usb URB Memory Leak Flaw

CVE-2026-23031 is a memory leak vulnerability in the Linux kernel gs_usb driver affecting URB management in CAN USB devices. This post covers the technical details, affected versions, security impact, and mitigation.

Published: February 6, 2026

CVE-2026-23031 Overview

A memory leak vulnerability has been discovered in the Linux kernel's GS_USB CAN (Controller Area Network) driver. The vulnerability exists in the gs_usb_receive_bulk_callback() function, where USB Request Blocks (URBs) used for USB-in transfers are not properly anchored after completion, leading to memory leaks when the device is closed.

The vulnerability stems from an incorrect assumption about URB lifecycle management. In gs_can_open(), URBs for USB-in transfers are allocated, added to the parent->rx_submitted anchor, and submitted. However, the USB framework unanchors URBs before calling the complete callback function. This means that once an in-URB has been completed, it is no longer anchored to parent->rx_submitted and consequently is not released when usb_kill_anchored_urbs() is called in gs_can_close().

Critical Impact

Repeated opening and closing of the GS_USB CAN device can lead to kernel memory exhaustion through leaked URB allocations, potentially causing system instability or denial of service.

Affected Products

  • Linux Kernel (multiple versions with GS_USB driver)
  • Systems using GS_USB-based CAN adapters
  • Embedded systems with CAN bus connectivity via USB

Discovery Timeline

  • 2026-01-31 - CVE CVE-2026-23031 published to NVD
  • 2026-02-03 - Last updated in NVD database

Technical Details for CVE-2026-23031

Vulnerability Analysis

This memory leak vulnerability occurs within the Linux kernel's GS_USB driver, which provides support for GS_USB-compatible CAN (Controller Area Network) adapters. The driver manages USB Request Blocks (URBs) for handling incoming USB bulk transfers from the CAN device.

The core issue lies in the URB lifecycle management within the driver's receive callback mechanism. When gs_can_open() is called, the driver allocates URBs, anchors them to parent->rx_submitted, and submits them for USB-in transfers. The completion callback gs_usb_receive_bulk_callback() processes the received data and resubmits the URB for further transfers.

However, the USB framework's design causes URBs to be unanchored before the completion callback is invoked. This creates a window where completed URBs are no longer tracked by the anchor list. When gs_can_close() attempts to clean up by calling usb_kill_anchored_urbs(parent->rx_submitted), these unanchored URBs are missed, resulting in memory leaks.

Root Cause

The root cause is a failure to re-anchor URBs in the gs_usb_receive_bulk_callback() function after the USB framework automatically unanchors them prior to callback execution. The driver incorrectly assumed that URBs would remain anchored throughout their lifecycle, but the USB subsystem unanchors URBs before invoking completion callbacks to allow for flexible URB management.

Attack Vector

This vulnerability is primarily exploitable through local access to the system. An attacker with the ability to repeatedly open and close GS_USB CAN device interfaces could trigger the memory leak, gradually exhausting kernel memory. In systems where CAN devices are managed by automated processes or accessible to unprivileged users, this could lead to resource exhaustion and system instability.

The attack does not require special privileges beyond access to the CAN device, making it particularly concerning for systems where CAN interfaces are exposed to less privileged processes or services.

Detection Methods for CVE-2026-23031

Indicators of Compromise

  • Gradual increase in kernel memory usage (slab allocations) over time on systems with GS_USB CAN devices
  • Kernel memory exhaustion warnings in system logs after extended CAN device usage
  • Unusual growth in URB-related memory allocations visible through /proc/slabinfo
  • System instability or OOM (Out of Memory) killer activations on systems using GS_USB adapters

Detection Strategies

  • Monitor kernel memory allocation patterns using tools like slabtop or /proc/meminfo for unexplained growth
  • Implement kernel tracing on gs_can_open() and gs_can_close() calls to correlate with memory changes
  • Review system logs for memory pressure warnings on systems running CAN applications
  • Use kernel debugging tools to track URB allocation and deallocation patterns

Monitoring Recommendations

  • Set up alerts for abnormal kernel memory growth on systems with GS_USB CAN devices
  • Monitor /proc/slabinfo for increasing kmalloc-* or URB-related slab caches
  • Implement periodic restarts of CAN services as a temporary mitigation measure
  • Deploy memory monitoring dashboards for embedded systems using CAN interfaces

How to Mitigate CVE-2026-23031

Immediate Actions Required

  • Update the Linux kernel to a patched version that includes the fix for gs_usb_receive_bulk_callback()
  • Minimize frequent open/close cycles on GS_USB CAN devices until patched
  • Monitor memory usage on affected systems and schedule periodic restarts if necessary
  • Review and restrict access to CAN device interfaces to trusted processes only

Patch Information

The fix involves anchoring the URB in gs_usb_receive_bulk_callback() to the parent->rx_submitted anchor, ensuring proper cleanup when the device is closed. Multiple kernel commits address this vulnerability:

  • Commit 08624b7206dd
  • Commit 7352e1d5932a
  • Commit 9f669a38ca70
  • Commit f905bcfa971e

Apply the appropriate patch based on your kernel version by pulling from the stable kernel git repository.

Workarounds

  • Limit access to GS_USB CAN device files to only essential processes and users
  • Implement application-level connection pooling to reduce device open/close frequency
  • Schedule periodic system restarts during maintenance windows to reclaim leaked memory
  • Consider using alternative CAN adapters with different drivers until the patch is applied
bash
# Check current kernel version and GS_USB driver status
uname -r
lsmod | grep gs_usb

# Monitor kernel memory usage for leak detection
watch -n 60 'cat /proc/meminfo | grep -E "MemFree|Slab|SUnreclaim"'

# Restrict CAN device access (temporary mitigation)
chmod 660 /dev/ttyACM*
chown root:canusers /dev/ttyACM*

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechLinux Kernel

  • SeverityNONE

  • CVSS ScoreN/A

  • EPSS Probability0.02%

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • Kernel Git Commit Changes

  • Kernel Git Commit Changes

  • Kernel Git Commit Changes

  • Kernel Git Commit Changes
  • Related CVEs
  • CVE-2026-31439: Linux Kernel XDMA Error Handling Flaw

  • CVE-2026-31441: Linux Kernel Memory Leak Vulnerability

  • CVE-2026-31434: Linux Kernel Memory Leak Vulnerability

  • CVE-2026-31435: Linux Kernel Read Abandonment 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