CVE-2022-0492: Linux kernel cgroups v1 release_agent privilege escalation

Exploited in the wild High 7.8 EPSS 5.5% Linux kernel

cgroup_release_agent_write() in kernel/cgroup/cgroup-v1.c did not require the needed capabilities before letting a process set the cgroups v1 release_agent program. Under certain circumstances, for example inside a container, a process can use this to escalate privileges and bypass namespace isolation (Red Hat); a Docker container-escape exploit is public. Fixed in Linux 5.17 and stable 4.9.301, 4.14.266, 4.19.229, 5.4.177, 5.10.97, 5.15.20 and 5.16.6. CISA added it to KEV on 2 June 2026.

What do these terms mean? CVE · CVSS score · exploited (KEV) · EPSS · backported fix · all terms

What to do now

  1. Check whether you run Linux kernel and which version (commands below).
  2. Install the fixed version for your system: see “Patch it” below.
  3. Reboot into the updated kernel. Live patches were issued in 2022: Ubuntu Livepatch LSN-0085-1 and LSN-0086-1; Red Hat kpatch-patch for RHEL 7.9 (RHSA-2022:4655), 8.5 (RHSA-2022:0849) and older EUS streams; SUSE live patches for SLES 12 SP4/SP5 and 15 GA-SP3.
  4. If you cannot patch today, apply the temporary mitigation below and patch as soon as possible.
  5. Because this flaw is being exploited, also check the server for signs of compromise.

Affected and fixed versions

Affected:

Fixed in:

Am I affected?

uname -r
dpkg -l 'linux-image*' | grep ^ii   # Debian/Ubuntu
rpm -q kernel   # RHEL/Fedora/Amazon/SUSE (SUSE: rpm -q kernel-default)

Patch it

Use the commands for your system. Distribution packages often keep an older version number with the fix backported, so compare with the fixed package versions in the table below, not only with the upstream version.

Debian
sudo apt update
sudo apt upgrade
sudo reboot
Ubuntu
sudo apt update
sudo apt upgrade
sudo reboot
# Ubuntu 22.04 and later are not affected.
RHEL, AlmaLinux, Rocky, Oracle
sudo dnf upgrade kernel
sudo reboot
# RHEL 7: sudo yum update kernel
# RHEL 9 is not affected (Red Hat).
Fedora
sudo dnf upgrade --refresh kernel
sudo reboot
SUSE / openSUSE
sudo zypper refresh
sudo zypper patch --category security
sudo reboot
Amazon Linux
# Amazon Linux 2023
sudo dnf upgrade --releasever=latest 'kernel*'
# Amazon Linux 2
sudo yum update kernel
sudo reboot
Arch Linux
sudo pacman -Syu
sudo reboot
Alpine
# as root
apk update
apk upgrade
reboot
FreeBSD
not Linux

General update steps for every system are on the Linux and Unix & BSD pages; after updating, see which services to restart.

Fix status in Linux distributions

