# CVE-2022-0492: Linux Kernel Improper Authentication

> Attackers can escalate privileges and bypass namespace isolation by exploiting the cgroups v1 release_agent feature in the Linux kernel.

- **Severity:** High 7.8 (`CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Yes, since 2 Jun 2026 (CISA KEV)
- **Login needed:** Any signed-in user
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 3 Mar 2022
- **Updated:** 3 Jun 2026
- **Also known as:** A-224859358, AZL-8966, DEBIAN-CVE-2022-0492, PUB-A-224859358, RHSA-2022:4642, RHSA-2022:4644, RHSA-2022:4655, RHSA-2022:4717, RHSA-2022:4721, SUSE-SU-2022:0991-1, SUSE-SU-2022:1036-1, UBUNTU-CVE-2022-0492

## What is CVE-2022-0492?

CVE-2022-0492 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 3 Mar 2022. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

A vulnerability was found in the Linux kernel’s cgroup_release_agent_write in the kernel/cgroup/cgroup-v1.c function. This flaw, under certain circumstances, allows the use of the cgroups v1 release_agent feature to escalate privileges and bypass the namespace isolation unexpectedly.

Weakness: CWE-862 (Missing Authorization), CWE-287 (Improper Authentication)

## Which versions are affected by CVE-2022-0492?

It affects 27 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `bpftool` | Red Hat:enterprise_linux:7::client | All versions | 0:3.10.0-1160.66.1.el7 |
| `bpftool-debuginfo` | Red Hat:enterprise_linux:7::client | All versions | 0:3.10.0-1160.66.1.el7 |
| `kernel` | Red Hat:enterprise_linux:7::client | All versions | 0:3.10.0-1160.66.1.el7 |
| `kernel-abi-whitelists` | Red Hat:enterprise_linux:7::client | All versions | 0:3.10.0-1160.66.1.el7 |
| `kernel-debug` | Red Hat:enterprise_linux:7::client | All versions | 0:3.10.0-1160.66.1.el7 |
| `kernel-debug-debuginfo` | Red Hat:enterprise_linux:7::client | All versions | 0:3.10.0-1160.66.1.el7 |
| `kernel-debug-devel` | Red Hat:enterprise_linux:7::client | All versions | 0:3.10.0-1160.66.1.el7 |
| `kernel-debuginfo` | Red Hat:enterprise_linux:7::client | All versions | 0:3.10.0-1160.66.1.el7 |
| `kernel-debuginfo-common-x86_64` | Red Hat:enterprise_linux:7::client | All versions | 0:3.10.0-1160.66.1.el7 |
| `kernel-devel` | Red Hat:enterprise_linux:7::client | All versions | 0:3.10.0-1160.66.1.el7 |
| `kernel-doc` | Red Hat:enterprise_linux:7::client | All versions | 0:3.10.0-1160.66.1.el7 |
| `kernel-tools` | Red Hat:enterprise_linux:7::client | All versions | 0:3.10.0-1160.66.1.el7 |
| `kernel-tools-debuginfo` | Red Hat:enterprise_linux:7::client | All versions | 0:3.10.0-1160.66.1.el7 |
| `kernel-tools-libs` | Red Hat:enterprise_linux:7::client | All versions | 0:3.10.0-1160.66.1.el7 |
| `kernel-tools-libs-devel` | Red Hat:enterprise_linux:7::client | All versions | 0:3.10.0-1160.66.1.el7 |
| `perf` | Red Hat:enterprise_linux:7::client | All versions | 0:3.10.0-1160.66.1.el7 |
| `perf-debuginfo` | Red Hat:enterprise_linux:7::client | All versions | 0:3.10.0-1160.66.1.el7 |
| `python-perf` | Red Hat:enterprise_linux:7::client | All versions | 0:3.10.0-1160.66.1.el7 |
| `python-perf-debuginfo` | Red Hat:enterprise_linux:7::client | All versions | 0:3.10.0-1160.66.1.el7 |
| `bpftool-debuginfo` | Red Hat:enterprise_linux:7::computenode | All versions | 0:3.10.0-1160.66.1.el7 |
| `kernel-debug-debuginfo` | Red Hat:enterprise_linux:7::computenode | All versions | 0:3.10.0-1160.66.1.el7 |
| `kernel-debuginfo` | Red Hat:enterprise_linux:7::computenode | All versions | 0:3.10.0-1160.66.1.el7 |
| `kernel-debuginfo-common-x86_64` | Red Hat:enterprise_linux:7::computenode | All versions | 0:3.10.0-1160.66.1.el7 |
| `kernel-tools-debuginfo` | Red Hat:enterprise_linux:7::computenode | All versions | 0:3.10.0-1160.66.1.el7 |
| `kernel-tools-libs-devel` | Red Hat:enterprise_linux:7::computenode | All versions | 0:3.10.0-1160.66.1.el7 |
| `perf-debuginfo` | Red Hat:enterprise_linux:7::computenode | All versions | 0:3.10.0-1160.66.1.el7 |
| `python-perf-debuginfo` | Red Hat:enterprise_linux:7::computenode | All versions | 0:3.10.0-1160.66.1.el7 |
| `bpftool` | Red Hat:enterprise_linux:7::server | All versions | 0:3.10.0-1160.66.1.el7 |
| `bpftool-debuginfo` | Red Hat:enterprise_linux:7::server | All versions | 0:3.10.0-1160.66.1.el7 |
| `kernel` | Red Hat:enterprise_linux:7::server | All versions | 0:3.10.0-1160.66.1.el7 |
| `kernel-abi-whitelists` | Red Hat:enterprise_linux:7::server | All versions | 0:3.10.0-1160.66.1.el7 |
| `kernel-bootwrapper` | Red Hat:enterprise_linux:7::server | All versions | 0:3.10.0-1160.66.1.el7 |
| `kernel-debug` | Red Hat:enterprise_linux:7::server | All versions | 0:3.10.0-1160.66.1.el7 |
| `kernel-debug-debuginfo` | Red Hat:enterprise_linux:7::server | All versions | 0:3.10.0-1160.66.1.el7 |
| `kernel-debug-devel` | Red Hat:enterprise_linux:7::server | All versions | 0:3.10.0-1160.66.1.el7 |
| `kernel-debuginfo` | Red Hat:enterprise_linux:7::server | All versions | 0:3.10.0-1160.66.1.el7 |
| `kernel-debuginfo-common-ppc64` | Red Hat:enterprise_linux:7::server | All versions | 0:3.10.0-1160.66.1.el7 |
| `kernel-debuginfo-common-ppc64le` | Red Hat:enterprise_linux:7::server | All versions | 0:3.10.0-1160.66.1.el7 |
| `kernel-debuginfo-common-s390x` | Red Hat:enterprise_linux:7::server | All versions | 0:3.10.0-1160.66.1.el7 |
| `kernel-debuginfo-common-x86_64` | Red Hat:enterprise_linux:7::server | All versions | 0:3.10.0-1160.66.1.el7 |

Products: Canonical Ubuntu Linux, Debian Debian Linux, Fedoraproject Fedora, Linux kernel, Netapp Bootstrap Os, Netapp H300s Firmware, Netapp H410c Firmware, Netapp H410s Firmware, Netapp H500s Firmware, Netapp H700s Firmware, Netapp Solidfire\, Enterprise Sds \& Hci Storage Node, Netapp Solidfire \& Hci Management Node, Redhat Codeready Linux Builder, Redhat Codeready Linux Builder for Power Little Endian, Redhat Enterprise Linux, Redhat Enterprise Linux Eus, Redhat Enterprise Linux for Ibm Z Systems, Redhat Enterprise Linux for Ibm Z Systems Eus, Redhat Enterprise Linux for Power Little Endian, Redhat Enterprise Linux for Power Little Endian Eus and 7 more.

## How do I fix CVE-2022-0492?

Apply the vendor's patch. US federal agencies must fix it by 5 Jun 2026.

## Is CVE-2022-0492 being exploited?

Yes. Attackers have exploited CVE-2022-0492 in the wild since at least 2 Jun 2026.

Public exploit code:

- Test whether a container environment is vulnerable to container escapes via CVE-2022-0492 (github_poc): https://github.com/PaloAltoNetworks/can-ctr-escape-cve-2022-0492
- CVE-2022-0492 EXP and Analysis write up (github_poc): https://github.com/chenaotian/CVE-2022-0492
- A script to check if a container environment is vulnerable to container escapes via CVE-2022-0492 (github_poc): https://github.com/SofianeHamlaoui/CVE-2022-0492-Checker
- Docker Breakout Checker and PoC via CAP_SYS_ADMIN and via user namespaces (CVE-2022-0492) (github_poc): https://github.com/T1erno/CVE-2022-0492-Docker-Breakout-Checker-and-PoC
- CVE-2022-0492-Container-Escape (github_poc): https://github.com/KianaBin/CVE-2022-0492-Container-Escape
- Docker cgroups Container Escape (metasploit)

## Other vulnerabilities in Canonical Ubuntu Linux

- [CVE-2020-11651](https://insights.sbomify.com/CVE-2020-11651/): SaltStack Salt Authentication Bypass (critical 9.8, exploited in the wild)
- [CVE-2020-7247](https://insights.sbomify.com/CVE-2020-7247/): OpenSMTPD Remote Code Execution (critical 9.8, exploited in the wild)
- [CVE-2019-16928](https://insights.sbomify.com/CVE-2019-16928/): Exim Out-of-bounds Write (critical 9.8, exploited in the wild)
- [CVE-2018-6789](https://insights.sbomify.com/CVE-2018-6789/): Exim Buffer Overflow (critical 9.8, exploited in the wild)
- [CVE-2015-2590](https://insights.sbomify.com/CVE-2015-2590/): Oracle Java SE and Java SE Embedded Remote Code Execution (critical 9.8, exploited in the wild)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2022-0492 and fix it if it is affected.

What it is: CVE-2022-0492 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 3 Mar 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: Yes. Attackers have exploited CVE-2022-0492 in the wild since at least 2 Jun 2026.

Affected product: Canonical Ubuntu Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2022-0492/ (Markdown: https://insights.sbomify.com/CVE-2022-0492/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2022-0492
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2022-0492
- OSV: https://osv.dev/vulnerability/CVE-2022-0492

---
From sbomify Insights: https://insights.sbomify.com/CVE-2022-0492/
Summaries are generated and may contain mistakes; the official description above is the record.
