CVE-2022-2586Known exploitationPublic exploit

Local privilege escalation via cross-table SET_ID lookup

Published Jan 8, 2024 · Updated Aug 20, 2026

Use-after-free in Linux kernel 3.16-rc1 through 5.19.1 allows local users to gain root privileges through crafted nftables requests. The nft_set_lookup_byid function accepts a SET_ID from another table without checking table ownership, leaving a dangling reference after that table and its set are freed. Exploitation requires CAP_NET_ADMIN in a user or network namespace; an account that can create an unprivileged user namespace can obtain that capability and escalate to root.

CVSS severity5.3
Medium
EPSS probability10.46%
Next 30 days · Sep 16, 2026
Known exploitationReported
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

Use-after-free in Linux kernel 3.16-rc1 through 5.19.1 allows local users to gain root privileges through crafted nftables requests. The nft_set_lookup_byid function accepts a SET_ID from another table without checking table ownership, leaving a dangling reference after that table and its set are freed. Exploitation requires CAP_NET_ADMIN in a user or network namespace; an account that can create an unprivileged user namespace can obtain that capability and escalate to root.

The record

CVE
CVE-2022-2586
Published
Jan 8, 2024
Updated
Aug 20, 2026
Vendor
The Linux Kernel Organization
Product
Linux
Classifications
CWE-416, T1068
Attack vector
local
Privileges
authenticated

Timeline

How it unfolded

  1. Jan 8, 2024CVE publishedPublication date reported by the CVE source.
  2. Aug 20, 2026Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=3.16 <4.14.316
  2. Affected versionversion=4.15 <4.19.256
  3. Affected versionversion=4.20 <5.4.211
  4. Affected versionversion=5.11 <5.15.61
  5. Affected versionversion=5.16 <5.18.18
  6. Affected versionversion=5.19 <5.19.2
  7. Affected versionversion=5.5 <5.10.137

What conditions does exploitation require?

Attack vectorlocal
Required privilegesauthenticated

What is affected?

The Linux Kernel Organization · Linuxversion=3.16 <4.14.316; version=4.15 <4.19.256; version=4.20 <5.4.211; version=5.11 <5.15.61; version=5.16 <5.18.18; version=5.19 <5.19.2; version=5.5 <5.10.137
The Linux Kernel Organization · Linux Kernelversion=0 <6.0-rc1

Published CVSS scores

5.3CanonicalCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H
6.7Amazon LinuxCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 10, 2026Sep 16, 2026
Latest reporting daySep 16, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectorlocal
Privilegesauthenticated
Known exploitationReported
Public exploitPublished

Weakness, pattern, technique

CWE-416Use After Free
T1068Exploitation for Privilege Escalation

Public exploit references

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Reported exploitation

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo