CVE-2023-4147 json
Kernel: netfilter: nf_tables_newrule when adding a rule with nfta_rule_chain_id leads to use-after-free
published 2023-08-07 3 y ago modified 2026-11-07 41 h ago also EUVD-2023-54027
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 46%
- public exploits
- 0
- none known
Summary
A use-after-free flaw was found in the Linux kernel’s Netfilter functionality when adding a rule with NFTA_RULE_CHAIN_ID. This flaw allows a local user to crash or escalate their privileges on the system.
Patch / fix
- Red Hat Red Hat Enterprise Linux 9 0:5.14.0-284.30.1.el9_2, 0:5.14.0-284.30.1.rt14.315.el9_2
- Red Hat Red Hat Enterprise Linux 9.0 Extended Update Support 0:5.14.0-70.80.1.el9_0, 0:5.14.0-70.80.1.rt21.151.el9_0
- linux Debian 12 6.1.52-1
- linux Debian 14, Debian 13 6.4.11-1
debian advisories DEBIAN-CVE-2023-4147
- linux Ubuntu 22.04 LTS 5.15.0-82.91
- linux-aws Ubuntu 22.04 LTS 5.15.0-1043.48
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1040.48
- linux-gke Ubuntu 22.04 LTS 5.15.0-1040.45
- linux-ibm Ubuntu 22.04 LTS 5.15.0-1036.39
- linux-kvm Ubuntu 22.04 LTS 5.15.0-1040.45
- linux-azure Ubuntu 22.04 LTS 5.15.0-1045.52
- linux-gkeop Ubuntu 22.04 LTS 5.15.0-1026.31
ubuntu advisories UBUNTU-CVE-2023-4147
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
- kpatch-patch-5_14_0-284_11_1 RHEL 9 1-5.el9_2
- kpatch-patch-5_14_0-284_18_1 RHEL 9 1-4.el9_2
- kpatch-patch-5_14_0-284_25_1 RHEL 9 1-3.el9_2
- kernel RHEL 9 5.14.0-284.30.1.el9_2
- perf RHEL 9 5.14.0-284.30.1.el9_2
- rtla RHEL 9 5.14.0-284.30.1.el9_2
- bpftool RHEL 9 7.0.0-284.30.1.el9_2
- kernel-64k RHEL 9 5.14.0-284.30.1.el9_2
red hat advisories RHSA-2023:7411RHSA-2023:7382RHSA-2023:7389RHSA-2023:5093RHSA-2023:5069RHSA-2023:5091
- kernel-rt SLE Micro 5.5, Real Time Module 15 SP5, openSUSE Leap 15.5 5.14.21-150500.13.18.1
- kernel-syms-rt Real Time Module 15 SP5, openSUSE Leap 15.5 5.14.21-150500.13.18.1
- kernel-rt_debug Real Time Module 15 SP5, openSUSE Leap 15.5 5.14.21-150500.13.18.1
- kernel-source-rt Real Time Module 15 SP5, openSUSE Leap 15.5 5.14.21-150500.13.18.1
- dtb-aarch64 openSUSE Leap 15.5 5.14.21-150500.55.28.1
- kernel-64kb SLE Module for Basesystem 15 SP5, openSUSE Leap 15.5 5.14.21-150500.55.28.1
- kernel-syms SLE Module for Development Tools 15 SP5, openSUSE Leap 15.5 5.14.21-150500.55.28.1
- kernel-obs-qa openSUSE Leap 15.5 5.14.21-150500.55.28.1
suse advisories SUSE-SU-2023:4326-1SUSE-SU-2023:4325-1SUSE-SU-2023:4322-1SUSE-SU-2023:4308-1SUSE-SU-2023:4301-1SUSE-SU-2023:4285-1
- kernel AlmaLinux 9 5.14.0-284.30.1.el9_2
- perf AlmaLinux 9 5.14.0-284.30.1.el9_2
- rtla AlmaLinux 9 5.14.0-284.30.1.el9_2
- bpftool AlmaLinux 9 7.0.0-284.30.1.el9_2
- kernel-64k AlmaLinux 9 5.14.0-284.30.1.el9_2
- kernel-core AlmaLinux 9 5.14.0-284.30.1.el9_2
- kernel-tools AlmaLinux 9 5.14.0-284.30.1.el9_2
- python3-perf AlmaLinux 9 5.14.0-284.30.1.el9_2
almalinux advisories ALSA-2023:5069ALSA-2023:5091
- kernel-rt Rocky Linux 9 5.14.0-284.30.1.rt14.315.el9_2
rocky linux advisories RLSA-2023:5091
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-4147 updated cvss 7.8
kernel: netfilter: nf_tables_newrule when adding a rule with NFTA_RULE_CHAIN_ID leads to use-after-free
-
Red Hat CodeReady Linux Builder EUS (v.9.0) kernel-debuginfo-common-s390x 5.14.0-70.80.1.el9_0, kernel-debuginfo-common-x86_64 5.14.0-70.80.1.el9_0, kernel-debuginfo-common-aarch64 5.14.0-70.80.1.el9_0, kernel-debuginfo-common-ppc64le 5.14.0-70.80.1.el9_0fixed: vendor fix RHSA-2023:7382
-
Red Hat Enterprise Linux AppStream (v. 9) perf 5.14.0-284.30.1.el9_2, rtla 5.14.0-284.30.1.el9_2, kernel-devel-matched 5.14.0-284.30.1.el9_2, kernel-64k-devel-matched 5.14.0-284.30.1.el9_2, kernel-debug-devel-matched 5.14.0-284.30.1.el9_2, kernel-debuginfo-common-s390x 5.14.0-284.30.1.el9_2, +5 morefixed: vendor fix RHSA-2023:5069
-
Red Hat Enterprise Linux AppStream EUS (v.9.0) perf 5.14.0-70.80.1.el9_0, kernel-devel-matched 5.14.0-70.80.1.el9_0, kernel-debug-devel-matched 5.14.0-70.80.1.el9_0, kernel-debuginfo-common-s390x 5.14.0-70.80.1.el9_0, kernel-zfcpdump-devel-matched 5.14.0-70.80.1.el9_0, kernel-debuginfo-common-x86_64 5.14.0-70.80.1.el9_0, +2 morefixed: vendor fix RHSA-2023:7382
-
Red Hat Enterprise Linux BaseOS (v. 9) bpftool 7.0.0-284.30.1.el9_2, kernel 5.14.0-284.30.1.el9_2, kernel-64k 5.14.0-284.30.1.el9_2, kernel-core 5.14.0-284.30.1.el9_2, kernel-tools 5.14.0-284.30.1.el9_2, python3-perf 5.14.0-284.30.1.el9_2, +31 morefixed: vendor fix RHSA-2023:5069
-
Red Hat Enterprise Linux BaseOS EUS (v.9.0) kernel 5.14.0-70.80.1.el9_0, bpftool 5.14.0-70.80.1.el9_0, kernel-core 5.14.0-70.80.1.el9_0, kernel-tools 5.14.0-70.80.1.el9_0, python3-perf 5.14.0-70.80.1.el9_0, kernel-modules 5.14.0-70.80.1.el9_0, +19 morefixed: vendor fix RHSA-2023:7382
-
Red Hat Enterprise Linux CRB (v. 9) kernel-debuginfo-common-s390x 5.14.0-284.30.1.el9_2, kernel-debuginfo-common-x86_64 5.14.0-284.30.1.el9_2, kernel-debuginfo-common-aarch64 5.14.0-284.30.1.el9_2, kernel-debuginfo-common-ppc64le 5.14.0-284.30.1.el9_2fixed: vendor fix RHSA-2023:5069
-
Red Hat Enterprise Linux NFV (v. 9) kernel-rt 5.14.0-284.30.1.rt14.315.el9_2, kernel-rt-kvm 5.14.0-284.30.1.rt14.315.el9_2, kernel-rt-core 5.14.0-284.30.1.rt14.315.el9_2, kernel-rt-modules 5.14.0-284.30.1.rt14.315.el9_2, kernel-rt-debug-kvm 5.14.0-284.30.1.rt14.315.el9_2, kernel-rt-debug-core 5.14.0-284.30.1.rt14.315.el9_2, +6 morefixed: vendor fix RHSA-2023:5091
-
Red Hat Enterprise Linux Real Time EUS (v.9.0) kernel-rt 5.14.0-70.80.1.rt21.151.el9_0, kernel-rt-core 5.14.0-70.80.1.rt21.151.el9_0, kernel-rt-modules 5.14.0-70.80.1.rt21.151.el9_0, kernel-rt-debug-core 5.14.0-70.80.1.rt21.151.el9_0, kernel-rt-debug-modules 5.14.0-70.80.1.rt21.151.el9_0, kernel-rt-modules-extra 5.14.0-70.80.1.rt21.151.el9_0, +2 more Red Hat Enterprise Linux Real Time for NFV EUS (v.9.0) kernel-rt 5.14.0-70.80.1.rt21.151.el9_0, kernel-rt-kvm 5.14.0-70.80.1.rt21.151.el9_0, kernel-rt-core 5.14.0-70.80.1.rt21.151.el9_0, kernel-rt-modules 5.14.0-70.80.1.rt21.151.el9_0, kernel-rt-debug-kvm 5.14.0-70.80.1.rt21.151.el9_0, kernel-rt-debug-core 5.14.0-70.80.1.rt21.151.el9_0, +4 morefixed: vendor fix RHSA-2023:7389
show 2 moreshow fewer
-
Red Hat Enterprise Linux RT (v. 9) kernel-rt 5.14.0-284.30.1.rt14.315.el9_2, kernel-rt-core 5.14.0-284.30.1.rt14.315.el9_2, kernel-rt-modules 5.14.0-284.30.1.rt14.315.el9_2, kernel-rt-debug-core 5.14.0-284.30.1.rt14.315.el9_2, kernel-rt-modules-core 5.14.0-284.30.1.rt14.315.el9_2, kernel-rt-debug-modules 5.14.0-284.30.1.rt14.315.el9_2, +4 morefixed: vendor fix RHSA-2023:5091
-
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 Red Hat Enterprise Linux AppStream (v. 9) kernel-doc 5.14.0-284.30.1.el9_2not 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-10 updated cvss 7.8
Siemens SIMATIC S7-1500 TM MFP BIOS
-
Siemens SIMATIC S7-1500 TM MFP - BIOS <V1.3.0affected: fixed in V1.3.0, 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
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 21 mo ago
Exploit prediction
0.55% chance of exploitation in the next 30 days, higher than 46% 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 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Red Hat Red Hat Enterprise Linux 9
- Red Hat Red Hat Enterprise Linux 9.0 Extended Update Support
- Red Hat Red Hat Enterprise Linux 6
- Red Hat Red Hat Enterprise Linux 7
- Red Hat Red Hat Enterprise Linux 8
Classification
- Weakness
-
- CWE-416 Use After Free
- Technology feeds
References
-
git.kernel.org
/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0ebc1064e4874d5987722a2ddbc18f94aa53b211
mailing-list, patch
-
access.redhat.com
/security/cve/CVE-2023-4147
vdb-entry, patch, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=2225239
issue-tracking, patch, third-party-advisory
-
spinics.net
/lists/stable/msg671573.html
mailing-list, patch
-
access.redhat.com
/errata/RHSA-2023:5069
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2023:5091
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2023:5093
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2023:7382
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2023:7389
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2023:7411
vendor-advisory, third-party-advisory
- lists.debian.org /debian-lts-announce/2023/10/msg00027.html
- security.netapp.com /advisory/ntap-20231020-0006/
- debian.org /security/2023/dsa-5480
- debian.org /security/2023/dsa-5492
Sources
- CVE List CVE-2023-4147
- NVD CVE-2023-4147
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.