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-2022-0492

CVE-2022-0492: Linux Kernel Privilege Escalation Flaw

CVE-2022-0492 is a privilege escalation vulnerability in the Linux Kernel's cgroup_release_agent_write function that allows attackers to bypass namespace isolation. This article covers technical details, affected versions, and mitigation.

Published: February 17, 2026

CVE-2022-0492 Overview

A vulnerability was found in the Linux kernel's cgroup_release_agent_write function in kernel/cgroup/cgroup-v1.c. This flaw, under certain circumstances, allows the use of the cgroups v1 release_agent feature to escalate privileges and bypass namespace isolation unexpectedly. The vulnerability enables local attackers with low privileges to potentially escape container environments and gain elevated access to the host system.

Critical Impact

This vulnerability allows local privilege escalation and container escape through exploitation of the cgroups v1 release_agent mechanism, potentially compromising the isolation boundaries that containerized environments depend on for security.

Affected Products

  • Linux Kernel (multiple versions up to 5.17-rc2)
  • Red Hat Enterprise Linux 8.x and related variants
  • Debian Linux 9.0, 10.0, and 11.0
  • Canonical Ubuntu Linux 14.04 ESM through 22.04 LTS
  • Fedora 35
  • NetApp SolidFire, HCI Storage and Management Nodes
  • Red Hat Virtualization Host 4.0

Discovery Timeline

  • March 3, 2022 - CVE-2022-0492 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2022-0492

Vulnerability Analysis

The vulnerability resides in the cgroup_release_agent_write function within kernel/cgroup/cgroup-v1.c. The core issue is a missing authorization bypass check (CWE-862) combined with an improper authentication vulnerability (CWE-287) that allows an attacker to modify the release_agent file within cgroups v1 hierarchy.

The release_agent mechanism in cgroups v1 is designed to execute a userspace program when a cgroup becomes empty. Under normal circumstances, this functionality requires appropriate capabilities and should be restricted to prevent unprivileged users from specifying arbitrary executables. However, the vulnerable code path fails to properly verify that the caller possesses the necessary privileges to perform this operation, particularly when operating within user namespaces.

An attacker who can mount a cgroup filesystem (which may be possible within certain container configurations) can write a path to an arbitrary executable into the release_agent file. When the cgroup empties, the kernel executes this program with root privileges on the host, effectively bypassing container isolation.

Root Cause

The root cause is a missing capability check in the cgroup_release_agent_write function. The code does not properly validate whether the caller has CAP_SYS_ADMIN in the initial user namespace before allowing modification of the release_agent file. This oversight allows users with CAP_SYS_ADMIN in a non-initial user namespace (such as within an unprivileged container) to exploit this functionality.

The fix implemented in commit 24f6008564183aa120d07c03d9289519c2fe02af adds the missing check to ensure the caller has CAP_SYS_ADMIN in the init_user_ns before permitting the write operation.

Attack Vector

The exploitation requires local access to the system with low privileges. An attacker operating within a containerized environment must be able to mount a cgroups v1 filesystem. This is typically possible when:

  1. The container runs with a user namespace but without additional cgroup restrictions
  2. The sys_admin capability is granted within the container's user namespace
  3. The cgroup v1 filesystem is accessible for mounting

Once these conditions are met, the attacker can:

  1. Mount a cgroup v1 filesystem within the container
  2. Create a new cgroup hierarchy
  3. Write a malicious executable path to the release_agent file
  4. Trigger the release agent execution by emptying the cgroup
  5. The malicious code executes with root privileges on the host system

The attack mechanism exploits the kernel's trust in cgroup operations without properly validating namespace boundaries, allowing container escape and privilege escalation to the host system.

Detection Methods for CVE-2022-0492

Indicators of Compromise

  • Unexpected modifications to release_agent files within cgroup hierarchies
  • Suspicious cgroup mount operations from within container environments
  • Evidence of cgroup filesystem mounting in /proc/mounts from unprivileged processes
  • Execution of unexpected binaries triggered by the cgroup release mechanism

Detection Strategies

  • Monitor for cgroup mount operations using audit rules targeting the mount syscall with cgroup filesystem types
  • Implement file integrity monitoring on /sys/fs/cgroup/*/release_agent files
  • Alert on processes with unexpected capabilities attempting to manipulate cgroup configurations
  • Deploy runtime container security monitoring to detect container escape attempts

Monitoring Recommendations

  • Enable kernel auditing for cgroup-related operations and capability usage
  • Monitor container runtime logs for privilege escalation indicators
  • Implement Seccomp profiles that restrict mount syscall usage within containers
  • Deploy SentinelOne Singularity for real-time detection of container escape behaviors and privilege escalation attempts

How to Mitigate CVE-2022-0492

Immediate Actions Required

  • Apply kernel patches from your Linux distribution immediately
  • Audit container configurations to ensure unnecessary capabilities are not granted
  • Verify that unprivileged users cannot mount cgroup filesystems within containers
  • Consider migrating to cgroups v2 which includes improved security controls

Patch Information

The vulnerability is addressed in Kernel Git Commit #24f6008 which adds proper capability checking in the init_user_ns before allowing release_agent modifications. Distribution-specific patches are available through:

  • Red Hat Bugzilla Report #2051505
  • Debian Security Advisory DSA-5095
  • Debian Security Advisory DSA-5096
  • NetApp Security Advisory NTAP-20220419-0002

Workarounds

  • Drop the CAP_SYS_ADMIN capability from containers using --cap-drop=SYS_ADMIN
  • Use AppArmor or SELinux profiles to restrict cgroup filesystem mounting
  • Apply Seccomp filters to block unnecessary syscalls including mount with cgroup types
  • Enable user namespace isolation with proper capability restrictions
bash
# Docker container hardening example
# Run containers without SYS_ADMIN capability
docker run --cap-drop=SYS_ADMIN --security-opt=no-new-privileges:true \
  --security-opt seccomp=/path/to/seccomp-profile.json \
  your-container-image

# Verify cgroup v1 release_agent file permissions
ls -la /sys/fs/cgroup/*/release_agent

# Check for unexpected cgroup mounts
grep cgroup /proc/mounts

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

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability6.52%

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

  • CWE-862
  • Technical References
  • Packet Storm Security Notice LSN-0085-1

  • Packet Storm Security Notice LSN-0086-1

  • Packet Storm Container Escape Analysis

  • Debian LTS Announcement #2022-03-11

  • Debian LTS Announcement #2022-03-12

  • NetApp Security Advisory NTAP-20220419-0002

  • Debian Security Advisory DSA-5095

  • Debian Security Advisory DSA-5096
  • Vendor Resources
  • Red Hat Bugzilla Report #2051505

  • Kernel Git Commit #24f6008
  • Related CVEs
  • CVE-2026-23253: Linux Kernel Privilege Escalation Flaw

  • CVE-2020-14381: Linux Kernel Privilege Escalation Flaw

  • CVE-2026-22997: Linux Kernel J1939 Privilege Escalation

  • CVE-2025-71113: Linux Kernel Privilege Escalation Flaw
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