Skip to main content
Mallory
HighVulnerability

CVE-2021-4197: Local Privilege Escalation in Linux Kernel cgroup Migration Permission Checks

Published Mar 23, 2022 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.8High · v3.1
EPSS0.54%39th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendors
VMwareOracle CorporationDebian ProjectNetAppLinux
IdentifiersCVE-2021-4197CWE-863

CVE-2021-4197 is an authorization flaw in the Linux kernel's cgroup migration permission checks affecting both cgroup v1 and v2. The checks fail to use the credentials and namespace associated with opening a cgroup file descriptor. A less-privileged process can exploit a more-privileged process writing to a descriptor created by the less-privileged process, potentially enabling local privilege escalation or a system crash. The issue affects containers and other processes using cgroups in this manner.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

A local attacker may cross privilege boundaries through improperly authorized cgroup migration operations, resulting in elevated privileges or denial of service through a system crash. Containerized workloads may be affected where the required interaction with a more-privileged process exists; universal container escape is not established.

Mitigation

If you can’t patch tonight, do this now.

Until patched, prevent privileged services from accepting or writing through file descriptors supplied by less-privileged processes, particularly for cgroup management operations. Restrict cgroup-management delegation and access to privileged cgroup controllers, minimize privilege separation boundaries that rely on descriptor passing, and apply least-privilege controls to processes capable of migrating tasks between cgroups.

Remediation

Patch, then assume compromise.

Install a vendor-supported kernel update containing the fix that uses open-time credentials and namespace information for cgroup migration permission checks, then reboot into the updated kernel. The upstream fix first appeared in Linux 5.17-rc1. For applicable RHEL 8.4 Extended Update Support systems, fixed packages include kernel 4.18.0-305.57.1.el8_4 under RHSA-2022:5626 and kernel-rt 4.18.0-305.57.1.rt7.129.el8_4 under RHSA-2022:5633. Use the applicable fixed package or a later supported update for the deployed distribution.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Debian ProjectDebian Linuxoperating_system
LinuxLinux Kerneloperating_system
NetAppH300s Firmwareoperating_system
NetAppH410c Firmwareoperating_system
NetAppH410s Firmwareoperating_system
NetAppH500s Firmwareoperating_system
NetAppH700s Firmwareoperating_system
Oracle CorporationCommunications Cloud Native Core Binding Support Functionapplication
VMwareBrocade Fabric Operating System Firmwareoperating_system
FAQ

Frequently asked questions

Is CVE-2021-4197 exploited in the wild?
As of Oct 25, 2026, Mallory has no reports of CVE-2021-4197 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2021-4197?
As of Oct 25, 2026, Mallory has found no public exploit for CVE-2021-4197.
Is there a patch for CVE-2021-4197?
Install a vendor-supported kernel update containing the fix that uses open-time credentials and namespace information for cgroup migration permission checks, then reboot into the updated kernel. The upstream fix first appeared in Linux 5.17-rc1.
What products are affected by CVE-2021-4197?
Linux Kernel, VMware Brocade Fabric Operating System Firmware, Oracle Corporation Communications Cloud Native Core Binding Support Function, Debian Project Debian Linux, NetApp H300s Firmware, and 4 more.
How severe is CVE-2021-4197?
CVE-2021-4197 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.54% (39th percentile) as of Oct 25, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.