---
id: "CVE-2022-2586"
kind: "vulnerability"
aliases: ["CVE-2022-2586"]
title: "It was discovered that a nft object or expression could reference a nft set on a different nft table, leading to a\u2026"
severity: "high"
cvss: 7.8
epss: null
exploited: true
status: "open"
category: "infrastructure"
products: [{"name": "siemens simatic s7-1500 tm mfp firmware", "fixed": ["1.1"], "affected": "< 1.1", "ecosystem": "vendor"}, {"name": "siemens sinec os", "fixed": ["2.4"], "affected": "< 2.4", "ecosystem": "vendor"}, {"name": "linux kernel", "fixed": ["4.14.316"], "affected": ">= 3.16, < 4.14.316", "ecosystem": "vendor"}, {"name": "linux kernel", "fixed": ["4.19.256"], "affected": ">= 4.15, < 4.19.256", "ecosystem": "vendor"}, {"name": "linux kernel", "fixed": ["5.4.211"], "affected": ">= 4.20, < 5.4.211", "ecosystem": "vendor"}, {"name": "linux kernel", "fixed": ["5.10.137"], "affected": ">= 5.5, < 5.10.137", "ecosystem": "vendor"}, {"name": "linux kernel", "fixed": ["5.15.61"], "affected": ">= 5.11, < 5.15.61", "ecosystem": "vendor"}, {"name": "linux kernel", "fixed": ["5.18.18"], "affected": ">= 5.16, < 5.18.18", "ecosystem": "vendor"}, {"name": "linux kernel", "fixed": ["5.19.2"], "affected": ">= 5.19, < 5.19.2", "ecosystem": "vendor"}, {"name": "canonical ubuntu linux", "fixed": [], "affected": "= 14.04", "ecosystem": "vendor"}, {"name": "canonical ubuntu linux", "fixed": [], "affected": "= 16.04", "ecosystem": "vendor"}, {"name": "canonical ubuntu linux", "fixed": [], "affected": "= 18.04", "ecosystem": "vendor"}, {"name": "canonical ubuntu linux", "fixed": [], "affected": "= 20.04", "ecosystem": "vendor"}, {"name": "canonical ubuntu linux", "fixed": [], "affected": "= 22.04", "ecosystem": "vendor"}, {"name": "Linux Kernel", "fixed": [], "affected": "", "ecosystem": "vendor"}]
ecosystems: ["vendor"]
tags: ["exploited", "infrastructure", "kubernetes", "linux", "self-hosted"]
not_affected_if: ["default-config"]
published_at: "2024-01-08T18:15:44+00:00"
first_seen_at: "2026-10-23T19:11:51+00:00"
updated_at: "2026-10-24T00:09:51+00:00"
sources: [{"source": "kev", "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2022-2586", "first_seen_at": "2026-10-23T19:11:51+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-2586", "first_seen_at": "2026-10-23T22:29:05+00:00"}]
---

# It was discovered that a nft object or expression could reference a nft set on a different nft table, leading to a…

A use-after-free bug in the Linux kernel's nft_object code (nf_tables) lets a local user corrupt kernel memory. An attacker with a local shell can escalate privileges to root.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- vendor:siemens simatic s7-1500 tm mfp firmware affected < 1.1 fixed 1.1
- vendor:siemens sinec os affected < 2.4 fixed 2.4
- vendor:linux kernel affected >= 3.16, < 4.14.316 fixed 4.14.316
- vendor:linux kernel affected >= 4.15, < 4.19.256 fixed 4.19.256
- vendor:linux kernel affected >= 4.20, < 5.4.211 fixed 5.4.211
- vendor:linux kernel affected >= 5.5, < 5.10.137 fixed 5.10.137
- vendor:linux kernel affected >= 5.11, < 5.15.61 fixed 5.15.61
- vendor:linux kernel affected >= 5.16, < 5.18.18 fixed 5.18.18
- vendor:linux kernel affected >= 5.19, < 5.19.2 fixed 5.19.2
- vendor:canonical ubuntu linux affected = 14.04 fixed ?
- vendor:canonical ubuntu linux affected = 16.04 fixed ?
- vendor:canonical ubuntu linux affected = 18.04 fixed ?
- vendor:canonical ubuntu linux affected = 20.04 fixed ?
- vendor:canonical ubuntu linux affected = 22.04 fixed ?
- vendor:Linux Kernel affected ? fixed ?

## Fix

Apply the kernel update from your distribution or vendor, per CISA's required action; move to a kernel release that includes the upstream fix.
If no update is available, discontinue use of the affected system.

## Timeline

- 2026-10-23T19:11:51+00:00 kev https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2022-2586
- 2026-10-23T22:29:05+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2022-2586

## From the sources

Linux Kernel contains a use-after-free vulnerability in the nft_object, allowing local attackers to escalate privileges.

CISA required action: Apply updates per vendor instructions or discontinue use of the product if updates are unavailable.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
