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
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 moreaffected: 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 morenot 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
-
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem <V1.1affected: fixed in V1.1, workaround support.industry.siemens.com
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
-
- CWE-416 Use After Free
- Technology feeds
References
-
git.kernel.org
/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f15f29fd4779be8a418b66e9d52979bb6d6c2325
patch
-
kernel.dance
/f15f29fd4779be8a418b66e9d52979bb6d6c2325
patch, vendor-advisory
-
packetstormsecurity.com
/files/175963/Kernel-Live-Patch-Security-Notice-LSN-0099-1.html
third-party-advisory
-
lists.debian.org
/debian-lts-announce/2024/01/msg00005.html
mailing-list, third-party-advisory
- cert-portal.siemens.com /productcert/html/ssa-794697.html
Sources
- CVE List CVE-2023-5197
- NVD CVE-2023-5197
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.