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 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_5forx86_64,aarch64,ppc64le, ands390x; 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; fixedkernel-rtbuild4.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 from3.10.0-957.72.1through3.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.


