# CVE-2022-2586

It was discovered that a nft object or expression could reference a nft set on a different nft table, leading to a use-after-free once that table was deleted.

- Page: https://www.vulneraibility.com/cve/CVE-2022-2586
- CVSS: 5.3
- Known exploited: yes, in CISA KEV since 2024-06-26; CISA due date 2024-07-17
- EPSS: 10.20% (percentile 95.7)
- Unvetted proof-of-concept code on GitHub: 3 GitHub proofs of concept (first 2022-09-03)
- CISA SSVC: exploitation active, automatable no, technical impact total (assessed 2024-06-26)
- Weakness: CWE-416
- Published: 2024-01-08

## Affected versions

- The Linux Kernel Organization linux: affected >= 3.16 and < 4.14.316; >= 4.15 and < 4.19.256; >= 4.20 and < 5.4.211; >= 5.5 and < 5.10.137; >= 5.11 and < 5.15.61; >= 5.16 and < 5.18.18; >= 5.19 and < 5.19.2

A version outside these ranges is not a statement that it is unaffected.

## References

- [advisory] https://ubuntu.com/security/notices/USN-5564-1
- [advisory] https://ubuntu.com/security/notices/USN-5560-2
- [advisory] https://ubuntu.com/security/notices/USN-5582-1
- [advisory] https://ubuntu.com/security/notices/USN-5567-1
- [advisory] https://ubuntu.com/security/notices/USN-5560-1
- [advisory] https://ubuntu.com/security/notices/USN-5566-1
- [other] https://www.openwall.com/lists/oss-security/2022/08/09/5
- [advisory] https://ubuntu.com/security/notices/USN-5565-1
- [other] https://www.zerodayinitiative.com/advisories/ZDI-22-1118/
- [other] https://lore.kernel.org/netfilter-devel/20220809170148.164591-1-cascardo@canonical.com/T/#t
- [advisory] https://ubuntu.com/security/notices/USN-5562-1
- [advisory] https://ubuntu.com/security/notices/USN-5557-1
- [other] https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2586
- [other] https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-2586
- [other] https://www.vicarius.io/vsociety/posts/use-after-free-vulnerability-linked-chain-between-nft-tables-cve-2022-2586
- [other] https://cert-portal.siemens.com/productcert/html/ssa-794697.html
- [other] https://cert-portal.siemens.com/productcert/html/ssa-806742.html

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
