---
id: CVE-2023-6817
title: >-
  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 dou…
summary: >-
  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 dou…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-416
  - CWE-416
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 5.6, < 5.10.204'
  - 'linux_kernel >= 5.11, < 5.15.143'
  - 'linux_kernel >= 5.16, < 6.1.68'
  - 'linux_kernel >= 6.2, < 6.6.7'
  - linux_kernel = 6.7
patched:
  - linux_kernel 6.6.7
published: '2023-12-18'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T23:17:20.033'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2023-6817'
references:
  - url: >-
      http://packetstormsecurity.com/files/177029/Kernel-Live-Patch-Security-Notice-LSN-0100-1.html
    label: cve-coordination@google.com
  - url: 'http://www.openwall.com/lists/oss-security/2023/12/22/13'
    label: cve-coordination@google.com
  - url: 'http://www.openwall.com/lists/oss-security/2023/12/22/6'
    label: cve-coordination@google.com
  - url: >-
      https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=317eb9685095678f2c9f5a8189de698c5354316a
    label: cve-coordination@google.com
  - url: 'https://kernel.dance/317eb9685095678f2c9f5a8189de698c5354316a'
    label: cve-coordination@google.com
  - url: 'https://lists.debian.org/debian-lts-announce/2024/01/msg00005.html'
    label: cve-coordination@google.com
  - url: >-
      http://packetstormsecurity.com/files/177029/Kernel-Live-Patch-Security-Notice-LSN-0100-1.html
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.openwall.com/lists/oss-security/2023/12/22/13'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://www.openwall.com/lists/oss-security/2023/12/22/6'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=317eb9685095678f2c9f5a8189de698c5354316a
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://kernel.dance/317eb9685095678f2c9f5a8189de698c5354316a'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2024/01/msg00005.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-265688.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-398330.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
epss: 0.00334
epssPercentile: 0.25062
ingestedAt: '2026-10-15T00:02:07.134Z'
---

## Overview

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.

## Affected

- `linux_kernel >= 5.6, < 5.10.204`
- `linux_kernel >= 5.11, < 5.15.143`
- `linux_kernel >= 5.16, < 6.1.68`
- `linux_kernel >= 6.2, < 6.6.7`
- `linux_kernel = 6.7`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.6.7`
