CVE-2021-22555: Linux Netfilter Compatibility Heap Out-of-Bounds Write Privilege Escalation
- 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. The flaw occurs when processing IPT_SO_SET_REPLACE or IP6T_SO_SET_REPLACE setsockopt requests from 32-bit processes on 64-bit systems. A local attacker able to reach the affected operation can corrupt kernel heap memory, potentially escalating privileges or causing denial of service. User and network namespaces can expose the vulnerable operation to otherwise unprivileged users on affected configurations.
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 elevate a local user's privileges and compromise system confidentiality, integrity, and availability. Kernel heap corruption can enable unauthorized code execution or cause a system crash and denial of service. Exploitation for Linux privilege escalation has been observed in Earth Krahang operations, and the vulnerability is listed in the CISA Known Exploited Vulnerabilities catalog.
Mitigation
If you can’t patch tonight, do this now.
On affected RHEL 8 systems that do not require user namespaces, set user.max_user_namespaces = 0 to prevent unprivileged namespace creation. Assess operational effects first, particularly for container workloads. Where namespaces cannot be disabled, apply a suitable seccomp policy to block the system calls needed to reach the vulnerable operation. These restrictions reduce exposure but do not replace installation of the kernel fix.
Remediation
Patch, then assume compromise.
Install the distribution-supported kernel update addressing CVE-2021-22555 and reboot into the patched kernel. Applicable updates include RHEL 8 RHSA-2021:3057, RHEL 7 RHSA-2021:3327, and RHEL 6 Extended Lifecycle Support RHSA-2025:17733. Rocky Linux 8 users should apply the packages specified by CIQ advisory crlsa-2021_3057. Where supported for the exact running kernel, install the applicable vendor kpatch live-patch update instead of requiring an immediate reboot. Verify remediation against vendor package advisories because backported fixes may not change the upstream kernel version.
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 Oct 30, 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 patched kernel. Applicable updates include RHEL 8 RHSA-2021:3057, RHEL 7 RHSA-2021:3327, and RHEL 6 Extended Lifecycle Support RHSA-2025:17733.
- 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 Oct 30, 2026.
Recent activity
51 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.