# CVE-2023-6817: Use-after-free in Linux kernel's netfilter: nf_tables component

- Severity: High 7.8 (CVSS:3.1, scored by Google) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Published: 2023-12-18T14:37:05.986Z
- Modified: 2026-10-14T23:17:20.033Z
- Weaknesses: CWE-416
- Assigned by: Google

## Description

A use-after-free vulnerability in the Linux kernel's netfilter: nf_tables component can be exploited to achieve local privilege escalation.

The function nft_pipapo_walk did not skip inactive elements during set walk which could lead double deactivations of PIPAPO (Pile Packet Policies) elements, leading to use-after-free.

We recommend upgrading past commit 317eb9685095678f2c9f5a8189de698c5354316a.

(As written by CVE List.)

## Affected

- kernel: from 5.6 before 6.7
- linux linux_kernel: from 5.6 before 5.10.204; from 5.11 before 5.15.143; from 5.16 before 6.1.68; from 6.2 before 6.6.7; 6.7

## Every score

- Google: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=317eb9685095678f2c9f5a8189de698c5354316a> (mailing-list, patch)
- <https://kernel.dance/317eb9685095678f2c9f5a8189de698c5354316a> (patch)
- <http://www.openwall.com/lists/oss-security/2023/12/22/6>
- <http://www.openwall.com/lists/oss-security/2023/12/22/13>
- <https://lists.debian.org/debian-lts-announce/2024/01/msg00005.html>
- <http://packetstormsecurity.com/files/177029/Kernel-Live-Patch-Security-Notice-LSN-0100-1.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Sources

- CVE List: [CVE-2023-6817](https://www.cve.org/CVERecord?id=CVE-2023-6817), CVE Terms of Use, modified 2026-10-14
- NVD: [CVE-2023-6817](https://nvd.nist.gov/vuln/detail/CVE-2023-6817), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2023-6817 · Whole record: https://cve.day/CVE-2023-6817.json · Rebuilt by cve.day 2026-11-25T22:58:31.482Z
