Kernel nftables UAF via cross-table nft set ref
CVE-2022-2586 Published on January 8, 2024

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.

NVD

Known Exploited Vulnerability

This Linux Kernel Use-After-Free Vulnerability is part of CISA's list of Known Exploited Vulnerabilities. Linux Kernel contains a use-after-free vulnerability in the nft_object, allowing local attackers to escalate privileges. .

The following remediation steps are recommended / required by July 17, 2024: Apply updates per vendor instructions or discontinue use of the product if updates are unavailable.

Vulnerability Analysis

CVE-2022-2586 is exploitable with local system access, and requires small amount of user privileges. This vulnerability is consided to have a high level of attack complexity. This vulnerability is known to be actively exploited by threat actors. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality, with no impact on integrity, and a high impact on availability.

Attack Vector:
LOCAL
Attack Complexity:
HIGH
Privileges Required:
LOW
User Interaction:
NONE
Scope:
UNCHANGED
Confidentiality Impact:
NONE
Integrity Impact:
LOW
Availability Impact:
HIGH

Weakness Type

What is a Dangling pointer Vulnerability?

Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code.

CVE-2022-2586 has been classified to as a Dangling pointer vulnerability or weakness.


Products Associated with CVE-2022-2586

stack.watch emails you whenever new vulnerabilities are published in Canonical Ubuntu Linux or Linux Kernel. Just hit a watch button to start following.

 
 

Affected Versions

The Linux Kernel Organization linux: linux_kernel:

Exploit Probability

EPSS
2.50%
Percentile
85.09%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.