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-3802

CVE-2021-3802: Udisks2 Denial of Service Vulnerability

CVE-2021-3802 is a denial of service vulnerability in Udisks2 that allows attackers to trigger kernel panic using crafted image files or USB devices. This article covers technical details, affected versions, and mitigations.

Published: February 25, 2026

CVE-2021-3802 Overview

CVE-2021-3802 is an Improper Input Validation vulnerability discovered in udisks2, a daemon that provides interfaces for managing storage devices on Linux systems. This flaw allows an attacker to input a specially crafted image file or USB device, which can lead to a kernel panic. The vulnerability primarily impacts system availability, potentially causing complete denial of service on affected systems.

Critical Impact

A local attacker with high privileges can trigger a kernel panic through specially crafted storage media, causing complete system unavailability and requiring manual intervention to restore services.

Affected Products

  • udisks_project udisks (all versions prior to fix)
  • Fedora 34
  • Red Hat Enterprise Linux 8.0

Discovery Timeline

  • 2021-11-29 - CVE-2021-3802 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-3802

Vulnerability Analysis

The vulnerability resides in udisks2's handling of storage device media. When processing specially crafted image files or USB devices, udisks2 fails to properly validate input data before passing it to kernel-level operations. This improper input validation (CWE-20) allows malicious input to propagate through the system, ultimately triggering a kernel panic condition.

The attack requires local access to the system and high privileges to execute. User interaction is also required, typically involving mounting or interacting with the malicious storage media. While the vulnerability does not compromise data confidentiality or integrity, it poses a significant threat to system availability.

Root Cause

The root cause of CVE-2021-3802 is improper input validation in the udisks2 daemon when processing filesystem metadata from storage devices. The daemon fails to adequately sanitize and validate data structures from mounted media before invoking kernel-level mount operations. When a maliciously crafted image file or USB device contains malformed metadata, this unvalidated input triggers undefined behavior in the kernel, resulting in a panic condition.

Attack Vector

The attack vector for this vulnerability is local, requiring an attacker to have physical access to the system or the ability to present a malicious image file to the udisks2 daemon. The exploitation scenario typically involves:

  1. An attacker prepares a specially crafted disk image or USB device with malformed filesystem metadata
  2. The attacker presents this storage media to a vulnerable system running udisks2
  3. When the system attempts to enumerate or mount the device through udisks2, the malformed data is processed
  4. The unvalidated input reaches kernel-level operations, triggering a kernel panic
  5. The system becomes completely unavailable until manually rebooted

The vulnerability mechanism involves improper boundary checking and input sanitization in udisks2's device handling routines. For detailed technical information, refer to the SYSS Security Advisory #045 and the Red Hat Bug Report #2003649.

Detection Methods for CVE-2021-3802

Indicators of Compromise

  • Unexpected kernel panic events with crash logs referencing storage device operations or udisks2
  • System reboots occurring immediately after USB device insertion or disk image mounting
  • Kernel log entries showing errors in filesystem parsing or mount operations preceding system crashes
  • Crash dump analysis revealing udisks2 or storage-related kernel modules in the call stack

Detection Strategies

  • Monitor system logs for kernel panic events and correlate with recent storage device activity
  • Implement USB device insertion monitoring to track all new storage media connections
  • Deploy endpoint detection rules that alert on unexpected system reboots following device mount operations
  • Configure SentinelOne Singularity Platform to detect anomalous udisks2 behavior patterns

Monitoring Recommendations

  • Enable kernel crash dump collection to facilitate post-incident analysis of panic events
  • Configure centralized logging to capture dmesg output and system journal entries related to storage operations
  • Monitor for repeated system crashes that may indicate active exploitation attempts
  • Deploy file integrity monitoring on udisks2 configuration files and binaries

How to Mitigate CVE-2021-3802

Immediate Actions Required

  • Update udisks2 packages to the latest patched versions available from your distribution
  • Restrict USB device access to authorized users only through udev rules
  • Implement USB device whitelisting to prevent mounting of unknown storage media
  • Consider disabling automatic mounting of removable media on critical systems

Patch Information

Vendors have released patches addressing this vulnerability. Administrators should apply updates from their respective Linux distributions:

  • Red Hat Enterprise Linux: Refer to Red Hat Bug Report #2003649 for patch information
  • Debian/Ubuntu: Check the Debian LTS Security Announcement for patched package versions
  • Fedora: Update udisks2 packages through standard package management

Verify patch installation by checking the udisks2 package version against your distribution's security advisories.

Workarounds

  • Configure udev rules to restrict USB storage device access to specific trusted users or groups
  • Disable automatic mounting by configuring udisks2 to require explicit user authentication for mount operations
  • Implement physical USB port restrictions where feasible in high-security environments
  • Use application whitelisting to control which processes can interact with storage device interfaces
bash
# Configuration example - Restrict USB storage mounting via udev rules
# Create /etc/udev/rules.d/99-usb-storage-restrict.rules
ACTION=="add", SUBSYSTEM=="block", KERNEL=="sd*", ATTRS{removable}=="1", GROUP="storage", MODE="0660"

# Reload udev rules after creation
sudo udevadm control --reload-rules
sudo udevadm trigger

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechUdisks

  • SeverityMEDIUM

  • CVSS Score4.2

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-20
  • Technical References
  • Debian LTS Security Announcement
  • Vendor Resources
  • Red Hat Bug Report #2003649

  • SYSS Security Advisory #045
  • Related CVEs
  • CVE-2026-26103: udisks Privilege Escalation Vulnerability

  • CVE-2026-26104: udisks Auth Bypass Vulnerability

  • CVE-2025-8067: UDisks Privilege Escalation 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