Skip to main content

Linux Kernel CVE-2022-2586

HIGH
Use After Free (CWE-416)
2024-01-08 security@ubuntu.com
7.8
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI
7.8 HIGH

Local attack vector with low privileges required; default user namespace support effectively lowers exploitation bar; full C/I/A impact via kernel heap corruption enabling root escalation.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

9
Analysis Updated
Aug 13, 2026 - 19:44 vuln.today
v2 (cvss_changed)
Re-analysis Queued
Aug 13, 2026 - 19:37 vuln.today
cvss_changed
Severity Changed
Aug 13, 2026 - 19:37 NVD
MEDIUM HIGH
CVSS changed
Aug 13, 2026 - 19:37 NVD
5.3 (MEDIUM) 7.8 (HIGH)
Analysis Generated
Mar 28, 2026 - 19:34 vuln.today
Patch released
Mar 28, 2026 - 19:34 nvd
Patch available
Added to CISA KEV
Oct 28, 2025 - 13:34 cisa
CISA KEV
PoC Detected
Oct 28, 2025 - 13:34 vuln.today
Public exploit code
CVE Published
Jan 08, 2024 - 18:15 nvd
MEDIUM 5.3

DescriptionNVD

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.

AnalysisAI

Use-after-free in the Linux kernel's nftables subsystem allows local privilege escalation to root when a cross-table object or expression references an nft set that is subsequently freed upon table deletion. Confirmed actively exploited (CISA KEV) with publicly available exploit code, this flaw affects Linux kernel versions up to and including 6.0, with explicit Ubuntu distribution coverage spanning 14.04 ESM through 22.04 LTS. On systems where unprivileged user namespaces are enabled by default - including Ubuntu LTS releases - any local user can obtain the necessary capability to trigger the vulnerability without elevated account permissions.

Technical ContextAI

nftables is the Linux kernel's modern replacement for iptables, implemented within the kernel's netfilter framework and responsible for packet filtering, NAT, and stateful traffic inspection. The root cause (CWE-416, Use After Free) is a missing isolation enforcement between nft tables: an nft object or expression in one table is permitted to hold a reference to an nft set defined in a different table. When the table owning that set is deleted, the kernel frees the associated memory without invalidating the cross-table reference. The referencing object retains a dangling pointer into freed kernel heap memory. Subsequent kernel access to that pointer constitutes a use-after-free condition, enabling an attacker to corrupt kernel data structures and redirect execution to achieve arbitrary code execution in ring 0. CPE data confirms the affected component as cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* up to and including 6.0, alongside Ubuntu distributions from 14.04 ESM through 22.04 LTS. The patch was submitted to the netfilter-devel kernel mailing list by Thadeu Lima de Souza Cascardo of Canonical on August 9, 2022.

RemediationAI

The upstream fix is available as a patch submitted to the netfilter-devel kernel mailing list at https://lore.kernel.org/netfilter-devel/20220809170148.164591-1-cascardo@canonical.com/T/#t. Ubuntu users should apply the kernel updates documented in the applicable USN advisories - beginning with USN-5557-1 at https://ubuntu.com/security/notices/USN-5557-1 - for their respective release; exact patched kernel package versions per Ubuntu release should be obtained directly from those advisories, as specific version strings are not independently confirmed in available reference data. For systems where immediate patching is not possible, disabling unprivileged user namespaces via sysctl -w kernel.unprivileged_userns_clone=0 (or kernel.unprivileged_userns_clone=0 in /etc/sysctl.d/) eliminates the most accessible exploitation path, though this breaks sandboxed applications relying on namespace isolation such as Chromium, Firefox, and snap-based packages - evaluate workload impact before applying. Alternatively, deploying AppArmor or seccomp policies that restrict CAP_NET_ADMIN to authorized processes reduces exposure while preserving more functionality. Patching remains the only complete remediation.

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2014-6271 CRITICAL POC
9.8 Sep 24

GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2016-3714 HIGH POC
8.4 May 05

The (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT coders in ImageMagick before 6.

CVE-2017-12617 HIGH POC
8.1 Oct 04

When running Apache Tomcat versions 9.0.0.M1 to 9.0.0, 8.5.0 to 8.5.22, 8.0.0.RC1 to 8.0.46 and 7.0.0 to 7.0.81 with HTT

CVE-2016-8735 CRITICAL POC
9.8 Apr 06

Remote code execution is possible with Apache Tomcat before 6.0.48, 7.x before 7.0.73, 8.x before 8.0.39, 8.5.x before 8

CVE-2014-7169 CRITICAL POC
9.8 Sep 25

GNU Bash through 4.3 bash43-025 processes trailing strings after certain malformed function definitions in the values of

CVE-2014-0160 HIGH POC
7.5 Apr 07

The (1) TLS and (2) DTLS implementations in OpenSSL 1.0.1 before 1.0.1g do not properly handle Heartbeat Extension packe

CVE-2016-5195 HIGH POC
7.0 Nov 10

Race condition in mm/gup.c in the Linux kernel 2.x through 4.x before 4.8.3 allows local users to gain privileges by lev

CVE-2013-2423 LOW POC
3.7 Apr 17

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 17 and earlier, and

CVE-2023-4911 HIGH POC
7.8 Oct 03

Local privilege escalation in the GNU C Library (glibc) dynamic loader ld.so allows unprivileged local users on affected

Share

CVE-2022-2586 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy