Skip to main content
Mallory
HighVulnerability

CVE-2023-6817: Linux kernel nft_pipapo_walk use-after-free privilege escalation

Published Dec 18, 2023 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.8High · v3.1
EPSS0.32%18th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Linux
IdentifiersCVE-2023-6817CWE-416 · Use After Free

CVE-2023-6817 is a use-after-free vulnerability in the Linux kernel Netfilter nf_tables subsystem. The nft_pipapo_walk function fails to skip inactive elements while walking PIPAPO (Pile Packet Policies) sets. This can cause elements to be deactivated twice, resulting in use-after-free. A local attacker with the required CAP_NET_ADMIN capability can exploit the flaw to cause a crash, disclose information, or escalate privileges.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can compromise system confidentiality, integrity, and availability through local privilege escalation, information disclosure, or a crash resulting in denial of service. Red Hat rates the vulnerability Important, with a CVSS v3.1 score of 7.8 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H). OpenShift impact is assessed as Low because its container namespace model prevents running containers from acquiring the capabilities required for exploitation.

Mitigation

If you can’t patch tonight, do this now.

For non-containerized RHEL 8 deployments, set user.max_user_namespaces to 0 to prevent unprivileged users from obtaining the necessary capability through newly created user namespaces. This does not address attackers who already hold CAP_NET_ADMIN. Do not disable user namespaces on containerized deployments such as OpenShift, where they are required functionality.

Remediation

Patch, then assume compromise.

Install a vendor-supported kernel update incorporating upstream commit 317eb9685095678f2c9f5a8189de698c5354316a, which corrects inactive-element handling in nft_pipapo_walk, and reboot into the updated kernel. Fixed releases include RHEL 8 kernel 4.18.0-513.18.1.el8_9 under RHSA-2024:0897, RHEL 9.2 kernel 5.14.0-284.55.1.el9_2 under RHSA-2024:1018, and RHEL 9.0 EUS kernel 5.14.0-70.101.1.el9_0 under RHSA-2024:3421. Use the applicable fixed kernel or kernel-rt package for the installed distribution and support stream.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
LinuxLinux Kerneloperating_system
FAQ

Frequently asked questions

Is CVE-2023-6817 exploited in the wild?
As of Oct 23, 2026, Mallory has no reports of CVE-2023-6817 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2023-6817?
As of Oct 23, 2026, Mallory has found no public exploit for CVE-2023-6817.
Is there a patch for CVE-2023-6817?
Install a vendor-supported kernel update incorporating upstream commit 317eb9685095678f2c9f5a8189de698c5354316a, which corrects inactive-element handling in nft_pipapo_walk, and reboot into the updated kernel. Fixed releases include RHEL 8 kernel 4.18.0-513.18.1.el8_9 under RHSA-2024:0897, RHEL 9.2 kernel 5.14.0-284.55.1.el9_2 under RHSA-2024:1018, and RHEL 9.0 EUS kernel 5.14.0-70.101.1.el9_0 under RHSA-2024:3421.
What products are affected by CVE-2023-6817?
Linux Kernel.
How severe is CVE-2023-6817?
CVE-2023-6817 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.32% (18th percentile) as of Oct 23, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.