CVE-2024-42270
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-42270 is a vulnerability in the Linux kernel's netfilter/iptables component, specifically in the iptable_nat_table_init() function. The vulnerability was discovered in August 2024 and affects Linux kernel versions from 5.15 up to (excluding) 6.1.104, from 6.2 up to (excluding) 6.6.45, from 6.7 up to (excluding) 6.10.4, and version 6.11-rc1 (NVD).

Technical details

The vulnerability is a NULL pointer dereference issue that occurs when iptable_nat_table_init() is exposed to user space before the kernel fully initializes netns. During a small race window, a user could call iptable_nat_table_init() that accesses net_generic(net, iptable_nat_net_id), which is only available after registering iptable_nat_net_ops. The vulnerability has been assigned a CVSS v3.1 Base Score of 5.5 (Medium) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability can lead to a system crash (denial of service) when exploited, particularly during the boot process when using iptables-restore. This occurs due to the NULL pointer dereference in the kernel space (Kernel Patch).

Exploitability

The vulnerability can be triggered through the iptables-restore command during system boot. It requires local access and low privileges to exploit. The issue has been confirmed to be exploitable in real-world scenarios, as demonstrated by the reported crash logs (Kernel Patch).

Mitigation and workarounds

The vulnerability has been fixed by modifying the initialization sequence in iptable_nat_table_init() to ensure register_pernet_subsys() is called before xt_register_template(). This fix has been implemented in the Linux kernel through a patch that corrects the order of operations (Kernel Patch).

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-2026-74732NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-firmware
NoYesAug 22, 2026
CVE-2026-74730NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-devel
NoYesAug 22, 2026
CVE-2026-74726NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-modules
NoYesAug 22, 2026
CVE-2026-74719NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-partner
NoYesAug 22, 2026
CVE-2026-74717NONEN/A
  • Linux Kernel logoLinux Kernel
  • rtla
NoYesAug 22, 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