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-2023-2166

CVE-2023-2166: Linux Kernel CAN Protocol DoS Vulnerability

CVE-2023-2166 is a null pointer dereference flaw in the Linux Kernel CAN protocol that enables local users to crash systems. This article covers the technical details, affected versions, impact, and mitigation strategies.

Published: January 27, 2026

CVE-2023-2166 Overview

A null pointer dereference vulnerability was discovered in the Controller Area Network (CAN) protocol implementation within the Linux kernel. The flaw exists in net/can/af_can.c where the ml_priv member may not be initialized during the receive path of CAN frames. This vulnerability allows a local user to crash the system or potentially cause a denial of service condition.

Critical Impact

Local attackers can exploit this null pointer dereference to crash the Linux kernel, causing system instability and denial of service conditions on affected systems.

Affected Products

  • Linux Kernel versions prior to the fix
  • Linux Kernel 6.1 release candidates (rc1 through rc8)
  • Linux Kernel 6.1 base release

Discovery Timeline

  • April 19, 2023 - CVE-2023-2166 published to NVD
  • February 5, 2025 - Last updated in NVD database

Technical Details for CVE-2023-2166

Vulnerability Analysis

This vulnerability is classified as a Null Pointer Dereference (CWE-476) in the Linux kernel's CAN protocol subsystem. The issue stems from improper initialization of the ml_priv structure during CAN frame reception. When CAN frames are processed through the receive path in net/can/af_can.c, the code assumes that ml_priv has been properly initialized. However, under certain conditions, this initialization may not occur, leading to a null pointer being dereferenced.

The CAN (Controller Area Network) protocol is widely used in automotive and industrial systems for communication between microcontrollers and devices. This vulnerability affects the networking stack component responsible for handling CAN protocol frames, making it particularly relevant for systems that utilize CAN bus communications.

Root Cause

The root cause of this vulnerability lies in the incomplete initialization logic within the CAN protocol's receive path. The ml_priv pointer, which is expected to reference private data associated with the CAN socket, is not properly validated or initialized before being accessed. This creates a scenario where the kernel code attempts to dereference a null pointer, triggering a kernel panic or system crash.

The affected code path fails to implement proper null checks before accessing the ml_priv member, violating the defensive programming principles that kernel code should follow. This oversight allows an attacker with local access to trigger the vulnerable code path and cause a denial of service.

Attack Vector

The vulnerability requires local access to exploit. An attacker must have the ability to interact with the CAN protocol subsystem on the target Linux system. The attack can be executed without requiring elevated privileges beyond standard user access, though the attacker does need valid local credentials.

The exploitation involves triggering CAN frame reception through the affected code path where ml_priv has not been initialized. This can be accomplished by creating specific network conditions or sending specially crafted CAN frames that exercise the vulnerable receive path. Upon successful exploitation, the kernel will attempt to dereference the null pointer, resulting in a kernel panic and system crash.

Detection Methods for CVE-2023-2166

Indicators of Compromise

  • Unexpected kernel panics or system crashes related to CAN subsystem operations
  • Kernel oops messages referencing net/can/af_can.c or related CAN protocol functions
  • System logs showing null pointer dereference errors in network subsystem
  • Repeated denial of service conditions affecting systems with CAN interfaces

Detection Strategies

  • Monitor kernel logs for panic messages mentioning CAN protocol or af_can module
  • Implement kernel crash dump analysis to identify null pointer dereference patterns
  • Deploy endpoint detection solutions to identify exploitation attempts targeting the CAN subsystem
  • Use SentinelOne's Linux agent to detect anomalous kernel behavior and crash patterns

Monitoring Recommendations

  • Enable kernel logging verbosity for network subsystems on critical systems
  • Configure crash dump collection for forensic analysis of any kernel panics
  • Monitor system uptime and availability metrics for unexpected service interruptions
  • Implement alerting for repeated system crashes on systems utilizing CAN protocols

How to Mitigate CVE-2023-2166

Immediate Actions Required

  • Update affected Linux kernel to a patched version that addresses this vulnerability
  • Review systems for CAN protocol usage and prioritize patching accordingly
  • Consider restricting local user access on systems with CAN interfaces until patches are applied
  • Monitor for exploitation attempts while awaiting patch deployment

Patch Information

The vulnerability has been addressed in updated Linux kernel versions. System administrators should consult the Linux Kernel Mailing List Post for detailed information about the fix and affected versions. Apply the appropriate kernel updates from your Linux distribution's security update channels.

Workarounds

  • Disable or unload the CAN protocol module (can) if CAN functionality is not required on the system
  • Restrict local user access to systems that must maintain CAN protocol functionality
  • Implement network segmentation to isolate systems using CAN interfaces
  • Consider using kernel live patching solutions if available for your distribution to minimize downtime
bash
# Disable CAN module if not required
sudo modprobe -r can
sudo modprobe -r can_raw
# Add to blacklist to prevent automatic loading
echo "blacklist can" | sudo tee /etc/modprobe.d/blacklist-can.conf
echo "blacklist can_raw" | sudo tee -a /etc/modprobe.d/blacklist-can.conf

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechLinux Kernel

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.01%

  • 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-476
  • Technical References
  • Linux Kernel Mailing List Post
  • Related CVEs
  • CVE-2026-31465: Linux Kernel Writeback DoS Vulnerability

  • CVE-2026-31472: Linux Kernel IPTFS DoS Vulnerability

  • CVE-2026-31451: Linux Kernel ext4 DOS Vulnerability

  • CVE-2026-31448: Linux Kernel ext4 DoS 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