{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143353","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-12-03T03:10:28.368Z","datePublished":"2026-12-03T09:22:09.654Z","dateUpdated":"2026-12-03T09:22:09.654Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-03T09:22:09.654Z"},"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."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/filter.c","net/core/lwt_bpf.c"],"versions":[{"version":"fe94cc290f535709d3c5ebd1e472dfd0aec7ee79","lessThan":"ef5073375e48ae95b00788e7b32edfb92204f66a","status":"affected","versionType":"git"},{"version":"fe94cc290f535709d3c5ebd1e472dfd0aec7ee79","lessThan":"95f1d5e4abb79fe85a54f7a46b41f297ce533c31","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/filter.c","net/core/lwt_bpf.c"],"versions":[{"version":"4.18","status":"affected"},{"version":"0","lessThan":"4.18","status":"unaffected","versionType":"semver"},{"version":"7.3.7","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.18","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.18","versionEndExcluding":"7.4-rc2"}]}]}],"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"}}}}