Skip to content
Fencer Vulns
high 7.8

CVE-2023-5197 json

Use-after-free in Linux kernel's netfilter: nf_tables component

published 2023-09-26 3 y ago modified 2026-11-02 6 d ago also EUVD-2023-57528

cvss
7.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 30%
public exploits
0
none known

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 use-after-free.

We recommend upgrading past commit f15f29fd4779be8a418b66e9d52979bb6d6c2325.

Patch / fix

  • Linux Kernel 6.6
  • Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem V1.1
  • linux Debian 12 6.1.64-1
  • linux Debian 14, Debian 13 6.5.6-1

debian advisories DEBIAN-CVE-2023-5197

  • linux Ubuntu 22.04 LTS 5.15.0-87.97
  • linux-aws Ubuntu 22.04 LTS 5.15.0-1048.53
  • linux-gcp Ubuntu 22.04 LTS 5.15.0-1045.53
  • linux-gke Ubuntu 22.04 LTS 5.15.0-1045.50
  • linux-ibm Ubuntu 22.04 LTS 5.15.0-1041.44
  • linux-kvm Ubuntu 22.04 LTS 5.15.0-1045.50
  • linux-azure Ubuntu 22.04 LTS 5.15.0-1050.57
  • linux-gkeop Ubuntu 22.04 LTS 5.15.0-1031.37

ubuntu advisories UBUNTU-CVE-2023-5197

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • kernel-rt SLE Micro 5.4, SLE Micro 5.3, openSUSE Leap Micro 5.4 +1 more 5.14.21-150400.15.71.1
  • kernel-source-rt SLE Micro 5.4, SLE Micro 5.3 5.14.21-150400.15.71.1
  • kernel-rt SLE Micro 5.5, Real Time Module 15 SP5, openSUSE Leap 15.5 5.14.21-150500.13.38.1
  • kernel-syms-rt Real Time Module 15 SP5, openSUSE Leap 15.5 5.14.21-150500.13.38.1
  • kernel-rt_debug Real Time Module 15 SP5, openSUSE Leap 15.5 5.14.21-150500.13.38.1
  • kernel-source-rt SLE Micro 5.5, Real Time Module 15 SP5, openSUSE Leap 15.5 5.14.21-150500.13.38.1
  • kernel-syms SLE High Performance Computing 15 SP4-ESPOS, Manager Server 4.3, Manager Proxy 4.3 +3 more 5.14.21-150400.24.111.1
  • kernel-source SLE High Performance Computing 15 SP4-ESPOS, Manager Server 4.3, Manager Proxy 4.3 +3 more 5.14.21-150400.24.111.1

suse advisories SUSE-SU-2024:0977-1SUSE-SU-2024:0910-1SUSE-SU-2024:0900-2SUSE-SU-2024:0900-1SUSE-SU-2024:0858-1SUSE-SU-2024:0855-1

  • kernel CBL-Mariner 2.0 5.15.135.1-2

azure linux advisories AZL-30057

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-5197 updated cvss 6.6

kernel: netfilter: nf_tables: use-after-free due to addition and removal of rules from chain bindings within the same transaction

  • Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +82 more
    affected: workaround, no fix available
  • Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-23-166-11 updated cvss 7.8

Siemens SIMATIC S7-1500 TM MFP Linux Kernel

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
17 mo ago

Exploit prediction

0.37% chance of exploitation in the next 30 days, higher than 30% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 6.6 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H

Affected products

  • Linux Kernel
  • Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem

Classification

Weakness
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.