CVE-2024-42269: netfilter: iptables: Fix potential null-ptr-deref in ip6table_nat_table_init().
Vulnerability summary
CVE-2024-42269 is a medium (CVSS 5.5) NULL Pointer Dereference vulnerability in linux. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 13.3% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 18 · Related 15Timeline
- 17-08-2024PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
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().
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.23%
Chance of exploitation in the next 30 days
Percentile
13%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.23% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu117 products
- linux< 5.15.0-125.135 | < 6.8.0-50.51
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 5.15.0-1072.78 | < 6.8.0-1020.22
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ fdacd57c79b79a03c7ca88f706ad9fb7b46831c1, < 419ee6274c5153b89c4393c1946faa4c3cad4f9e | ≥ fdacd57c79b79a03c7ca88f706ad9fb7b46831c1, < 91b6df6611b7edb28676c4f63f90c56c30d3e601 | ≥ fdacd57c79b79a03c7ca88f706ad9fb7b46831c1, < e85b9b6a87be4cb3710082038b677e97f2389003 | ≥ fdacd57c79b79a03c7ca88f706ad9fb7b46831c1, < 87dba44e9471b79b255d0736858a897332db9226 | ≥ fdacd57c79b79a03c7ca88f706ad9fb7b46831c1, < c22921df777de5606f1047b1345b8d22ef1c0b34 | 5.15
- linux_kernel≥ 5.15, < 6.1.104 | ≥ 6.2, < 6.6.45 | ≥ 6.7, < 6.10.4 | 6.11:rc1
Debian1 product
- linux< 6.1.106-1 | < 6.10.4-1
3 vendors · 120 products