CVE-2023-4147
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-4147 is a use-after-free vulnerability discovered in the Linux kernel's Netfilter functionality when adding a rule with NFTA_RULE_CHAIN_ID. The vulnerability was discovered by Kevin Rich and fixed in Linux kernel version 6.5-rc4 (Kernel Commit). The vulnerability affects Linux kernel versions prior to 6.5-rc4 and has been assigned a CVSS score of 7.8 (HIGH) (NVD).

Technical details

The vulnerability occurs in the Netfilter subsystem when adding a rule with NFTA_RULE_CHAIN_ID parameter. The issue stems from improper handling of chain binding transaction logic, which can lead to a use-after-free condition. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 with the vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, indicating local access requirements with low complexity and no user interaction needed (Red Hat).

Impact

Successful exploitation of this vulnerability allows a local user with the CAP_NET_ADMIN capability in any user or network namespace to crash the system or escalate their privileges (Red Hat). The vulnerability can lead to disclosure of sensitive information, addition or modification of data, or Denial of Service (DoS) (NetApp Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Linux kernel version 6.5-rc4 through a patch that disallows rule addition to bound chain via NFTA_RULE_CHAIN_ID (Kernel Commit). Various Linux distributions have released security updates to address this vulnerability, including Red Hat Enterprise Linux and Debian (Red Hat, Debian).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68753HIGH7.8
  • Linux KernelLinux Kernel
  • linux-realtime
NoYesJan 05, 2026
CVE-2025-68756HIGH7.1
  • Linux KernelLinux Kernel
  • linux-oracle
NoYesJan 05, 2026
CVE-2025-68764MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-realtime
NoYesJan 05, 2026
CVE-2025-68758MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-core
NoYesJan 05, 2026
CVE-2025-68762N/AN/A
  • Linux KernelLinux Kernel
  • kernel
NoYesJan 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management