CVE-2023-4147

published 7 Aug 2023 · updated 7 Nov 2026

Kernel: netfilter: nf_tables_newrule when adding a rule with nfta_rule_chain_id leads to use-after-free

7.8HighCVSS 7.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 6.4.8, Kernel 5.15.124, Kernel 6.1.43 and 1 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=6.2 <6.4.8, =6.5, >=5.11 <5.15.124, >=5.16 <6.1.43, >=5.9 <5.10.1906.4.8, 5.15.124, 6.1.43, 5.10.190
Red HatEnterprise Linux
debiandebian_linux=12.0, =11.0, =10.0
fedoraprojectfedora=38
redhatenterprise_linux_eus=9.2
redhatenterprise_linux=9.0
redhatenterprise_linux_for_real_time=9.0
redhatenterprise_linux_for_real_time_for_nfv=9.0
redhatenterprise_linux_server_aus=9.2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-4147 severity on Zeptric[![CVE-2023-4147](https://zeptric.io/badge/cve/CVE-2023-4147.svg)](https://zeptric.io/cve/CVE-2023-4147)