# CVE-2022-2586: Linux Kernel Use-After-Free Vulnerability

Source: https://junglewise.ai/threats/cve-2022-2586-linux-kernel-use-after-free-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-06-26. Updated: 2026-05-09  
License: CC BY 4.0 with a link back

CVE-2022-2586 · Severity: critical · CVSS 7.8 · Exploited in the wild · Published 2024-06-26

A use-after-free vulnerability in the Linux Kernel's netfilter (nft_object) occurs when an object or expression references a set on a different table. When that table is deleted, the reference remains, allowing local attackers to escalate privileges.

Technologies: [Linux Kernel](https://junglewise.ai/threats/technologies/kernel). Vendors: [Linux](https://junglewise.ai/threats/vendors/linux).

## Quick answers

**Is CVE-2022-2586 exploited in the wild?** Yes. CVE-2022-2586 is known to be exploited in the wild, first recorded on 26 June 2024. Treat it as urgent.

**How severe is CVE-2022-2586?** Critical severity, with a CVSS score of 7.8, published 26 June 2024.

**Which products and versions are affected?** Linux Linux Kernel up to (including) 5.19.17, 6.0; Canonical Ubuntu Linux 14.04 ESM, 16.04 ESM, 18.04 ESM, 20.04 LTS.

**Is there a fix for CVE-2022-2586?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2022-2586 attacked?** It is attacked with local access, in an operating system.

**Am I affected by CVE-2022-2586?** Check whether you run Linux Kernel. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- Linux Linux Kernel up to (including) 5.19.17, 6.0
- Canonical Ubuntu Linux 14.04 ESM, 16.04 ESM, 18.04 ESM, 20.04 LTS

## Timeline

- 2022-08-09: disclosed: Public disclosure via oss-security mailing list.
- 2024-06-26: kev added: Added to CISA Known Exploited Vulnerabilities Catalog.
- 2024-07-17: other: CISA due date for remediation.

## Related threats

- [Linux kernel xen-netback double unmap memory corruption](https://junglewise.ai/threats/cve-2026-99287-in-the-linux-kernel-the-following-vulnerability-has-been-resolved)
- [Linux kernel PMC uninitialized clock rate in 32-bit Tegra](https://junglewise.ai/threats/cve-2026-99259-in-the-linux-kernel-the-following-vulnerability-has-been-resolved)
- [Linux kernel x86 Hyper-V memory access violation](https://junglewise.ai/threats/cve-2026-99258-in-the-linux-kernel-the-following-vulnerability-has-been-resolved)
- [Linux kernel io_uring signal loss in worker exit](https://junglewise.ai/threats/cve-2026-99228-in-the-linux-kernel-the-following-vulnerability-has-been-resolved)
- [Linux kernel mv643xx_eth NULL pointer dereference in PHY probe](https://junglewise.ai/threats/cve-2026-99197-in-the-linux-kernel-the-following-vulnerability-has-been-resolved)
