{"id":"CVE-2024-42269","summary":"netfilter: iptables: Fix potential null-ptr-deref in ip6table_nat_table_init().","details":"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-\u003egen-\u003eptr[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().","modified":"2026-04-15T23:59:46.072068054Z","published":"2024-08-17T08:54:24.267Z","related":["SUSE-SU-2024:3194-1","SUSE-SU-2024:3195-1","SUSE-SU-2024:3383-1","SUSE-SU-2025:20044-1","SUSE-SU-2025:20047-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42269.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/419ee6274c5153b89c4393c1946faa4c3cad4f9e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/87dba44e9471b79b255d0736858a897332db9226"},{"type":"WEB","url":"https://git.kernel.org/stable/c/91b6df6611b7edb28676c4f63f90c56c30d3e601"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c22921df777de5606f1047b1345b8d22ef1c0b34"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e85b9b6a87be4cb3710082038b677e97f2389003"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42269.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42269"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"fdacd57c79b79a03c7ca88f706ad9fb7b46831c1"},{"fixed":"419ee6274c5153b89c4393c1946faa4c3cad4f9e"},{"fixed":"91b6df6611b7edb28676c4f63f90c56c30d3e601"},{"fixed":"e85b9b6a87be4cb3710082038b677e97f2389003"},{"fixed":"87dba44e9471b79b255d0736858a897332db9226"},{"fixed":"c22921df777de5606f1047b1345b8d22ef1c0b34"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42269.json"}}],"schema_version":"1.7.5"}