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
    • 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-2020-14385

CVE-2020-14385: Linux Kernel XFS DoS Vulnerability

CVE-2020-14385 is a denial of service flaw in the Linux Kernel XFS file system that causes filesystem shutdown through metadata validation failures. This article covers technical details, affected versions, impact, and mitigation.

Published: March 4, 2026

CVE-2020-14385 Overview

A flaw was found in the Linux kernel before version 5.9-rc4 affecting the XFS file system metadata validator. The vulnerability causes the validator to incorrectly flag inodes with valid, user-creatable extended attributes as corrupt. This misidentification can trigger a file system shutdown or render the file system inaccessible until remounted, resulting in a denial of service condition. The primary threat posed by this vulnerability is to system availability.

Critical Impact

Local users can cause XFS file system shutdown by creating specific extended attributes, leading to denial of service and system unavailability until manual intervention.

Affected Products

  • Linux Kernel versions before 5.9-rc4 (including 5.9.0-rc1, 5.9.0-rc2, 5.9.0-rc3)
  • Canonical Ubuntu Linux 18.04 LTS and 20.04 LTS
  • Debian Linux 9.0

Discovery Timeline

  • 2020-09-15 - CVE-2020-14385 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2020-14385

Vulnerability Analysis

This vulnerability resides in the XFS file system's metadata validation logic within the Linux kernel. The XFS file system includes built-in validators that check the integrity of file system metadata, including inode extended attributes. Due to a flaw in the validation logic, the validator incorrectly identifies certain valid extended attributes as corrupt when they are actually legitimate and user-creatable.

When an inode is flagged as corrupt, the XFS file system triggers protective measures that can include shutting down the file system entirely or making it read-only. This behavior, while intended to protect against actual corruption, becomes exploitable when the validator produces false positives. A local user with the ability to create extended attributes on an XFS file system can craft attributes that trigger this erroneous corruption detection, leading to a denial of service.

The vulnerability is classified under CWE-131 (Incorrect Calculation of Buffer Size), indicating that the root cause involves improper size calculations or boundary checks within the metadata validation code.

Root Cause

The root cause stems from an incorrect calculation in the XFS extended attribute metadata validator. The validator performs boundary and size checks on extended attribute metadata, but the calculation logic contains a flaw that causes valid extended attribute configurations to fail validation. Specifically, when user-creatable extended attributes reach certain size thresholds or configurations, the validator's size calculation produces incorrect results, triggering false corruption alerts.

This type of bug is particularly insidious because it affects legitimate file system operations rather than requiring malformed or malicious data. Normal user operations that create extended attributes within their permitted scope can inadvertently trigger the vulnerability.

Attack Vector

The attack requires local access to the system with sufficient privileges to create extended attributes on an XFS file system. An attacker can exploit this vulnerability by:

  1. Identifying an XFS-mounted file system on the target system
  2. Creating files or directories with specific extended attribute configurations
  3. Triggering the metadata validator to check the crafted inode
  4. Observing the file system shutdown or transition to read-only mode

The fix for this vulnerability was committed to the Linux kernel with commit hash f4020438fab05364018c91f7e02ebdd192085933. The patch corrects the buffer size calculation in the XFS metadata validator to properly handle valid extended attribute configurations without false positive corruption detection. For technical details on the specific changes, refer to the Linux Kernel Commit f4020438.

Detection Methods for CVE-2020-14385

Indicators of Compromise

  • Unexpected XFS file system shutdowns or transitions to read-only mode
  • Kernel log messages indicating inode corruption on XFS volumes
  • System logs showing XFS: Corruption detected or similar metadata validation failures
  • Repeated file system remount requirements without obvious disk issues

Detection Strategies

  • Monitor kernel logs (dmesg, /var/log/kern.log) for XFS corruption messages that appear without corresponding hardware errors
  • Implement file system monitoring to detect unexpected state changes on XFS mounts
  • Track extended attribute creation operations using auditd rules on XFS file systems
  • Cross-reference file system errors with hardware diagnostics to identify false positive corruption events

Monitoring Recommendations

  • Configure alerting for XFS metadata validation errors in centralized logging systems
  • Enable Linux audit rules to track setxattr system calls on critical XFS volumes
  • Monitor for patterns of repeated file system remounts indicating potential exploitation
  • Implement baseline monitoring for extended attribute activity to detect anomalous patterns

How to Mitigate CVE-2020-14385

Immediate Actions Required

  • Update the Linux kernel to version 5.9-rc4 or later where the vulnerability is patched
  • Apply distribution-specific security updates from Ubuntu, Debian, or openSUSE security advisories
  • Consider temporarily restricting extended attribute creation permissions on XFS file systems for untrusted users
  • Implement monitoring for XFS file system health to detect any exploitation attempts

Patch Information

The vulnerability has been addressed in Linux kernel version 5.9-rc4 and later. The fix is available in the official kernel commit f4020438fab05364018c91f7e02ebdd192085933. Distribution vendors have released security updates:

  • Ubuntu: Ubuntu Security Notice USN-4576-1
  • Debian: Debian LTS Security Announcement
  • openSUSE: openSUSE Security Announcement

For detailed bug tracking information, refer to the Red Hat Bug Report: CVE-2020-14385.

Workarounds

  • Restrict access to XFS file systems for untrusted local users to limit exposure
  • Consider using alternative file systems (ext4, btrfs) for volumes where untrusted users require extended attribute access
  • Implement quotas and access controls to limit which users can create extended attributes
  • Configure automatic file system recovery mechanisms to reduce downtime from unexpected shutdowns
bash
# Configuration example: Restrict extended attribute capabilities for unprivileged users
# Add audit rule to monitor extended attribute operations on XFS mounts
auditctl -a always,exit -F arch=b64 -S setxattr -S lsetxattr -S fsetxattr -F key=xattr_monitor

# Check current kernel version for vulnerability status
uname -r

# Verify XFS mounts on the system
mount | grep xfs

# Apply security updates on Debian/Ubuntu systems
apt update && apt upgrade linux-image-$(uname -r)

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.12%

  • 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-131
  • Technical References
  • openSUSE Security Announcement

  • Red Hat Bug Report: CVE-2020-14385

  • Debian LTS Security Announcement

  • Ubuntu Security Notice USN-4576-1
  • Vendor Resources
  • Linux Kernel Commit f4020438
  • Related CVEs
  • CVE-2026-23405: Linux Kernel AppArmor DOS Vulnerability

  • CVE-2026-23404: Linux Kernel AppArmor DoS Vulnerability

  • CVE-2026-23398: Linux Kernel ICMP DoS Vulnerability

  • CVE-2026-23312: Linux Kernel Kaweth Driver DoS Vulnerability
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