Kernel: netfilter: nf_tables_newrule when adding a rule with nfta_rule_chain_id leads to use-after-free
Priority HIGH 69CWE-416Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-416 and the CVSS impact.
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.
Why it matters now
Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00553 46th percentileScored 2026-11-07
Fix Fixed Red Hat: 6 advisories
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 9 | — | 5.14.0-284.30.1.el9_2 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 9 | — | 5.14.0-284.30.1.rt14.315.el9_2 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 9 | — | 5.14.0-284.30.1.el9_2 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 9 | — | — | Not affected | CNA |
| Red Hat | Red Hat Enterprise Linux 9.0 Extended Update Support | — | 5.14.0-70.80.1.el9_0 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 9.0 Extended Update Support | — | 5.14.0-70.80.1.rt21.151.el9_0 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 9.0 Extended Update Support | — | — | Not affected | CNA |
| Red Hat | Red Hat Enterprise Linux 6 | — | — | Not affected | CNA |
| Red Hat | Red Hat Enterprise Linux 7 | — | — | Not affected | CNA |
| Red Hat | Red Hat Enterprise Linux 7 | — | — | Not affected | CNA |
| Red Hat | Red Hat Enterprise Linux 8 | — | — | Not affected | CNA |
| Red Hat | Red Hat Enterprise Linux 8 | — | — | Not affected | CNA |
- Red Hat Enterprise Linux 9 VendorRed Hat Affected — Fixed in 5.14.0-284.30.1.el9_2 Patch available CNA
- Red Hat Enterprise Linux 9 VendorRed Hat Affected — Fixed in 5.14.0-284.30.1.rt14.315.el9_2 Patch available CNA
- Red Hat Enterprise Linux 9 VendorRed Hat Affected — Fixed in 5.14.0-284.30.1.el9_2 Patch available CNA
- Red Hat Enterprise Linux 9 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Enterprise Linux 9.0 Extended Update Support VendorRed Hat Affected — Fixed in 5.14.0-70.80.1.el9_0 Patch available CNA
- Red Hat Enterprise Linux 9.0 Extended Update Support VendorRed Hat Affected — Fixed in 5.14.0-70.80.1.rt21.151.el9_0 Patch available CNA
- Red Hat Enterprise Linux 9.0 Extended Update Support VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Enterprise Linux 6 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Enterprise Linux 7 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Enterprise Linux 7 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Enterprise Linux 8 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Enterprise Linux 8 VendorRed Hat Affected — Fixed in — Not affected CNA
CPE configurations NVD · 13
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.9 to before 5.10.190; 5.11 to before 5.15.124; 5.16 to before 6.1.43; 6.2 to before 6.4.8 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.5:rc1:*:*:*:*:*:* | 6.5 rc1 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.5:rc2:*:*:*:*:*:* | 6.5 rc2 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.5:rc3:*:*:*:*:*:* | 6.5 rc3 | Vulnerable | Linux |
| cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* | 38 | Vulnerable | Fedoraproject |
| cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_eus:9.2:*:*:*:*:*:*:* | 9.2 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_for_real_time:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_for_real_time_for_nfv:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_aus:9.2:*:*:*:*:*:*:* | 9.2 | Vulnerable | Red Hat |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 5.9 to before 5.10.190; 5.11 to before 5.15.124; 5.16 to before 6.1.43; 6.2 to before 6.4.8 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.5:rc1:*:*:*:*:*:* Versions 6.5 rc1 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.5:rc2:*:*:*:*:*:* Versions 6.5 rc2 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.5:rc3:*:*:*:*:*:* Versions 6.5 rc3 Vulnerable ·Linux
- cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* Versions 38 Vulnerable ·Fedoraproject
- cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_eus:9.2:*:*:*:*:*:*:* Versions 9.2 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_for_real_time:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_for_real_time_for_nfv:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_aus:9.2:*:*:*:*:*:*:* Versions 9.2 Vulnerable ·Red Hat
Remediation
Red Hat 6 advisories
- RHSA-2023:7411 Released 2023-11-21 · Red Hat rating Importantkpatch-patch security update
- Red Hat Enterprise Linux BaseOS EUS (v.9.0) kpatch-patch-5_14_0-70_53_1-1-5.el9_0, kpatch-patch-5_14_0-70_58_1-1-4.el9_0, kpatch-patch-5_14_0-70_64_1-1-3.el9_0 +2
- RHSA-2023:7382 Released 2023-11-21 · Red Hat rating Importantkernel security and bug fix update
- Red Hat CodeReady Linux Builder EUS (v.9.0) kernel-tools-libs-devel-5.14.0-70.80.1.el9_0
- Red Hat Enterprise Linux AppStream EUS (v.9.0) kernel-debug-devel-5.14.0-70.80.1.el9_0, kernel-debug-devel-matched-5.14.0-70.80.1.el9_0, kernel-devel-5.14.0-70.80.1.el9_0 +5
- Red Hat Enterprise Linux BaseOS EUS (v.9.0) bpftool-5.14.0-70.80.1.el9_0, kernel-5.14.0-70.80.1.el9_0, kernel-abi-stablelists-5.14.0-70.80.1.el9_0 +14
- RHSA-2023:7389 Released 2023-11-21 · Red Hat rating Importantkernel-rt security update
- 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-debug-5.14.0-70.80.1.rt21.151.el9_0 +7
- 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-core-5.14.0-70.80.1.rt21.151.el9_0, kernel-rt-debug-5.14.0-70.80.1.rt21.151.el9_0 +9
Show 3 more Red Hat advisories
- RHSA-2023:5069 Released 2023-09-12 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 9) kernel-64k-debug-devel-5.14.0-284.30.1.el9_2, kernel-64k-debug-devel-matched-5.14.0-284.30.1.el9_2, kernel-64k-devel-5.14.0-284.30.1.el9_2 +10
- 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 +29
- Red Hat Enterprise Linux CRB (v. 9) kernel-tools-libs-devel-5.14.0-284.30.1.el9_2
- RHSA-2023:5093 Released 2023-09-12 · Red Hat rating Importantkpatch-patch security update
- Red Hat Enterprise Linux BaseOS (v. 9) kpatch-patch-5_14_0-284_11_1-1-5.el9_2, kpatch-patch-5_14_0-284_18_1-1-4.el9_2, kpatch-patch-5_14_0-284_25_1-1-3.el9_2
- RHSA-2023:5091 Released 2023-09-12 · Red Hat rating Importantkernel-rt security and bug fix update
- Red Hat Enterprise Linux NFV (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-debug-5.14.0-284.30.1.rt14.315.el9_2 +11
- 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-debug-5.14.0-284.30.1.rt14.315.el9_2 +9
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat CodeReady Linux Builder EUS (v.9.0) | Fixed | RHSA-2023:7382 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2023:5069 |
| Red Hat Enterprise Linux AppStream EUS (v.9.0) | Fixed | RHSA-2023:7382 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2023:5069, RHSA-2023:5093 |
| Red Hat Enterprise Linux BaseOS EUS (v.9.0) | Fixed | RHSA-2023:7382, RHSA-2023:7411 |
| Red Hat Enterprise Linux CRB (v. 9) | Fixed | RHSA-2023:5069 |
| Red Hat Enterprise Linux NFV (v. 9) | Fixed | RHSA-2023:5091 |
| Red Hat Enterprise Linux RT (v. 9) | Fixed | RHSA-2023:5091 |
| Red Hat Enterprise Linux Real Time EUS (v.9.0) | Fixed | RHSA-2023:7389 |
| Red Hat Enterprise Linux Real Time for NFV EUS (v.9.0) | Fixed | RHSA-2023:7389 |
Not affected: 4 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux AppStream (v. 9)
Timeline
- 2026-10-02 Threatist record created from CVE-2023-4147
- 2026-10-03 Alias added: GHSA-pcv9-72q8-27vc
References
Patch 4
More Red Hat Enterprise Linux vulnerabilities
- TI-2019-08259 Underflow in PHP-FPM can lead to RCE KEVCVSS 3.1CRITICAL 9.8
- TI-2018-10530 Code injection in [UNKNOWN] RichFaces KEVCVSS 3.1CRITICAL 9.8
- TI-2014-05975 GNU Bash through 4.3 bash43-025 processes trailing strings after certain malformed… KEVCVSS 3.1CRITICAL 9.8
- TI-2014-05157 GNU Bash through 4.3 processes trailing strings after function definitions in the values… KEVCVSS 3.1CRITICAL 9.8
- TI-2025-23530 Sudo before 1.9.17p1 allows local users to obtain root access because /etc/nsswitch.conf… KEVCVSS 3.1CRITICAL 9.3
- TI-2021-17490 mod_proxy SSRF KEVCVSS 3.1CRITICAL 9.0
Sources
- CVE-2023-4147 · CVE Program
- CVE-2023-4147 · NVD
- FIRST EPSS
- GHSA-pcv9-72q8-27vc · GitHub Advisory Database · CC BY 4.0
- CVE-2023-4147 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences