{"id":"CVE-2026-143149","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-12-03T10:17:49.363","lastModified":"2026-12-03T10:17:49.363","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nseg6: validate state in netfilter continuations\n\nWhen nf_hooks_lwtunnel is enabled, End.DX4 sends decapsulated packets\nthrough NF_INET_PRE_ROUTING. If DNAT changes the inner destination,\nnf_nat_ipv4_pre_routing() drops skb_dst(), and the continuation then\ndereferences the missing dst's lwtstate. This causes a KASAN NULL\npointer dereference and fatal exception panic.\n\nEnd.DX6 has the same issue with IPv6 DNAT. In seg6_iptunnel,\nPOST_ROUTING SNAT with an outbound XFRM policy can replace the dst before\nthe continuation resumes.\n\nValidate the current dst and expected lwtstate type in each NF_HOOK()\ncontinuation before calling the existing handler. Drop packets with\nmissing or incompatible state while preserving direct no-hook paths.\nThe helpers return bool because callers only need a validity check.\n\nTesting shows that the End.DX4 DNAT reproducer triggers a KASAN NULL\npointer dereference without this change and no longer does so with the\nfix. The SNAT+ESP/XFRM reproducer also completes without the reported\nfault. The in-tree End.DX4 netfilter forwarding selftest passes all four\nbidirectional checks with nf_hooks_lwtunnel disabled and enabled."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["net/ipv6/seg6_iptunnel.c","net/ipv6/seg6_local.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"7a3f5b0de3647c854e34269c3332d7a1e902901a","lessThan":"7ebc44e15f7edd5fc9281811beee56dd7aca8fd3","versionType":"git","status":"affected"},{"version":"7a3f5b0de3647c854e34269c3332d7a1e902901a","lessThan":"83c2bd5a40aa3770d06ef61070e1b6d9cf5669e1","versionType":"git","status":"affected"},{"version":"7a3f5b0de3647c854e34269c3332d7a1e902901a","lessThan":"509fce20f6a5e880fe576eaf23f4a49075d72dc9","versionType":"git","status":"affected"},{"version":"7a3f5b0de3647c854e34269c3332d7a1e902901a","lessThan":"8a85a717144087ecac0407b8459a78967e7ed4ea","versionType":"git","status":"affected"},{"version":"7a3f5b0de3647c854e34269c3332d7a1e902901a","lessThan":"549484dd3e80a721d51bd695f22a800d2e05bea1","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["net/ipv6/seg6_iptunnel.c","net/ipv6/seg6_local.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"5.15","status":"affected"},{"version":"0","lessThan":"5.15","versionType":"semver","status":"unaffected"},{"version":"5.15.227","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.12.120","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.66","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.7","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc3","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/509fce20f6a5e880fe576eaf23f4a49075d72dc9","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/549484dd3e80a721d51bd695f22a800d2e05bea1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/7ebc44e15f7edd5fc9281811beee56dd7aca8fd3","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/83c2bd5a40aa3770d06ef61070e1b6d9cf5669e1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/8a85a717144087ecac0407b8459a78967e7ed4ea","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}