A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2026-46223

CVE-2026-46223: Linux Kernel Race Condition Vulnerability

CVE-2026-46223 is a race condition vulnerability in the Linux kernel cgroup subsystem that can cause system deadlocks during rmdir operations. This article covers the technical details, affected versions, and mitigation strategies.

Published: May 28, 2026

CVE-2026-46223 Overview

CVE-2026-46223 is a Linux kernel vulnerability in the control groups (cgroup) subsystem. The flaw causes a self-deadlock during rmdir(2) operations when the caller is also the reaper of zombie processes pinning a PID namespace teardown. The cgroup_drain_dying() wait blocks in TASK_UNINTERRUPTIBLE state while waiting for tasks to release their cset links, but those tasks cannot be reaped because the reaper itself is stuck in rmdir. The fix defers the css percpu_ref kill on rmdir until the cgroup is fully depopulated, allowing ->css_offline() to run asynchronously after all tasks have left.

Critical Impact

Local processes that perform rmdir on cgroups during PID namespace teardown can trigger an A-A deadlock, hanging system management processes such as systemd running as host PID 1.

Affected Products

  • Linux kernel (mainline)
  • Stable kernel branches containing commits d245698d727a, a72f73c4dd9b, 1b164b876c36, 4c56a8ac6869, and 13e786b64bd3
  • Distributions shipping kernels with the cgroup rmdir rework chain back to v7.0-era commits

Discovery Timeline

  • 2026-05-28 - CVE-2026-46223 published to NVD
  • 2026-05-28 - Last updated in NVD database

Technical Details for CVE-2026-46223

Vulnerability Analysis

The Linux kernel cgroup subsystem must guarantee that a controller's ->css_offline() callback does not run while tasks still perform kernel-side work in the cgroup. A chain of five commits, beginning with d245698d727a, attempted to enforce this invariant by moving task cset unlink from do_exit() to finish_task_switch(). As a result, exiting tasks past exit_signals() linger on cset->tasks until their final context switch.

Subsequent commits patched the user-visible divergence: hiding exiting tasks from cgroup.procs, sleeping in rmdir(2) until dying tasks drained, fixing the wait predicate, and exposing nr_dying_subsys_* synchronously. The cgroup_drain_dying() wait introduced in 1b164b876c36 is the proximate bug.

Root Cause

The deadlock occurs when the process invoking rmdir is simultaneously the reaper for zombie tasks that pin a PID namespace teardown. The reaper sleeps in TASK_UNINTERRUPTIBLE inside cgroup_drain_dying(), waiting for those PIDs to release. The PIDs cannot be released because their reaper is blocked in rmdir. No internal lock ordering violation exists; the wait itself is the defect.

Attack Vector

A local unprivileged or privileged process operating inside a container or PID namespace can trigger the hang. The reproducer combines a PID namespace teardown with a zombie reaper, executing under vng. The original chain also leaves a pre-existing race in cgroup_apply_control_disable(), where kill_css() runs synchronously while tasks past exit_signals() may still be linked, allowing ->css_offline() to fire before drain completes.

No synthetic exploitation code is published. Reproduction relies on the in-tree deterministic repros and a boot parameter that widens the post-exit_signals() window. See the Kernel Git Commit 33fa2e6 and Kernel Git Commit 93618ed for upstream patches.

Detection Methods for CVE-2026-46223

Indicators of Compromise

  • Processes blocked in TASK_UNINTERRUPTIBLE state with stacks inside cgroup_drain_dying() or cgroup_rmdir
  • systemd or other host PID 1 reapers hung while reaping orphaned PIDs from a collapsing PID namespace
  • Growing nr_dying_subsys_* counters in cgroup debug interfaces without corresponding cleanup progress

Detection Strategies

  • Audit kernel stack traces via /proc/<pid>/stack for processes wedged in cgroup_drain_dying or percpu_ref_kill_and_confirm
  • Monitor dmesg for hung_task warnings naming container runtime or init processes during namespace teardown
  • Correlate cgroup rmdir syscall latency spikes with container shutdown events in observability pipelines

Monitoring Recommendations

  • Track long-running rmdir syscalls against cgroup mount points using eBPF or perf tracing
  • Alert on hung_task_timeout_secs triggers tied to kernel threads handling cgroup destruction
  • Forward kernel log telemetry to a centralized data lake for cross-host correlation of namespace teardown anomalies

How to Mitigate CVE-2026-46223

Immediate Actions Required

  • Apply the upstream kernel patches referenced in commits 33fa2e6b1507a0a377a151a8826438bedad1d0b0 and 93618edf753838a727dbff63c7c291dee22d656b
  • Track stable backports from your distribution vendor and schedule reboots on affected hosts
  • Inventory container hosts that frequently create and destroy PID namespaces, prioritizing them for patching

Patch Information

The fix defers css percpu_ref kill on rmdir until the cgroup is fully depopulated. The ->css_offline() chain, driven by css_killed_work_fn() via percpu_ref_kill_and_confirm(), now starts only after all tasks have left the cgroup. The user-visible rmdir returns as soon as cgroup.procs and related files are empty. The v2 patch pins the cgroup across the deferred destroy work using explicit cgroup_get() and cgroup_put() around queue_work() and the work function. See Kernel Git Commit 33fa2e6 and Kernel Git Commit 93618ed.

Workarounds

  • Avoid having host PID 1 act as the reaper for orphan PIDs reparented during PID namespace teardown where feasible
  • Stagger container teardown so that rmdir callers are not simultaneously reaping zombies pinning the same namespace
  • If issues persist after patching, the fallback is to revert the full commit chain (d245698d727a through 13e786b64bd3) and reapply the rework in a development branch
bash
# Verify running kernel version and check for the patched commits
uname -r

# Inspect a suspected hung process for cgroup_drain_dying in its stack
cat /proc/$(pidof systemd)/stack

# Enable hung task detection for faster identification
sysctl -w kernel.hung_task_timeout_secs=60

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

  • SeverityNONE

  • CVSS ScoreN/A

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • Kernel Git Commit 33fa2e6

  • Kernel Git Commit 93618ed
  • Related CVEs
  • CVE-2026-46272: Linux Kernel Race Condition Vulnerability

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

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

  • CVE-2026-46208: Linux Kernel Race Condition Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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