Skip to main content
COSMICBYTEZLABS
NewsSecurityHOWTOsToolsStudyTraining
ProjectsNewsletterHire MeAbout
Subscribe

Press Enter to search or Esc to close

News
Security
HOWTOs
Tools
Study
Training
Projects
Newsletter
Hire Me
About
RSS Feed
Reading List
Subscribe

Stay in the Loop

Get the latest security alerts, tutorials, and tech insights delivered to your inbox.

Subscribe NowFree forever. No spam.
COSMICBYTEZLABS

Your trusted source for IT intelligence, cybersecurity insights, and hands-on technical guides.

1314+ Articles
157+ Guides

CONTENT

  • Latest News
  • Security Alerts
  • HOWTOs
  • Checklists
  • Projects
  • Exam Prep

RESOURCES

  • Search
  • Browse Tags
  • Newsletter Archive
  • Reading List
  • RSS Feed

COMPANY

  • About Us
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CosmicBytez Labs. All rights reserved.

System Status: Operational
  1. Home
  2. Security
  3. CVE-2022-0492: Linux Kernel Improper Authentication Vulnerability
CVE-2022-0492: Linux Kernel Improper Authentication Vulnerability
SECURITYHIGHCVE-2022-0492

CVE-2022-0492: Linux Kernel Improper Authentication Vulnerability

A Linux kernel vulnerability in the cgroups v1 release_agent feature allows local attackers to escalate privileges and escape containers. Added to CISA KEV with confirmed active exploitation.

Dylan H.

Security Team

June 3, 2026
3 min read

Affected Products

  • Linux Kernel < 5.17
  • Linux distributions with cgroups v1 enabled

Overview

CVE-2022-0492 is a high-severity privilege escalation vulnerability in the Linux kernel affecting the cgroups v1 release_agent feature. The flaw allows a local attacker — or a process running inside a container — to escape container isolation and gain root-level access on the underlying host system.

CISA added this vulnerability to the Known Exploited Vulnerabilities (KEV) catalog on June 2, 2026, confirming active exploitation in the wild.

FieldDetails
CVE IDCVE-2022-0492
CVSS Score7.8 (High)
VectorLocal / Privilege Escalation
Affected VersionsLinux Kernel < 5.17
CISA KEVAdded June 2, 2026
Patch AvailableYes — Kernel 5.17+

Technical Details

The vulnerability exists in how the Linux kernel handles the release_agent file within the cgroups v1 hierarchy. A privileged process (with CAP_SYS_ADMIN in the initial user namespace, or via a misconfigured container runtime) can write a controlled path to release_agent, which the kernel executes as root when the last process in a cgroup exits.

Attack Scenario

  1. Attacker identifies a cgroup v1 mount accessible from within a container
  2. Writes a malicious script path to the release_agent control file
  3. Triggers the cgroup release mechanism by killing all processes in the cgroup
  4. The kernel executes the attacker-controlled script with root privileges on the host

This technique is known as a container escape and has been demonstrated in both Docker and Kubernetes environments where cgroups v1 is enabled.

# Simplified exploitation concept (cgroups v1 release_agent)
mkdir /tmp/escape_cgroup
mount -t cgroup -o memory cgroup /tmp/escape_cgroup
echo 1 > /tmp/escape_cgroup/notify_on_release
host_path=$(sed -n 's/.*\perdir=\([^,]*\).*/\1/p' /etc/mtab)
echo "$host_path/cmd" > /tmp/escape_cgroup/release_agent

Impact

A successful exploit allows an attacker to:

  • Escape container isolation in Docker, Kubernetes, and LXC environments
  • Execute arbitrary commands as root on the host system
  • Pivot to the host network and other containers running on the same node
  • Persist access by installing rootkits or backdoors on the host

Given that many cloud and production environments run Linux kernel versions predating the 5.17 patch, the exploitable attack surface is significant.

Affected Systems

  • Linux Kernel versions prior to 5.17
  • Distributions with cgroups v1 enabled (most enterprise Linux distributions)
  • Container runtimes: Docker, Kubernetes, LXC, Podman (with rootful containers)
  • Cloud environments using older kernel images

Remediation

Immediate Actions

  1. Update to Linux Kernel 5.17 or later — the upstream patch was merged in early 2022
  2. Disable cgroups v1 if not required: migrate to cgroups v2 (cgroupv2) which is the default in modern kernels
  3. Apply vendor patches for your distribution:
    • Ubuntu: linux-image-5.15.0-* series (patched in -52 and later)
    • RHEL/CentOS: Backport patches available via RHSA advisories
    • Debian: Update to linux 5.16.11-1 or later
  4. Restrict container capabilities: Avoid running containers with CAP_SYS_ADMIN or as --privileged
  5. Enable seccomp/AppArmor profiles to restrict cgroup manipulation from within containers

Detection

Monitor for unusual release_agent modifications using audit rules:

# Audit rule to detect release_agent writes
-a always,exit -F arch=b64 -S write -F path=/sys/fs/cgroup/memory/release_agent -k cgroup_escape

Check for suspicious cgroup mounts in container workloads with read-only or nosuid mount restrictions.

References

  • NVD — CVE-2022-0492
  • CISA KEV Catalog
  • Linux Kernel Patch — 5.17
  • Container Escape via Cgroups v1 — Research
#Vulnerability#CVE#Linux#CISA KEV#Privilege Escalation#Container Security

Related Articles

CVE-2026-34178: Canonical LXD Backup Import Path

A critical CVSS 9.1 vulnerability in Canonical LXD before 6.8 allows authenticated attackers to bypass project restrictions during backup import. The...

4 min read

CVE-2026-42296: Argo Workflows templateReferencing Strict

A high-severity security bypass in Argo Workflows (CVSS 8.1) allows users with Workflow creation permissions to escape templateReferencing: Strict mode,...

3 min read

CVE-2025-29635: D-Link DIR-823X Command Injection

A command injection flaw in end-of-life D-Link DIR-823X routers allows authenticated remote attackers to execute arbitrary OS commands. CISA has added...

3 min read
Back to all Security Alerts