{"id":"CVE-2024-42269","aliases":["CVE-2024-42269"],"related":[],"kind":"vulnerability","state":"published","title":"netfilter: iptables: Fix potential null-ptr-deref in ip6table_nat_table_init().","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: iptables: Fix potential null-ptr-deref in ip6table_nat_table_init().\n\nip6table_nat_table_init() accesses net->gen->ptr[ip6table_nat_net_ops.id],\nbut the function is exposed to user space before the entry is allocated\nvia register_pernet_subsys().\n\nLet's call register_pernet_subsys() before xt_register_template().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: iptables: Fix potential null-ptr-deref in ip6table_nat_table_init().\n\nip6table_nat_table_init() accesses net->gen->ptr[ip6table_nat_net_ops.id],\nbut the function is exposed to user space before the entry is allocated\nvia register_pernet_subsys().\n\nLet's call register_pernet_subsys() before xt_register_template().","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: netfilter: iptables: corrige el potencial null-ptr-deref en ip6table_nat_table_init(). ip6table_nat_table_init() accede a net-&gt;gen-&gt;ptr[ip6table_nat_net_ops.id], pero la función está expuesta al espacio del usuario antes de que la entrada se asigne a través de Register_pernet_subsys(). Llamemos a Register_pernet_subsys() antes de xt_register_template().","source":"nvd"}],"published":"2024-08-17T08:54:24.267Z","modified":"2026-06-17T07:49:08.553Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"fdacd57c79b79a03c7ca88f706ad9fb7b46831c1","fixed":"419ee6274c5153b89c4393c1946faa4c3cad4f9e","status":"affected"},{"type":"git","introduced":"fdacd57c79b79a03c7ca88f706ad9fb7b46831c1","fixed":"91b6df6611b7edb28676c4f63f90c56c30d3e601","status":"affected"},{"type":"git","introduced":"fdacd57c79b79a03c7ca88f706ad9fb7b46831c1","fixed":"e85b9b6a87be4cb3710082038b677e97f2389003","status":"affected"},{"type":"git","introduced":"fdacd57c79b79a03c7ca88f706ad9fb7b46831c1","fixed":"87dba44e9471b79b255d0736858a897332db9226","status":"affected"},{"type":"git","introduced":"fdacd57c79b79a03c7ca88f706ad9fb7b46831c1","fixed":"c22921df777de5606f1047b1345b8d22ef1c0b34","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15","status":"unaffected"},{"type":"semver","introduced":"5.15.165","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.104","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.45","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.10.4","lastAffected":"6.10.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.11","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.15","fixed":"6.1.104"},{"status":"affected","introduced":"6.2","fixed":"6.6.45"},{"status":"affected","introduced":"6.7","fixed":"6.10.4"},{"status":"affected","version":"6.11"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/419ee6274c5153b89c4393c1946faa4c3cad4f9e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/91b6df6611b7edb28676c4f63f90c56c30d3e601","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e85b9b6a87be4cb3710082038b677e97f2389003","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/87dba44e9471b79b255d0736858a897332db9226","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c22921df777de5606f1047b1345b8d22ef1c0b34","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T16:12:17.928Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-42269","url":"https://www.cve.org/CVERecord?id=CVE-2024-42269","licence":"CVE Terms of Use","modified":"2026-05-11T20:29:05.104Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-42269","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42269","licence":"Public domain","modified":"2026-06-17T07:49:08.553Z"}],"updatedAt":"2026-11-25T22:58:44.457Z","epss":{"score":0.00306,"percentile":0.15912,"date":"2026-11-30T12:00:22.000Z"}}