Linux Kernel Netfilter Use-After-Free PrivEsc via NFT_MSG_NEWRULE
CVE-2023-3390 Published on June 28, 2023
Use-after-free in Linux kernel's netfilter subsystem
A use-after-free vulnerability was found in the Linux kernel's netfilter subsystem in net/netfilter/nf_tables_api.c.
Mishandled error handling with NFT_MSG_NEWRULE makes it possible to use a dangling pointer in the same transaction causing a use-after-free vulnerability. This flaw allows a local attacker with user access to cause a privilege escalation issue.
We recommend upgrading past commit 1240eb93f0616b21c675416516ff3d74798fdc97.
Vulnerability Analysis
CVE-2023-3390 is exploitable with local system access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be very 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-2023-3390 has been classified to as a Dangling pointer vulnerability or weakness.
Products Associated with CVE-2023-3390
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2023-3390 are published in these products:
Affected Versions
Linux Kernel:- Version 3.16 and below 6.4 is affected.
Exploit Probability
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.