ReleasePackageStatusFixed version / advisory
Debian 12linuxfixed5.16.7-1
Debian 13linuxfixed5.16.7-1
Debian testinglinuxfixed5.16.7-1
Ubuntu 26.10linuxnot affected
Ubuntu 18.04 (ESM)linuxfixed4.15.0-173.182
Ubuntu 20.04 (ESM)linuxfixed5.4.0-105.119
Ubuntu 22.04linuxnot affected
Ubuntu 24.04linuxnot affected
Ubuntu 26.04linuxnot affected
Ubuntu 25.10linuxnot affected
Ubuntu 18.04 (ESM)linux-hwenot planned
Ubuntu 18.04 (ESM)linux-hwe-5.4fixed5.4.0-105.119~18.04.1
Ubuntu 20.04 (ESM)linux-hwe-5.8not planned
Ubuntu 20.04 (ESM)linux-hwe-5.11not planned
Ubuntu 20.04 (ESM)linux-hwe-5.13fixed5.13.0-37.42~20.04.1
Ubuntu 18.04 (ESM)linux-hwe-edgenot planned
Ubuntu 22.04linux-kvmnot affected
Ubuntu 18.04 (ESM)linux-kvmfixed4.15.0-1110.113
Ubuntu 20.04 (ESM)linux-kvmfixed5.4.0-1059.62
Ubuntu 26.10linux-awsnot affected
Ubuntu 22.04linux-awsnot affected
Ubuntu 18.04 (ESM)linux-awsfixed4.15.0-1124.133
Ubuntu 20.04 (ESM)linux-awsfixed5.4.0-1069.73
Ubuntu 24.04linux-awsnot affected
Ubuntu 26.04linux-awsnot affected
Ubuntu 25.10linux-awsnot affected
Ubuntu 18.04 (ESM)linux-aws-5.0not planned
Ubuntu 18.04 (ESM)linux-aws-5.3not planned
Ubuntu 18.04 (ESM)linux-aws-5.4fixed5.4.0-1069.73~18.04.1
Ubuntu 20.04 (ESM)linux-aws-5.8not planned
Ubuntu 20.04 (ESM)linux-aws-5.11not planned
Ubuntu 20.04 (ESM)linux-aws-5.13fixed5.13.0-1019.21~20.04.1
Ubuntu 26.10linux-azurenot affected
Ubuntu 20.04 (ESM)linux-azurefixed5.4.0-1073.76
Ubuntu 22.04linux-azurenot affected
Ubuntu 24.04linux-azurenot affected
Ubuntu 26.04linux-azurenot affected
Ubuntu 25.10linux-azurenot affected
Ubuntu 18.04 (ESM)linux-azurenot planned
Ubuntu 18.04 (ESM)linux-azure-4.15fixed4.15.0-1134.147
Ubuntu 18.04 (ESM)linux-azure-5.3not planned
Ubuntu 18.04 (ESM)linux-azure-5.4fixed5.4.0-1073.76~18.04.1
Ubuntu 20.04 (ESM)linux-azure-5.8not planned
Ubuntu 20.04 (ESM)linux-azure-5.11not planned
Ubuntu 20.04 (ESM)linux-bluefieldfixed5.4.0-1032.35
Ubuntu 18.04 (ESM)linux-dell300xfixed4.15.0-1038.43
Ubuntu 18.04 (ESM)linux-azure-edgenot planned
Ubuntu 26.10linux-gcpnot affected
Ubuntu 22.04linux-gcpnot affected
Ubuntu 20.04 (ESM)linux-gcpfixed5.4.0-1068.72
Ubuntu 18.04 (ESM)linux-gcpnot planned
Ubuntu 24.04linux-gcpnot affected
Ubuntu 26.04linux-gcpnot affected
Ubuntu 25.10linux-gcpnot affected
Ubuntu 18.04 (ESM)linux-gcp-4.15fixed4.15.0-1119.133
Ubuntu 18.04 (ESM)linux-gcp-5.3not planned
Ubuntu 18.04 (ESM)linux-gcp-5.4fixed5.4.0-1068.72~18.04.1
Ubuntu 20.04 (ESM)linux-gcp-5.8not planned
Ubuntu 20.04 (ESM)linux-gcp-5.11not planned
Ubuntu 26.04linux-gkenot affected

From the Debian security tracker, Ubuntu CVE tracker and Red Hat Security Data API, refreshed every few hours.

If you cannot patch yet

CISA required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

This vulnerability affects a common open-source component, third-party library, or a protocol used by different products. Please check with specific vendors for information on patching status. For more information, please see: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=24f6008564183aa120d07c03d9289519c2fe02af ; https://www.kernel.org/ ; https://nvd.nist.gov/vuln/detail/CVE-2022-0492

Sources

Page generated automatically from official sources on 2026-11-03 18:05 UTC and reviewed by an editor. Always confirm with your vendor's advisory.