CVE-2022-2586: Linux kernel nf_tables cross-table use-after-free
- Vendors
- Linux Kernel OrganizationLinuxSiemensCanonical
CVE-2022-2586 is a use-after-free vulnerability in the Linux kernel's Netfilter nf_tables subsystem. An nft object or expression can reference an nft set belonging to a different table. Deleting the table containing that set frees it while the cross-table reference remains, creating a dangling reference that can subsequently be used. A local attacker with CAP_NET_ADMIN in a user or network namespace can trigger the flaw, potentially escalating privileges. The vulnerability is known to have been exploited.
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 enable local privilege escalation and arbitrary code execution with elevated privileges, compromising system confidentiality and integrity. The use-after-free can also compromise availability through kernel memory corruption or system crashes. This is a local vulnerability, not a directly remotely exploitable network-service flaw.
Mitigation
If you can’t patch tonight, do this now.
Red Hat identifies no standalone mitigation meeting its criteria for ease of deployment, broad applicability, and stability. Apply the vendor kernel update rather than relying on an unverified workaround.
Remediation
Patch, then assume compromise.
Install the applicable vendor-patched kernel and reboot into it. The upstream fix is identified in Linux 6.0-rc1 and restricts set-ID lookups to the intended table. RHEL fixes include kernel 4.18.0-425.3.1.el8 through RHSA-2022:7683, RHEL 8 real-time kernel updates through RHSA-2022:7444, RHEL 9 updates through RHSA-2022:8267 and RHSA-2022:7933, and RHEL 8.6 EUS kernel 4.18.0-372.91.1.el8_6 through RHSA-2024:0724. For other affected distributions, apply their corresponding security updates, including CIQ advisory ciqsa-2026_1743 for Rocky Linux 8.6. Use the fixed package appropriate to the distribution and support channel rather than comparing upstream version numbers alone.
Exploits
4 exploits validated by Mallory's analysis.
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-2022-2586 exploited in the wild?
- Yes. As of Nov 2, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Jun 26, 2024.
- Is there a public exploit for CVE-2022-2586?
- Yes. Mallory tracks 4 public exploits or proofs of concept for CVE-2022-2586, the earliest disclosed Aug 23, 2022.
- Is there a patch for CVE-2022-2586?
- Install the applicable vendor-patched kernel and reboot into it. The upstream fix is identified in Linux 6.0-rc1 and restricts set-ID lookups to the intended table.
- What products are affected by CVE-2022-2586?
- Linux Kernel, Linux Kernel Organization Linux, Siemens Simatic S7-1500 Tm Mfp Firmware, Siemens Sinec Os, and Canonical Ubuntu Linux.
- How severe is CVE-2022-2586?
- CVE-2022-2586 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 1.8% (79th percentile) as of Nov 2, 2026.
Recent activity
16 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.