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


  Addition and removal of rules from chain bindings within the same transaction
  causes leads to us…
summary: >-
  A use-after-free vulnerability in the Linux kernel's netfilter: nf_tables
  component can be exploited to achieve local privilege escalation.


  Addition and removal of rules from chain bindings within the same transaction
  causes leads to us…
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
vendor: debian
product: debian_linux
affected:
  - debian_linux = 10.0
  - 'linux_kernel >= 5.9.0, < 5.10.198'
  - 'linux_kernel >= 5.11, < 5.15.134'
  - 'linux_kernel >= 5.16, < 6.1.56'
  - 'linux_kernel >= 6.2, < 6.5.6'
patched:
  - linux_kernel 6.5.6
published: '2023-09-27'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T22:17:19.547'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2023-5197'
references:
  - url: >-
      http://packetstormsecurity.com/files/175963/Kernel-Live-Patch-Security-Notice-LSN-0099-1.html
    label: cve-coordination@google.com
  - url: >-
      https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f15f29fd4779be8a418b66e9d52979bb6d6c2325
    label: cve-coordination@google.com
  - url: 'https://kernel.dance/f15f29fd4779be8a418b66e9d52979bb6d6c2325'
    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/175963/Kernel-Live-Patch-Security-Notice-LSN-0099-1.html
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f15f29fd4779be8a418b66e9d52979bb6d6c2325
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://kernel.dance/f15f29fd4779be8a418b66e9d52979bb6d6c2325'
    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-794697.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00369
epssPercentile: 0.29118
ingestedAt: '2026-10-14T23:00:02.005Z'
---

## Overview

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

Addition and removal of rules from chain bindings within the same transaction causes leads to use-after-free.

We recommend upgrading past commit f15f29fd4779be8a418b66e9d52979bb6d6c2325.

## Affected

- `debian_linux = 10.0`
- `linux_kernel >= 5.9.0, < 5.10.198`
- `linux_kernel >= 5.11, < 5.15.134`
- `linux_kernel >= 5.16, < 6.1.56`
- `linux_kernel >= 6.2, < 6.5.6`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.5.6`
