CVE-2024-42269
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| bpftool | Amazon Linux | 6.1.106-116.188.amzn2023 |
| kernel-tools | Amazon Linux | 6.1.106-116.188.amzn2023 |
| kernel-modules-extra | Amazon Linux | 6.1.106-116.188.amzn2023 |
| kernel-libbpf | Amazon Linux | 6.1.106-116.188.amzn2023 |
| python3-perf | Amazon Linux | 6.1.106-116.188.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 6.1.106-116.188.amzn2023 |
| kernel-headers | Amazon Linux | 6.1.106-116.188.amzn2023 |
| kernel-tools-devel | Amazon Linux | 6.1.106-116.188.amzn2023 |
| perf | Amazon Linux | 6.1.106-116.188.amzn2023 |
| linux_kernel | linux | 6.10.4, 6.6.45, 6.1.104 |
| Linux | Linux | e85b9b6a87be4cb3710082038b677e97f2389003, c22921df777de5606f1047b1345b8d22ef1c0b34, 91b6df6611b7edb28676c4f63f90c56c30d3e601, 87dba44e9471b79b255d0736858a897332db9226, 5.15 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | fdacd57c79b79a03c7ca88f706ad9fb7b46831c1, fdacd57c79b79a03c7ca88f706ad9fb7b46831c1, fdacd57c79b79a03c7ca88f706ad9fb7b46831c1 |
| Linux | Linux | 5.15, 0, 5.15.165 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | perf | 0 |
| Linux | Linux | 0, 6.1.104, 6.6.45 |
| amazon:2023 | kernel-libbpf-static | 0 |
| linux | linux_kernel | 5.15, 5.15, 5.15 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-livepatch-6.1.106-116.188 | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel | 0 |
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