CVE-2021-22555: Linux Netfilter x_tables Heap Out-of-Bounds Write
- Vendors
- NetAppVMwareBrocade Communications SystemsLinux
CVE-2021-22555 is a heap out-of-bounds write in the Linux kernel Netfilter x_tables compatibility function xt_compat_target_from_user(), introduced in Linux v2.6.19-rc1. A local attacker can reach the vulnerable functionality through user namespaces and corrupt kernel heap memory, potentially escalating privileges or causing denial of service. Public exploits turn corruption of kernel message objects into information-disclosure and arbitrary-free primitives, enabling use-after-free exploitation and eventual kernel control-flow hijacking.
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.
Successful exploitation can compromise the confidentiality, integrity, and availability of the affected system by granting root privileges or kernel code execution. Heap corruption can also crash the kernel. Container escape has been demonstrated where a container can reach the vulnerable host-kernel interface. Modified exploits have additionally disabled kprobes after obtaining kernel execution, bypassing tested kprobe-dependent Tetragon enforcement policies. Exploitation for Linux privilege escalation has been observed in Earth Krahang operations.
Mitigation
If you can’t patch tonight, do this now.
Reduce attack surface by preventing untrusted processes and containers from reaching the vulnerable Netfilter interface. Restrict unprivileged user-namespace creation where operationally feasible to remove the namespace-based access path. Do not rely solely on post-exploitation process termination or kprobe-based monitoring: modified public exploits have disabled kprobes after gaining kernel execution. Runtime exploit defenses may provide additional protection but are not substitutes for patching.
Remediation
Patch, then assume compromise.
Install the distribution-supported kernel update addressing CVE-2021-22555 and reboot into the fixed kernel. Applicable updates include RHEL 8 advisory RHSA-2021:3057 and the corresponding Rocky Linux advisory crlsa-2021_3057; other release streams require their own applicable updates. RHEL 6 Extended Lifecycle Support Extension provides kernel 2.6.32-754.58.1.el6 through RHSA-2025:17733. Supported RHEL deployments can alternatively apply the applicable kpatch live-patch update, including RHSA-2021:3044 or RHSA-2021:3181, after confirming compatibility and successful activation.
Exploits
5 exploits validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit; 2 not yet analyzed, such as Exploit-DB entries.
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.
References
Frequently asked questions
- Is CVE-2021-22555 exploited in the wild?
- Yes. As of Nov 26, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Oct 6, 2025.
- Is there a public exploit for CVE-2021-22555?
- Yes. Mallory tracks 5 public exploits or proofs of concept for CVE-2021-22555, the earliest disclosed Jul 7, 2021.
- Is there a patch for CVE-2021-22555?
- Install the distribution-supported kernel update addressing CVE-2021-22555 and reboot into the fixed kernel. Applicable updates include RHEL 8 advisory RHSA-2021:3057 and the corresponding Rocky Linux advisory crlsa-2021_3057; other release streams require their own applicable updates.
- What products are affected by CVE-2021-22555?
- Linux Kernel, NetApp Aff 500f Firmware, NetApp Aff A250 Firmware, NetApp Aff A400 Firmware, NetApp C250 Firmware, and at least 17 more.
- How severe is CVE-2021-22555?
- CVE-2021-22555 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 78.7% (100th percentile) as of Nov 26, 2026.
Recent activity
57 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.