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-2020-24394

CVE-2020-24394: Linux Kernel Privilege Escalation Flaw

CVE-2020-24394 is a privilege escalation vulnerability in the Linux Kernel NFS server that sets incorrect permissions on filesystem objects. This article covers the technical details, affected versions, and mitigation strategies.

Published: March 4, 2026

CVE-2020-24394 Overview

CVE-2020-24394 is a vulnerability in the Linux kernel's NFS server implementation that allows incorrect permissions to be set on new filesystem objects when the underlying filesystem lacks ACL (Access Control List) support. The flaw exists in fs/nfsd/vfs.c where the current umask is not properly considered during file creation operations, potentially exposing sensitive data or allowing unauthorized file modifications.

Critical Impact

Local authenticated attackers can exploit this vulnerability to create files with overly permissive access rights, leading to unauthorized data access or modification on NFS-exported filesystems.

Affected Products

  • Linux Kernel (versions before 5.7.8)
  • Canonical Ubuntu Linux (14.04 ESM, 16.04 ESM, 18.04 LTS, 20.04 LTS)
  • openSUSE Leap 15.1
  • Oracle SD-WAN Edge 8.2
  • StarWind Virtual SAN v8 (multiple builds including 12533, 12658, 12859, 13170, 13586, 13861)

Discovery Timeline

  • 2020-08-19 - CVE-2020-24394 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2020-24394

Vulnerability Analysis

This vulnerability stems from improper permission handling in the Linux kernel's NFS server daemon (nfsd). When files or directories are created on an NFS-exported filesystem that does not support POSIX ACLs, the NFS server fails to apply the process's current umask setting. This results in newly created filesystem objects inheriting permissions that may be more permissive than intended by the system's security policy.

The issue is particularly concerning in multi-user environments where NFS shares are commonly used for file sharing. Without proper umask enforcement, sensitive files could be created with world-readable or world-writable permissions, violating the principle of least privilege and potentially exposing confidential data to unauthorized users.

Root Cause

The root cause lies in the fs/nfsd/vfs.c file where the NFS server handles file and directory creation requests. When the underlying filesystem does not support ACLs, the code path responsible for setting permissions on new objects fails to incorporate the calling process's umask value. This is tracked as CID-22cf8419f131. The vulnerability is classified under CWE-732 (Incorrect Permission Assignment for Critical Resource), indicating a fundamental flaw in how access rights are assigned to sensitive system resources.

Attack Vector

The attack requires local access to the system with valid credentials. An authenticated user mounting an NFS share can create files or directories that receive permissions broader than what the umask would normally restrict. This can be exploited to:

  1. Create files readable by other users who should not have access
  2. Establish world-writable directories that could be abused for privilege escalation chains
  3. Bypass organizational security policies that rely on umask settings for access control

The exploitation does not require any user interaction beyond the attacker's own actions and has a low complexity barrier once the attacker has authenticated local access.

Detection Methods for CVE-2020-24394

Indicators of Compromise

  • Unexpected world-readable or world-writable files on NFS-mounted filesystems lacking ACL support
  • Files created via NFS with permissions inconsistent with the server's configured umask settings
  • Anomalous permission patterns on recently created files in NFS export directories

Detection Strategies

  • Monitor NFS-exported directories for files created with permissions more permissive than umask would allow
  • Audit file creation events on NFS shares using filesystem monitoring tools
  • Implement periodic permission scans comparing actual vs. expected file permissions based on umask policies

Monitoring Recommendations

  • Enable NFS server access logging to track file creation operations
  • Deploy host-based intrusion detection to identify suspicious permission patterns
  • Establish baseline permission profiles for NFS shares and alert on deviations

How to Mitigate CVE-2020-24394

Immediate Actions Required

  • Update the Linux kernel to version 5.7.8 or later on all systems running NFS server
  • Apply vendor-specific patches from Ubuntu, openSUSE, Oracle, or StarWind as appropriate for your deployment
  • Audit existing files on NFS exports for incorrect permissions and remediate as needed

Patch Information

The vulnerability is addressed in Linux kernel version 5.7.8 and later. The specific fix is documented in commit 22cf8419f1319ff87ec759d0ebdff4cbafaee832. For detailed information, consult the Linux Kernel ChangeLog v5.7.8 or review the kernel commit directly.

Vendor-specific advisories are available from Ubuntu Security Notices, openSUSE Security Announcements, Oracle CPU April 2021, and StarWind Security Advisory SW-20210325-0004.

Workarounds

  • Use filesystems with ACL support for NFS exports where possible, as ACL-enabled filesystems handle permissions differently
  • Implement additional permission restrictions at the NFS export configuration level using anonuid, anongid, and restrictive export options
  • Apply mandatory access control systems like SELinux or AppArmor to provide defense-in-depth while awaiting kernel updates
  • Consider temporarily limiting NFS exports to trusted clients until patches can be applied
bash
# Example: Review current NFS exports and check filesystem ACL support
cat /etc/exports
# Check if filesystem supports ACLs
tune2fs -l /dev/sdXN | grep "Default mount options"
# Verify kernel version after patching
uname -r

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechLinux Kernel

  • SeverityHIGH

  • CVSS Score7.1

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-732
  • Technical References
  • openSUSE Security Announcement

  • Debian Bug Report #962254

  • NetApp Security Advisory NTAP-20200904-0003

  • Ubuntu Security Notice USN-4465-1

  • Ubuntu Security Notice USN-4483-1

  • Ubuntu Security Notice USN-4485-1

  • StarWind Security Advisory SW-20210325-0004
  • Vendor Resources
  • Linux Kernel ChangeLog v5.7.8

  • Linux Commit 22cf8419

  • Oracle Security Alert CPU Apr 2021
  • Related CVEs
  • CVE-2026-43332: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-43344: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-43306: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-43351: Linux Kernel Privilege Escalation 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