CVE-2023-6817: Linux kernel nft_pipapo_walk use-after-free privilege escalation
- Vendor
- Linux
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.
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.
Exploits
No public exploits tracked yet. Mallory keeps watching.
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.
References
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.
Recent activity
22 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.