CVE-2023-4147
Kernel: netfilter: nf_tables_newrule when adding a rule with nfta_rule_chain_id leads to use-after-free
02 Description
Kernel: netfilter: nf_tables_newrule when adding a rule with nfta_rule_chain_id leads to use-after-free
03 Exploitation and scoring
- Exploitation
- Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
- SSVC decision
- ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 0.55% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 46.3% of scored records. A rank, not a probability.
- NVD base score
- 7.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Important. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2023-08-07 13:19Z3 YR AGO
- Last updated
- 2026-02-25 17:20Z8 MO AGO
- Reserved
- 2023-08-03
- Assigning CNA
- redhat
- Record state
- PUBLISHED
- Severity
- High (CVSS 7.8)
- CNA CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-416Use After FreeVariant
- Data version
- 5.2
- Document digest
- 514d629cf50407aa6a864b3cb052fd00fbf2298393e5c61b511a3c0fdf330871
05 Affected products
06 References
- access.redhat.comRHSA-2023:5069https://access.redhat.com/errata/RHSA-2023:5069
- access.redhat.comRHSA-2023:5091https://access.redhat.com/errata/RHSA-2023:5091
- access.redhat.comRHSA-2023:5093https://access.redhat.com/errata/RHSA-2023:5093
- access.redhat.comRHSA-2023:7382https://access.redhat.com/errata/RHSA-2023:7382
- access.redhat.comRHSA-2023:7389https://access.redhat.com/errata/RHSA-2023:7389
- access.redhat.comRHSA-2023:7411https://access.redhat.com/errata/RHSA-2023:7411
- access.redhat.comhttps://access.redhat.com/security/cve/CVE-2023-4147
- bugzilla.redhat.comRHBZ#2225239https://bugzilla.redhat.com/show_bug.cgi?id=2225239
- git.kernel.orghttps://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0ebc1064e4874d5987722a2ddbc18f94aa53b211
- www.spinics.nethttps://www.spinics.net/lists/stable/msg671573.html
- lists.debian.orghttps://lists.debian.org/debian-lts-announce/2023/10/msg00027.html
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20231020-0006/
- www.debian.orghttps://www.debian.org/security/2023/dsa-5480
- www.debian.orghttps://www.debian.org/security/2023/dsa-5492
07 Fixed in
AlmaLinux 9
- bpftool Fixed in 7.0.0-284.30.1.el9_2
- kernel Fixed in 5.14.0-284.30.1.el9_2
- kernel-64k Fixed in 5.14.0-284.30.1.el9_2
- kernel-64k-core Fixed in 5.14.0-284.30.1.el9_2
- kernel-64k-debug Fixed in 5.14.0-284.30.1.el9_2
- kernel-64k-debug-core Fixed in 5.14.0-284.30.1.el9_2
- kernel-64k-debug-devel Fixed in 5.14.0-284.30.1.el9_2
- kernel-64k-debug-devel-matched Fixed in 5.14.0-284.30.1.el9_2
- kernel-64k-debug-modules Fixed in 5.14.0-284.30.1.el9_2
- kernel-64k-debug-modules-core Fixed in 5.14.0-284.30.1.el9_2
- kernel-64k-debug-modules-extra Fixed in 5.14.0-284.30.1.el9_2
- kernel-64k-devel Fixed in 5.14.0-284.30.1.el9_2
- kernel-64k-devel-matched Fixed in 5.14.0-284.30.1.el9_2
- kernel-64k-modules Fixed in 5.14.0-284.30.1.el9_2
- kernel-64k-modules-core Fixed in 5.14.0-284.30.1.el9_2
- kernel-64k-modules-extra Fixed in 5.14.0-284.30.1.el9_2
- kernel-abi-stablelists Fixed in 5.14.0-284.30.1.el9_2
- kernel-core Fixed in 5.14.0-284.30.1.el9_2
- kernel-debug Fixed in 5.14.0-284.30.1.el9_2
- kernel-debug-core Fixed in 5.14.0-284.30.1.el9_2
- kernel-debug-devel Fixed in 5.14.0-284.30.1.el9_2
- kernel-debug-devel-matched Fixed in 5.14.0-284.30.1.el9_2
- kernel-debug-modules Fixed in 5.14.0-284.30.1.el9_2
- kernel-debug-modules-core Fixed in 5.14.0-284.30.1.el9_2
- kernel-debug-modules-extra Fixed in 5.14.0-284.30.1.el9_2
- kernel-debug-uki-virt Fixed in 5.14.0-284.30.1.el9_2
- kernel-devel Fixed in 5.14.0-284.30.1.el9_2
- kernel-devel-matched Fixed in 5.14.0-284.30.1.el9_2
- kernel-modules Fixed in 5.14.0-284.30.1.el9_2
- kernel-modules-core Fixed in 5.14.0-284.30.1.el9_2
- kernel-modules-extra Fixed in 5.14.0-284.30.1.el9_2
- kernel-rt Fixed in 5.14.0-284.30.1.rt14.315.el9_2
- kernel-rt-core Fixed in 5.14.0-284.30.1.rt14.315.el9_2
- kernel-rt-debug Fixed in 5.14.0-284.30.1.rt14.315.el9_2
- kernel-rt-debug-core Fixed in 5.14.0-284.30.1.rt14.315.el9_2
- kernel-rt-debug-devel Fixed in 5.14.0-284.30.1.rt14.315.el9_2
- kernel-rt-debug-kvm Fixed in 5.14.0-284.30.1.rt14.315.el9_2
- kernel-rt-debug-modules Fixed in 5.14.0-284.30.1.rt14.315.el9_2
- kernel-rt-debug-modules-core Fixed in 5.14.0-284.30.1.rt14.315.el9_2
- kernel-rt-debug-modules-extra Fixed in 5.14.0-284.30.1.rt14.315.el9_2
19 further packages in AlmaLinux 9 not shown (first 40 listed).
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 9
- bpftool Fixed in 7.0.0-284.30.1.el9_2
- kernel Fixed in 5.14.0-284.30.1.el9_2
- kernel-64k Fixed in 5.14.0-284.30.1.el9_2
- kernel-64k-core Fixed in 5.14.0-284.30.1.el9_2
- kernel-64k-debug Fixed in 5.14.0-284.30.1.el9_2
- kernel-64k-debug-core Fixed in 5.14.0-284.30.1.el9_2
- kernel-64k-debug-devel Fixed in 5.14.0-284.30.1.el9_2
- kernel-64k-debug-devel-matched Fixed in 5.14.0-284.30.1.el9_2
- kernel-64k-debug-modules Fixed in 5.14.0-284.30.1.el9_2
- kernel-64k-debug-modules-core Fixed in 5.14.0-284.30.1.el9_2
- kernel-64k-debug-modules-extra Fixed in 5.14.0-284.30.1.el9_2
- kernel-64k-devel Fixed in 5.14.0-284.30.1.el9_2
- kernel-64k-devel-matched Fixed in 5.14.0-284.30.1.el9_2
- kernel-64k-modules Fixed in 5.14.0-284.30.1.el9_2
- kernel-64k-modules-core Fixed in 5.14.0-284.30.1.el9_2
- kernel-64k-modules-extra Fixed in 5.14.0-284.30.1.el9_2
- kernel-abi-stablelists Fixed in 5.14.0-284.30.1.el9_2
- kernel-core Fixed in 5.14.0-284.30.1.el9_2
- kernel-debug Fixed in 5.14.0-284.30.1.el9_2
- kernel-debug-core Fixed in 5.14.0-284.30.1.el9_2
- kernel-debug-devel Fixed in 5.14.0-284.30.1.el9_2
- kernel-debug-devel-matched Fixed in 5.14.0-284.30.1.el9_2
- kernel-debug-modules Fixed in 5.14.0-284.30.1.el9_2
- kernel-debug-modules-core Fixed in 5.14.0-284.30.1.el9_2
- kernel-debug-modules-extra Fixed in 5.14.0-284.30.1.el9_2
- kernel-debug-uki-virt Fixed in 5.14.0-284.30.1.el9_2
- kernel-devel Fixed in 5.14.0-284.30.1.el9_2
- kernel-devel-matched Fixed in 5.14.0-284.30.1.el9_2
- kernel-modules Fixed in 5.14.0-284.30.1.el9_2
- kernel-modules-core Fixed in 5.14.0-284.30.1.el9_2
- kernel-modules-extra Fixed in 5.14.0-284.30.1.el9_2
- kernel-rt Fixed in 5.14.0-284.30.1.rt14.315.el9_2
- kernel-rt-core Fixed in 5.14.0-284.30.1.rt14.315.el9_2
- kernel-rt-debug Fixed in 5.14.0-284.30.1.rt14.315.el9_2
- kernel-rt-debug-core Fixed in 5.14.0-284.30.1.rt14.315.el9_2
- kernel-rt-debug-devel Fixed in 5.14.0-284.30.1.rt14.315.el9_2
- kernel-rt-debug-kvm Fixed in 5.14.0-284.30.1.rt14.315.el9_2
- kernel-rt-debug-modules Fixed in 5.14.0-284.30.1.rt14.315.el9_2
- kernel-rt-debug-modules-core Fixed in 5.14.0-284.30.1.rt14.315.el9_2
- kernel-rt-debug-modules-extra Fixed in 5.14.0-284.30.1.rt14.315.el9_2
19 further packages in CloudLinux 9 not shown (first 40 listed).
Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- linux Fixed in 6.1.52-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- linux Fixed in 6.4.11-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- linux Fixed in 6.4.11-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- linux-hwe-edge No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- linux-aws-5.0 No fix yet
- linux-aws-5.3 No fix yet
- linux-azure No fix yet
- linux-azure-5.3 No fix yet
- linux-azure-edge No fix yet
- linux-gcp No fix yet
- linux-gcp-5.3 No fix yet
- linux-gke-4.15 No fix yet
- linux-gke-5.4 No fix yet
- linux-gkeop-5.4 No fix yet
- linux-hwe No fix yet
- linux-oem No fix yet
- linux-oracle-5.0 No fix yet
- linux-oracle-5.3 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- linux-aws-5.11 No fix yet
- linux-aws-5.13 No fix yet
- linux-aws-5.15 Fixed in 5.15.0-1043.48~20.04.1
- linux-aws-5.8 No fix yet
- linux-azure-5.11 No fix yet
- linux-azure-5.13 No fix yet
- linux-azure-5.15 Fixed in 5.15.0-1045.52~20.04.1
- linux-azure-5.8 No fix yet
- linux-gcp-5.11 No fix yet
- linux-gcp-5.13 No fix yet
- linux-gcp-5.15 Fixed in 5.15.0-1040.48~20.04.1
- linux-gcp-5.8 No fix yet
- linux-gke No fix yet
- linux-gke-5.15 No fix yet
- linux-gkeop-5.15 Fixed in 5.15.0-1026.31~20.04.1
- linux-hwe-5.11 No fix yet
- linux-hwe-5.13 No fix yet
- linux-hwe-5.15 Fixed in 5.15.0-82.91~20.04.1
- linux-hwe-5.8 No fix yet
- linux-ibm-5.15 Fixed in 5.15.0-1036.39~20.04.1
- linux-intel-5.13 No fix yet
- linux-intel-iotg-5.15 Fixed in 5.15.0-1038.43~20.04.1
- linux-lowlatency-hwe-5.15 Fixed in 5.15.0-82.91~20.04.1
- linux-nvidia-tegra-5.15 Fixed in 5.15.0-1017.17~20.04.1
- linux-oem-5.10 No fix yet
- linux-oem-5.13 No fix yet
- linux-oem-5.14 No fix yet
- linux-oem-5.6 No fix yet
- linux-oracle-5.11 No fix yet
- linux-oracle-5.13 No fix yet
- linux-oracle-5.15 Fixed in 5.15.0-1041.47~20.04.1
- linux-oracle-5.8 No fix yet
- linux-raspi2 No fix yet
- linux-riscv No fix yet
- linux-riscv-5.11 No fix yet
- linux-riscv-5.15 Fixed in 5.15.0-1039.43~20.04.2
- linux-riscv-5.8 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- linux Fixed in 5.15.0-82.91
- linux-allwinner-5.19 No fix yet
- linux-aws Fixed in 5.15.0-1043.48
- linux-aws-5.19 No fix yet
- linux-aws-6.2 Fixed in 6.2.0-1010.10~22.04.1
- linux-azure Fixed in 5.15.0-1045.52
- linux-azure-5.19 No fix yet
- linux-azure-6.2 Fixed in 6.2.0-1011.11~22.04.1
- linux-azure-fde Fixed in 5.15.0-1045.52.1
- linux-azure-fde-5.19 No fix yet
- linux-gcp Fixed in 5.15.0-1040.48
- linux-gcp-5.19 No fix yet
- linux-gcp-6.2 Fixed in 6.2.0-1012.12~22.04.1
- linux-gke Fixed in 5.15.0-1040.45
- linux-gkeop Fixed in 5.15.0-1026.31
- linux-hwe-5.19 No fix yet
- linux-hwe-6.2 Fixed in 6.2.0-31.31~22.04.1
- linux-ibm Fixed in 5.15.0-1036.39
- linux-intel-iotg Fixed in 5.15.0-1038.43
- linux-kvm Fixed in 5.15.0-1040.45
- linux-lowlatency Fixed in 5.15.0-82.91
- linux-lowlatency-hwe-5.19 No fix yet
- linux-lowlatency-hwe-6.2 Fixed in 6.2.0-1011.11~22.04.1
- linux-nvidia Fixed in 5.15.0-1031.31
- linux-nvidia-6.2 No fix yet
- linux-nvidia-tegra Fixed in 5.15.0-1017.17
- linux-nvidia-tegra-igx Fixed in 5.15.0-1004.4
- linux-oem-5.17 No fix yet
- linux-oem-6.0 No fix yet
- linux-oem-6.1 Fixed in 6.1.0-1020.20
- linux-oracle Fixed in 5.15.0-1041.47
- linux-raspi Fixed in 5.15.0-1036.39
- linux-realtime No fix yet
- linux-riscv No fix yet
- linux-riscv-5.19 No fix yet
- linux-starfive-5.19 No fix yet
- linux-xilinx-zynqmp Fixed in 5.15.0-1025.29
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- linux-raspi-realtime No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Nvidia-BlueField 22.04 LTS
- linux-bluefield Fixed in 5.15.0-1022.24
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro FIPS-preview 22.04 LTS
- linux-fips No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro Realtime 22.04 LTS
- linux-intel-iot-realtime Fixed in 5.15.0-1037.39Available with Ubuntu Pro: https://ubuntu.com/pro
- linux-realtime Fixed in 5.15.0-1044.49Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.