Skip to main content
Mallory
← Back to News
privilege-escalation-methodwidely-deployed-product-advisoryendpoint-software-vulnerabilityopen-source-dependency-vulnerability

Red Hat Kernel Updates Fix cgroups v1 Container-Escape Privilege Escalation

Attack Tradecraft · 9 sources · Updated 3mo ago · First seen Mar 10, 2022

Red Hat Kernel Updates Fix cgroups v1 Container-Escape Privilege Escalation

Red Hat released Important RHEL kernel updates addressing multiple Linux kernel flaws, including CVE-2022-0492, in which abuse of the cgroups v1 release_agent feature can enable local privilege escalation and bypass namespace isolation, creating a container-escape path. The upstream fix is tracked in commit 24f6008564183aa120d07c03d9289519c2fe02af; related kernel issues include CVE-2022-0847 (Dirty Pipe), file-descriptor handling defects, missing TLB flushing, usercopy use-after-free conditions, kernel memory read/write flaws, and TIPC denial of service.

Affected updates include RHEL 8 kernel 4.18.0-348.20.1.el8_5 across x86_64, ARM64, IBM Z, and Power LE variants, as well as kernel-rt packages for RHEL 8.2 Real Time Telecommunications and NFV Telecommunications Update Service on x86_64. Organizations should apply the applicable updated kernel packages and reboot hosts to activate the fixes. Red Hat assessed OpenShift Container Platform clusters with SELinux enabled by default as protected against the CVE-2022-0492 container-escape and privilege-escalation path.

Why it matters

Impact assessment

RHEL 6, 7, and 8 systems running unremediated kernels are exposed to multiple local kernel vulnerabilities; the highest container-specific concern is CVE-2022-0492, which can allow a workload to bypass namespace isolation and gain host-level privileges through cgroups v1 release_agent. Exposure is broad across standard, real-time, SAP, telecommunications/NFV, virtualization-host, and extended-support RHEL offerings, but exploitation requires local code execution or code execution in a container.

  • Affected populations: RHEL hosts and container nodes using vulnerable kernel builds, particularly environments with cgroups v1 available and workloads granted capabilities or mounts that enable cgroup manipulation.
  • Business impact: host takeover from a compromised container or unprivileged local account; this can expose data and credentials on the host, disrupt workloads, and enable lateral movement.
  • Additional flaws in the referenced updates include local privilege escalation, kernel memory read/write, use-after-free, out-of-bounds write, and TIPC remote denial-of-service conditions.
  • The supplied references do not report confirmed exploitation in the wild.
  • OpenShift Container Platform nodes with SELinux enabled, the default configuration, were assessed by Red Hat as protected from the described CVE-2022-0492 escape path. This does not remove the need to apply kernel updates.

Affected product and package facts

  • RHSA-2022:0825: RHEL 8 kernel 4.18.0-348.20.1.el8_5 for x86_64, aarch64, ppc64le, and s390x; includes standard RHEL 8 and associated EUS, ELS, TUS/AUS, SAP, CodeReady Linux Builder, and Red Hat Virtualization Host offerings.
  • RHSA-2022:0821: RHEL 8.2 EUS Real Time/NFV Telecommunications Update Service on x86_64; fixed kernel-rt build 4.18.0-193.79.1.rt13.129.el8_2.
  • RHSA-2022:1413 and RHSA-2022:1455: RHEL 8.4 EUS-related offerings; fixed kernel and kernel-rt build 4.18.0-305.45.1.el8_4.
  • RHSA-2022:2186: RHEL 7.6 AUS/TUS and SAP offerings; fixed kernel 3.10.0-957.94.1.el7.
  • RHSA-2022:2211: RHEL 7.6 supported AUS/SAP offerings; fixed live-patch (kpatch-patch) packages for kernel builds from 3.10.0-957.72.1 through 3.10.0-957.92.1.
  • RHSA-2022:1550: RHEL 8 kernel 4.18.0-348.23.1.el8_5; addresses related CVE-2021-4028 and CVE-2022-25636.

Supporting details

  • Red Hat rated the cited advisories Important.
  • Kernel-package remediation normally requires a host reboot before the running kernel contains the fix. The RHEL 7 live-patch advisory is an exception where the module modifies running kernel code, subject to its package prerequisites.
  • Critical operational systems using real-time kernels should schedule validated maintenance windows because kernel upgrades and reboots can interrupt latency-sensitive services.
Who uses this technique?Get the actors, campaigns, and ATT&CK mapping behind it.
Get the tradecraft
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

