{"api_version":"1","generated_at":"2026-12-04T12:43:48+00:00","cve":"CVE-2026-143353","urls":{"html":"https://cve.report/CVE-2026-143353","api":"https://cve.report/api/cve/CVE-2026-143353.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-143353","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-143353"},"summary":{"title":"bpf: Don't let lwt_in progs call into IPv6 when it is disabled","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Don't let lwt_in progs call into IPv6 when it is disabled\n\nWith ipv6.disable=1, inet6_init() returns before it registers any pernet\nsubsystem. Thus net->ipv6.devconf_all and net->ipv6.seg6_data stay NULL.\nIS_ENABLED(CONFIG_IPV6) only says that the code is built in.\nbpf_lwt_input_reroute() and bpf_push_seg6_encap() call into IPv6, but do\nnot test ipv6_mod_enabled(). An lwt_in prog also runs with ipv6.disable=1,\nand skb->protocol == htons(ETH_P_IPV6) does not prove that IPv6 is enabled.\nThus the kernel dereferences NULL and crashes.\n\nReturn -EAFNOSUPPORT before these calls if ipv6_mod_enabled() is false.\nBPF_LWT_REROUTE then drops an IPv6 skb. With IPv6 enabled nothing changes.\n\nThe first Fixes tag is for bpf_push_seg6_encap(), which never had this\ntest. The second tag is for bpf_lwt_input_reroute(). Until that commit it\nused ipv6_stub, which returned -EAFNOSUPPORT with ipv6.disable=1.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 10:18:24","updated_at":"2026-12-03 10:18:24"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/ef5073375e48ae95b00788e7b32edfb92204f66a","name":"https://git.kernel.org/stable/c/ef5073375e48ae95b00788e7b32edfb92204f66a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/95f1d5e4abb79fe85a54f7a46b41f297ce533c31","name":"https://git.kernel.org/stable/c/95f1d5e4abb79fe85a54f7a46b41f297ce533c31","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-143353","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143353","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fe94cc290f535709d3c5ebd1e472dfd0aec7ee79 ef5073375e48ae95b00788e7b32edfb92204f66a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fe94cc290f535709d3c5ebd1e472dfd0aec7ee79 95f1d5e4abb79fe85a54f7a46b41f297ce533c31 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.18","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.18 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.7 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"143353","cve":"CVE-2026-143353","epss":"0.003490000","percentile":"0.305280000","score_date":"2026-12-03","updated_at":"2026-12-04 00:14:18"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/core/filter.c","net/core/lwt_bpf.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"ef5073375e48ae95b00788e7b32edfb92204f66a","status":"affected","version":"fe94cc290f535709d3c5ebd1e472dfd0aec7ee79","versionType":"git"},{"lessThan":"95f1d5e4abb79fe85a54f7a46b41f297ce533c31","status":"affected","version":"fe94cc290f535709d3c5ebd1e472dfd0aec7ee79","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/core/filter.c","net/core/lwt_bpf.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.18"},{"lessThan":"4.18","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.7","versionStartIncluding":"4.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc2","versionStartIncluding":"4.18","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Don't let lwt_in progs call into IPv6 when it is disabled\n\nWith ipv6.disable=1, inet6_init() returns before it registers any pernet\nsubsystem. Thus net->ipv6.devconf_all and net->ipv6.seg6_data stay NULL.\nIS_ENABLED(CONFIG_IPV6) only says that the code is built in.\nbpf_lwt_input_reroute() and bpf_push_seg6_encap() call into IPv6, but do\nnot test ipv6_mod_enabled(). An lwt_in prog also runs with ipv6.disable=1,\nand skb->protocol == htons(ETH_P_IPV6) does not prove that IPv6 is enabled.\nThus the kernel dereferences NULL and crashes.\n\nReturn -EAFNOSUPPORT before these calls if ipv6_mod_enabled() is false.\nBPF_LWT_REROUTE then drops an IPv6 skb. With IPv6 enabled nothing changes.\n\nThe first Fixes tag is for bpf_push_seg6_encap(), which never had this\ntest. The second tag is for bpf_lwt_input_reroute(). Until that commit it\nused ipv6_stub, which returned -EAFNOSUPPORT with ipv6.disable=1."}],"providerMetadata":{"dateUpdated":"2026-12-03T09:22:09.654Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/ef5073375e48ae95b00788e7b32edfb92204f66a"},{"url":"https://git.kernel.org/stable/c/95f1d5e4abb79fe85a54f7a46b41f297ce533c31"}],"title":"bpf: Don't let lwt_in progs call into IPv6 when it is disabled","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-143353","datePublished":"2026-12-03T09:22:09.654Z","dateReserved":"2026-12-03T03:10:28.368Z","dateUpdated":"2026-12-03T09:22:09.654Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 10:18:24","lastModifiedDate":"2026-12-03 10:18:24","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"143353","Ordinal":"1","Title":"bpf: Don't let lwt_in progs call into IPv6 when it is disabled","CVE":"CVE-2026-143353","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"143353","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Don't let lwt_in progs call into IPv6 when it is disabled\n\nWith ipv6.disable=1, inet6_init() returns before it registers any pernet\nsubsystem. Thus net->ipv6.devconf_all and net->ipv6.seg6_data stay NULL.\nIS_ENABLED(CONFIG_IPV6) only says that the code is built in.\nbpf_lwt_input_reroute() and bpf_push_seg6_encap() call into IPv6, but do\nnot test ipv6_mod_enabled(). An lwt_in prog also runs with ipv6.disable=1,\nand skb->protocol == htons(ETH_P_IPV6) does not prove that IPv6 is enabled.\nThus the kernel dereferences NULL and crashes.\n\nReturn -EAFNOSUPPORT before these calls if ipv6_mod_enabled() is false.\nBPF_LWT_REROUTE then drops an IPv6 skb. With IPv6 enabled nothing changes.\n\nThe first Fixes tag is for bpf_push_seg6_encap(), which never had this\ntest. The second tag is for bpf_lwt_input_reroute(). Until that commit it\nused ipv6_stub, which returned -EAFNOSUPPORT with ipv6.disable=1.","Type":"Description","Title":"bpf: Don't let lwt_in progs call into IPv6 when it is disabled"}]}}}