The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-2021-34693

CVE-2021-34693: Linux Kernel Information Disclosure Flaw

CVE-2021-34693 is an information disclosure vulnerability in the Linux Kernel's CAN BCM module that exposes sensitive kernel memory to local users. This article covers technical details, affected versions, and mitigations.

Published: February 25, 2026

CVE-2021-34693 Overview

A vulnerability exists in the Linux kernel's Controller Area Network (CAN) Broadcast Manager (BCM) implementation within net/can/bcm.c. The vulnerability allows local users to obtain sensitive information from kernel stack memory due to uninitialized data structure members. This information disclosure vulnerability affects Linux kernel versions through 5.12.10 and has been addressed in subsequent kernel releases.

Critical Impact

Local attackers can leverage this vulnerability to read sensitive kernel memory contents, potentially exposing cryptographic keys, memory addresses useful for bypassing ASLR, or other security-sensitive data stored in kernel stack memory.

Affected Products

  • Linux Kernel through version 5.12.10
  • Debian Linux 9.0
  • Debian Linux 10.0

Discovery Timeline

  • 2021-06-14 - CVE-2021-34693 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-34693

Vulnerability Analysis

The vulnerability resides in the CAN BCM (Broadcast Manager) subsystem of the Linux kernel. The CAN protocol is commonly used in automotive and industrial applications for communication between microcontrollers and devices. The BCM module provides advanced message filtering and management capabilities for CAN networks.

The core issue stems from incomplete initialization of data structures within net/can/bcm.c. When certain structures are allocated and used without proper initialization, portions of the kernel stack memory remain in an undefined state. When these structures are subsequently copied to user space or processed in ways that expose their contents, local users can read this uninitialized memory, leading to information disclosure.

This type of vulnerability (CWE-909: Missing Initialization of Resource) is particularly concerning in kernel space because the exposed memory may contain sensitive information from previous kernel operations, including memory addresses that could defeat kernel address space layout randomization (KASLR) or other security mechanisms.

Root Cause

The root cause is the failure to properly initialize all members of data structures in the CAN BCM implementation before use. When structures containing uninitialized fields are copied to userspace or otherwise exposed, the garbage data present in those fields leaks kernel stack contents. The fix involves ensuring proper initialization of all structure members using memset() or explicit field initialization before the structure is used.

Attack Vector

This vulnerability requires local access to exploit. An attacker with local user privileges can interact with the CAN BCM subsystem through socket operations to trigger the information disclosure. The attack does not require user interaction and can be performed programmatically.

The exploitation mechanism involves:

  1. Opening a CAN BCM socket from userspace
  2. Performing operations that cause the kernel to allocate and use the vulnerable data structures
  3. Reading back data that contains uninitialized portions of kernel stack memory
  4. Analyzing the leaked data to extract sensitive kernel information

The technical details of this vulnerability are documented in the Linux Kernel Commit which contains the fix. Additional discussion can be found in the Kernel Network Development Thread.

Detection Methods for CVE-2021-34693

Indicators of Compromise

  • Unusual or unexpected CAN socket operations from non-privileged processes
  • Processes repeatedly opening and closing CAN BCM sockets in rapid succession
  • Memory access patterns suggesting kernel memory disclosure attempts
  • Applications accessing CAN subsystem that don't typically require CAN functionality

Detection Strategies

  • Monitor for processes opening AF_CAN sockets with CAN_BCM protocol that don't have legitimate CAN-related purposes
  • Implement kernel auditing to log CAN BCM socket operations
  • Use SentinelOne's behavioral AI to detect anomalous kernel subsystem access patterns
  • Deploy kernel integrity monitoring to identify exploitation attempts targeting kernel memory

Monitoring Recommendations

  • Enable kernel audit logging for socket operations involving the CAN subsystem
  • Monitor system logs for unusual CAN-related kernel messages
  • Implement runtime kernel memory integrity checks where possible
  • Review process behavior analytics for applications interacting with CAN interfaces unexpectedly

How to Mitigate CVE-2021-34693

Immediate Actions Required

  • Update the Linux kernel to a patched version that addresses CVE-2021-34693
  • For Debian systems, apply the security updates referenced in DSA-4941
  • Restrict access to CAN interfaces to only trusted users and applications
  • Review and audit applications that utilize CAN BCM functionality

Patch Information

The vulnerability has been fixed in the upstream Linux kernel. The fix ensures proper initialization of all data structure members in the CAN BCM implementation. The patch is available in kernel commit 5e87ddbe3942e27e939bdc02deb8579b0cbd8ecc.

For Debian-based systems, security updates are available as documented in:

  • Debian LTS Announcement #14
  • Debian LTS Announcement #15
  • Debian LTS Announcement #16

Workarounds

  • If CAN functionality is not required, consider blacklisting the can-bcm kernel module to prevent loading
  • Restrict access to the CAN subsystem using kernel module parameters or SELinux/AppArmor policies
  • Limit local user access on systems where CAN functionality is critical but patches cannot be immediately applied
  • Implement network segmentation to isolate systems with CAN interfaces from general-purpose computing environments
bash
# Blacklist CAN BCM module if not required
echo "blacklist can-bcm" >> /etc/modprobe.d/blacklist-can.conf
echo "install can-bcm /bin/false" >> /etc/modprobe.d/blacklist-can.conf

# Update module dependencies
depmod -a

# Verify module is not loaded
lsmod | grep can

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechLinux

  • 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:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-909
  • Technical References
  • Linux Kernel Commit Details

  • Debian LTS Announcement #14

  • Debian LTS Announcement #15

  • Debian LTS Announcement #16

  • Kernel Network Development Discussion

  • Debian Security Advisory DSA-4941
  • Vendor Resources
  • OpenWall Security Mailing List
  • Related CVEs
  • CVE-2026-23418: Linux Kernel Information Disclosure Flaw

  • CVE-2025-59105: Flash Memory Information Disclosure Flaw

  • CVE-2024-50302: Android HID Core Information Disclosure

  • CVE-2024-0564: Linux Kernel Information Disclosure Flaw
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