9 events · Mar 10, 2022 – May 11, 2022
  1. May 11, 20225y ago

    Red Hat releases RHEL 7.6 kernel security update

    Red Hat issued Important advisory RHSA-2022:2186 for RHEL 7.6 AUS, TUS, and SAP Update Services offerings. The reboot-required kernel 3.10.0-957.94.1.el7 update remediated CVE-2022-0492 and the RDMA listen() use-after-free flaw CVE-2021-4028.

    RHSA-2022:2186 - Security Advisory - Red Hat Customer Portal
  2. May 11, 20225y ago

    Red Hat releases RHEL 7.6 live patch for CVE-2022-0492

    Red Hat issued Important advisory RHSA-2022:2211, providing updated kpatch-patch live kernel modules for supported RHEL 7.6 offerings on x86_64 and ppc64le. The update remediated CVE-2022-0492 and the RDMA listen() use-after-free vulnerability CVE-2021-4028.

    RHSA-2022:2211 - Security Advisory - Red Hat Customer Portal
  3. Apr 20, 20225y ago

    Red Hat releases RHEL 8.4 kernel security update

    Red Hat issued Important advisory RHSA-2022:1455 for RHEL 8.4 Extended Update Support and related offerings, providing kernel 4.18.0-305.45.1.el8_4 for x86_64, s390x, ppc64le, and aarch64. The reboot-required update remediated CVE-2022-0492, CVE-2021-4083, and CVE-2022-25636.

    RHSA-2022:1455 - Security Advisory - Red Hat Customer Portal
  4. Apr 19, 20225y ago

    Red Hat releases RHEL 8.4 real-time kernel security update

    Red Hat issued Important advisory RHSA-2022:1413 for RHEL 8.4 Extended Update Support real-time offerings on x86_64. The kernel-rt 4.18.0-305.45.1.rt7.117.el8_4 update fixed CVE-2022-0492 along with CVE-2021-4083 and CVE-2022-25636, and required a reboot.

    RHSA-2022:1413 - Security Advisory - Red Hat Customer Portal
  5. Reported Apr 8, 20225y ago

    Red Hat assesses SELinux-enabled OpenShift clusters as protected

    Red Hat assessed OpenShift Container Platform clusters with the default SELinux policy enabled on nodes as not affected by the CVE-2022-0492 container-escape and privilege-escalation path.

    2051505 - (CVE-2022-0492) CVE-2022-0492 kernel: cgroups v1 release_agent feature may allow privilege escalation
  6. Reported Apr 8, 20225y ago

    Fedora ships CVE-2022-0492 fix in kernel 5.16.6

    Fedora incorporated the CVE-2022-0492 fix into its stable Linux kernel version 5.16.6.

    2051505 - (CVE-2022-0492) CVE-2022-0492 kernel: cgroups v1 release_agent feature may allow privilege escalation
  7. Reported Apr 8, 20225y ago

    Upstream Linux kernel fixes CVE-2022-0492

    The upstream Linux kernel fixed CVE-2022-0492, a cgroups v1 release_agent flaw that could enable privilege escalation and namespace-isolation bypass, in commit 24f6008564183aa120d07c03d9289519c2fe02af.

    2051505 - (CVE-2022-0492) CVE-2022-0492 kernel: cgroups v1 release_agent feature may allow privilege escalation
  8. Mar 10, 20225y ago

    Red Hat releases updated RHEL 8 kernel packages

    Red Hat issued Important advisory RHSA-2022:0825, updating RHEL 8 kernels to version 4.18.0-348.20.1.el8_5 across supported architectures and service variants. The update remediated eight vulnerabilities, including CVE-2022-0492, and required systems to be rebooted after installation.

    RHSA-2022:0825 - Security Advisory - Red Hat Customer Portal
  9. Mar 10, 20225y ago

    Red Hat releases RHEL 8.2 real-time kernel security update

    Red Hat issued Important advisory RHSA-2022:0821 for RHEL 8.2 Extended Update Support real-time products on x86_64. It provided kernel-rt 4.18.0-193.79.1.rt13.129.el8_2, fixing CVE-2022-0492, Dirty Pipe (CVE-2022-0847), and three other kernel flaws.

    RHSA-2022:0821 - Security Advisory - Red Hat Customer Portal
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

2 linked
Red Hat Enterprise LinuxLinux Kernel
Do you run this?Get the adversaries, campaigns, and ATT&CK mapping behind this technique, with detections ready to deploy.
See Who Uses This Technique
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.