Linux Netfilter nf_tables Use-After-Free Privilege Escalation
CVE-2022-32250 is a use-after-free write vulnerability in the Linux kernel Netfilter nf_tables subsystem, affecting upstream kernels through 5.18.1. An incorrect NFT_STATEFUL_EXPR check in stateful-expression handling allows a local user able to create user and network namespaces to trigger kernel memory corruption and escalate privileges to root. Distribution-specific exposure depends on kernel backports and applied fixes. CVE-2022-1966 was rejected as a duplicate of this vulnerability.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can give a low-privileged local attacker root-level control, compromising host confidentiality, integrity, and availability. The memory-corruption condition can also cause a kernel crash and denial of service, and potentially permit arbitrary code execution in kernel context.
If you can’t patch tonight, do this now.
Restrict unprivileged creation of user and network namespaces where operationally feasible. For non-containerized RHEL 8 deployments, set user.max_user_namespaces to 0 to prevent creation of user namespaces. Do not apply this workaround indiscriminately to containerized deployments such as OpenShift, where user namespaces are required; use an appropriate vendor-supported fix instead.
Patch, then assume compromise.
Install a distribution-supported kernel update explicitly addressing CVE-2022-32250 and reboot into the updated kernel. Confirmed fixed packages include RHEL 7 kernel 3.10.0-1160.71.1.el7, RHEL 8.2 extended-support kernel 4.18.0-193.87.1.el8_2, and RHEL 8 kernel 4.18.0-372.19.1.el8_6; other release channels require their corresponding vendor updates. Where supported, install and verify activation of a vendor-provided kpatch live patch for the exact running kernel instead of relying on a conventional kernel replacement.
6 exploits validated by Mallory's analysis. Hidden: 3 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
36 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.