Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-36694

CVE-2020-36694: Linux Kernel Use-After-Free Vulnerability

CVE-2020-36694 is a use-after-free vulnerability in the Linux Kernel's netfilter component that can be exploited during concurrent iptables rules replacement. This article covers technical details, affected versions, and mitigations.

Published: March 4, 2026

CVE-2020-36694 Overview

A use-after-free vulnerability has been discovered in the netfilter subsystem of the Linux kernel before version 5.10. The vulnerability exists in the packet processing context due to mishandling of the per-CPU sequence count during concurrent iptables rules replacement. This flaw could be exploited by an attacker with the CAP_NET_ADMIN capability in an unprivileged namespace to potentially achieve local privilege escalation or cause system instability.

Critical Impact

Local attackers with CAP_NET_ADMIN capability in an unprivileged namespace can exploit this use-after-free condition during concurrent iptables rules replacement, potentially leading to privilege escalation, arbitrary code execution, or denial of service.

Affected Products

  • Linux Kernel versions prior to 5.10
  • Linux Kernel versions where commit cc00bca was reverted (noted in 5.12)
  • Systems using netfilter/iptables with namespace capabilities

Discovery Timeline

  • 2023-05-21 - CVE-2020-36694 published to NVD
  • 2025-01-31 - Last updated in NVD database

Technical Details for CVE-2020-36694

Vulnerability Analysis

This vulnerability is classified as CWE-416 (Use After Free), a memory corruption issue that occurs when a program continues to reference memory after it has been freed. In this specific case, the vulnerability resides in the Linux kernel's netfilter subsystem, which is responsible for packet filtering, network address translation, and other packet mangling operations.

The root issue lies in the improper handling of per-CPU sequence counts during concurrent iptables rules replacement operations. When multiple rule replacement operations occur simultaneously, a race condition can arise that leads to accessing freed memory structures in the packet processing context.

The vulnerability requires local access and the CAP_NET_ADMIN capability, which can be obtained within an unprivileged user namespace. This makes the vulnerability exploitable even by non-root users who can create user namespaces with network administration capabilities.

Root Cause

The vulnerability stems from incorrect synchronization of per-CPU sequence counters used during iptables rules replacement. When rules are being replaced concurrently across multiple CPUs, the sequence count mechanism fails to properly coordinate access to rule structures. This allows packet processing code to reference rule data structures that have already been freed, resulting in a use-after-free condition.

The fix was implemented in commit cc00bcaa589914096edef7fb87ca5cee4a166b5c, which was included in Linux kernel version 5.10. However, this commit was subsequently reverted in version 5.12, indicating potential regression issues or alternative fixes being applied.

Attack Vector

The attack requires local access to the system with the ability to obtain CAP_NET_ADMIN capability. On systems where unprivileged user namespaces are enabled, an attacker can:

  1. Create an unprivileged user namespace with network capabilities
  2. Trigger concurrent iptables rule replacement operations
  3. Race the packet processing context against the rule replacement
  4. Exploit the resulting use-after-free to corrupt memory

The exploitation of this vulnerability could allow an attacker to escalate privileges, execute arbitrary code in kernel context, or cause denial of service through system crashes.

Detection Methods for CVE-2020-36694

Indicators of Compromise

  • Unexpected kernel crashes or oops messages related to netfilter or iptables subsystems
  • Suspicious user namespace creation activity combined with iptables manipulation
  • Memory corruption indicators in kernel logs referencing netfilter structures
  • Abnormal frequency of iptables rule modifications from non-root processes

Detection Strategies

  • Monitor kernel logs for use-after-free warnings related to netfilter or nf_tables components
  • Implement audit rules to track CAP_NET_ADMIN capability usage within user namespaces
  • Deploy kernel-level memory sanitizers (KASAN) in development environments to detect exploitation attempts
  • Track processes creating user namespaces and subsequently manipulating iptables rules

Monitoring Recommendations

  • Enable kernel crash dump collection and analysis for post-incident forensics
  • Configure alerts for abnormal iptables rule modification patterns
  • Monitor for processes operating within user namespaces with elevated network capabilities
  • Implement syslog monitoring for netfilter-related kernel warnings and errors

How to Mitigate CVE-2020-36694

Immediate Actions Required

  • Upgrade Linux kernel to version 5.10 or later where the fix was initially applied
  • Restrict unprivileged user namespace creation by setting kernel.unprivileged_userns_clone=0
  • Audit systems for processes using CAP_NET_ADMIN capability inappropriately
  • Review and apply vendor-specific patches from distributions

Patch Information

The vulnerability was addressed in the Linux kernel commit cc00bcaa589914096edef7fb87ca5cee4a166b5c, which was included in kernel version 5.10. Organizations should consult their distribution vendor for specific patched package versions. Additional advisories have been published by NetApp and the issue was originally reported via the Syzkaller automated testing system.

For detailed changelog information, refer to the Linux Kernel ChangeLog 5.10 and Linux Kernel ChangeLog 5.12.

Workarounds

  • Disable unprivileged user namespace creation to prevent exploitation path
  • Restrict CAP_NET_ADMIN capability to trusted users and processes only
  • Implement SELinux or AppArmor policies to limit iptables manipulation
  • Consider using network namespace isolation to limit exposure
bash
# Configuration example
# Disable unprivileged user namespace creation to mitigate exploitation
echo 'kernel.unprivileged_userns_clone=0' >> /etc/sysctl.conf
sysctl -p

# Verify the setting is active
sysctl kernel.unprivileged_userns_clone

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

  • Vulnerability Details
  • TypeUse After Free

  • Vendor/TechLinux Kernel

  • SeverityMEDIUM

  • CVSS Score6.7

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-416
  • Technical References
  • Linux Kernel ChangeLog 5.10

  • Linux Kernel ChangeLog 5.12

  • NetApp Security Advisory NTAP-20230622-0005

  • Syzkaller Bug Report #0c4fd9c
  • Vendor Resources
  • Linux Kernel Commit Details
  • Related CVEs
  • CVE-2026-31475: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-31469: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-31457: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-31444: Linux Kernel Use-After-Free 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