VDB

CVE-2024-42269

CVE-2024-42269 PUBLISHED

netfilter: iptables: Fix potential null-ptr-deref in ip6table_nat_table_init().

Reported by linux · Published August 17, 2024

In the Linux kernel, the following vulnerability has been resolved: netfilter: iptables: Fix potential null-ptr-deref in ip6table_nat_table_init(). ip6table_nat_table_init() accesses net->gen->ptr[ip6table_nat_net_ops.id], but the function is exposed to user space before the entry is allocated via register_pernet_subsys(). Let's call register_pernet_subsys() before xt_register_template().

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
bpftoolAmazon Linux6.1.106-116.188.amzn2023
kernel-toolsAmazon Linux6.1.106-116.188.amzn2023
kernel-modules-extraAmazon Linux6.1.106-116.188.amzn2023
kernel-libbpfAmazon Linux6.1.106-116.188.amzn2023
python3-perfAmazon Linux6.1.106-116.188.amzn2023
kernel-modules-extra-commonAmazon Linux6.1.106-116.188.amzn2023
kernel-headersAmazon Linux6.1.106-116.188.amzn2023
kernel-tools-develAmazon Linux6.1.106-116.188.amzn2023
perfAmazon Linux6.1.106-116.188.amzn2023
linux_kernellinux6.10.4, 6.6.45, 6.1.104
LinuxLinuxe85b9b6a87be4cb3710082038b677e97f2389003, c22921df777de5606f1047b1345b8d22ef1c0b34, 91b6df6611b7edb28676c4f63f90c56c30d3e601, 87dba44e9471b79b255d0736858a897332db9226, 5.15

Affected products

VendorProductVersions
LinuxLinuxfdacd57c79b79a03c7ca88f706ad9fb7b46831c1, fdacd57c79b79a03c7ca88f706ad9fb7b46831c1, fdacd57c79b79a03c7ca88f706ad9fb7b46831c1
LinuxLinux5.15, 0, 5.15.165
amazon:2023bpftool0
amazon:2023kernel-tools0
amazon:2023kernel-modules-extra0
amazon:2023kernel-libbpf0
amazon:2023python3-perf0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-headers0
amazon:2023kernel-tools-devel0
amazon:2023perf0
LinuxLinux0, 6.1.104, 6.6.45
amazon:2023kernel-libbpf-static0
linuxlinux_kernel5.15, 5.15, 5.15
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-livepatch-6.1.106-116.1880
amazon:2023kernel-devel0
amazon:2023kernel0

Timeline

  • Aug 17, 2024 CVE Published
  • Aug 18, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (8 in total, the first dated here)
  • Jan 6, 2026 Security Advisory (141 in total, the first dated here)
  • May 4, 2026 Distribution Patch (127 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-42269
vulnetix vdb fixes CVE-2024-42269

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-42269/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›