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

CVE-2020-29372: Linux Kernel Race Condition Vulnerability

CVE-2020-29372 is a race condition vulnerability in the Linux kernel affecting do_madvise in mm/madvise.c. This flaw exists between coredump operations and IORING_OP_MADVISE implementation, impacting kernel stability.

Updated: May 16, 2026

CVE-2020-29372 Overview

CVE-2020-29372 is a race condition vulnerability in the Linux kernel affecting versions prior to 5.6.8. The flaw resides in do_madvise within mm/madvise.c, where a race occurs between coredump operations and the IORING_OP_MADVISE implementation in io_uring. A local, low-privileged attacker can trigger the race condition to cause kernel-level availability impact. The fix is tracked as commit bc0c4d1e176e in the upstream Linux kernel tree. Linux distributions including Ubuntu 14.04 ESM, 16.04 LTS, 18.04 LTS, and 20.04 LTS received backported patches via live patch advisories.

Critical Impact

A local attacker with low privileges can exploit the race between coredump handling and IORING_OP_MADVISE to cause kernel-level denial of service through memory state corruption.

Affected Products

  • Linux kernel versions prior to 5.6.8
  • Canonical Ubuntu Linux 14.04 ESM, 16.04 LTS, 18.04 LTS, and 20.04 LTS
  • Distributions shipping vulnerable kernels with io_uring enabled

Discovery Timeline

  • 2020-11-28 - CVE-2020-29372 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2020-29372

Vulnerability Analysis

The vulnerability is classified as a race condition [CWE-362] in the Linux kernel memory management subsystem. The do_madvise function in mm/madvise.c lacked proper synchronization between two concurrent code paths: the coredump operation, which manipulates the target process address space, and the asynchronous IORING_OP_MADVISE opcode submitted through the io_uring interface. When both paths execute against the same memory mappings without serialization, the kernel reaches an inconsistent state. The condition requires local access and specific timing, but does not require authentication beyond a standard user account capable of issuing io_uring requests.

Root Cause

The IORING_OP_MADVISE implementation invoked do_madvise on a target mm_struct without holding mmap_sem in a way that excluded coredump operations. The coredump path concurrently traverses and reads the process address space. Without coordination, advice operations such as MADV_DONTNEED could free or modify pages while the coredump path iterated VMAs, producing undefined behavior in the memory descriptor.

Attack Vector

Exploitation requires local access to a vulnerable host and the ability to invoke io_uring syscalls. An attacker triggers a coredump in a process while concurrently submitting IORING_OP_MADVISE operations targeting that process's memory. Winning the race produces kernel-side corruption that manifests as a denial-of-service condition. The race window is narrow, reflected in the high attack complexity rating, but is reachable from unprivileged userspace where io_uring is exposed.

No verified public proof-of-concept code is available. Technical details and the upstream fix are documented in the Linux Kernel Commit Reference and the Chromium Project Zero Issue.

Detection Methods for CVE-2020-29372

Indicators of Compromise

  • Unexpected kernel oops or panic messages referencing do_madvise, madvise_vma, or io_uring worker threads in dmesg and /var/log/kern.log
  • Crashed processes producing coredumps coincident with active io_uring workloads from non-privileged users
  • Unusual rates of io_uring_setup and io_uring_enter syscalls from interactive user sessions

Detection Strategies

  • Audit running kernel versions across the fleet and flag hosts running Linux kernels below 5.6.8 without backported patches
  • Enable auditd rules for io_uring_setup, io_uring_enter, and madvise syscalls to correlate suspicious sequences with crash events
  • Monitor for processes invoking IORING_OP_MADVISE against PIDs that are concurrently generating coredumps

Monitoring Recommendations

  • Centralize kernel ring buffer and syslog data to identify repeated kernel faults originating from the memory management subsystem
  • Track kernel.core_pattern activity and correlate with userspace io_uring usage to surface anomalous patterns
  • Establish baselines for io_uring adoption per host so deviations by non-developer accounts are visible

How to Mitigate CVE-2020-29372

Immediate Actions Required

  • Upgrade the Linux kernel to version 5.6.8 or later, or apply the distribution-supplied backport that includes commit bc0c4d1e176e
  • For Ubuntu hosts, apply the Kernel Live Patch referenced in the Packet Storm Security Notice (LSN-0075-1)
  • Inventory systems exposing io_uring to untrusted local users and prioritize patching

Patch Information

The upstream fix is included in the Linux 5.6.8 stable release, documented in the Linux Changelog for 5.6.8. The corrective commit is bc0c4d1e176eeb614dc8734fc3ace34292771f11, which adjusts locking around do_madvise to serialize against coredump operations. Canonical addressed the issue across Ubuntu 14.04 ESM through 20.04 LTS via live patch updates.

Workarounds

  • Disable io_uring for unprivileged users by setting kernel.io_uring_disabled=2 on kernels that support the sysctl, or rebuild without CONFIG_IO_URING where feasible
  • Restrict local shell access on multi-tenant systems to reduce the population able to trigger the race
  • Apply seccomp filters in container runtimes and sandboxes to block io_uring_setup and io_uring_enter for workloads that do not require them
bash
# Verify kernel version and apply mitigations
uname -r

# Restrict io_uring for unprivileged users (where supported)
echo 'kernel.io_uring_disabled = 2' | sudo tee /etc/sysctl.d/99-io-uring.conf
sudo sysctl --system

# Example seccomp denial of io_uring syscalls in container runtime
# (add to seccomp profile)
#   { "names": ["io_uring_setup", "io_uring_enter", "io_uring_register"],
#     "action": "SCMP_ACT_ERRNO" }

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

  • Vulnerability Details
  • TypeRace Condition

  • Vendor/TechLinux Kernel

  • SeverityMEDIUM

  • CVSS Score4.7

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-362
  • Technical References
  • Packet Storm Security Notice

  • Chromium Project Zero Issue
  • Vendor Resources
  • Linux Changelog for 5.6.8

  • Linux Kernel Commit Reference
  • Related CVEs
  • CVE-2026-43342: Linux Kernel Race Condition Vulnerability

  • CVE-2026-43340: Linux Kernel Race Condition Vulnerability

  • CVE-2026-43353: Linux Kernel Race Condition Vulnerability

  • CVE-2026-43318: Linux Kernel Race Condition 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