CVE-2026-143149
not scored yetseg6: validate state in netfilter continuations
In the Linux kernel, the following vulnerability has been resolved:
seg6: validate state in netfilter continuations
When nf_hooks_lwtunnel is enabled, End.DX4 sends decapsulated packets
through NF_INET_PRE_ROUTING. If DNAT changes the inner destination,
nf_nat_ipv4_pre_routing() drops skb_dst(), and the continuation then
dereferences the missing dst's lwtstate. This causes a KASAN NULL
pointer dereference and fatal exception panic.
End.DX6 has the same issue with IPv6 DNAT. In seg6_iptunnel,
POST_ROUTING SNAT with an outbound XFRM policy can replace the dst before
the continuation resumes.
Validate the current dst and expected lwtstate type in each NF_HOOK()
continuation before calling the existing handler. Drop packets with
missing or incompatible state while preserving direct no-hook paths.
The helpers return bool because callers only need a validity check.
Testing shows that the End.DX4 DNAT reproducer triggers a KASAN NULL
pointer dereference without this change and no longer does so with the
fix. The SNAT+ESP/XFRM reproducer also completes without the reported
fault. The in-tree End.DX4 netfilter forwarding selftest passes all four
bidirectional checks with nf_hooks_lwtunnel disabled and enabled.
- Published
- 3 Dec 2026
- Last modified
- 3 Dec 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= 7a3f5b0de3647c854e34269c3332d7a1e902901a, < 7ebc44e15f7edd5fc9281811beee56dd7aca8fd3; >= 7a3f5b0de3647c854e34269c3332d7a1e902901a, < 83c2bd5a40aa3770d06ef61070e1b6d9cf5669e1; >= 7a3f5b0de3647c854e34269c3332d7a1e902901a, < 509fce20f6a5e880fe576eaf23f4a49075d72dc9; >= 7a3f5b0de3647c854e34269c3332d7a1e902901a, < 8a85a717144087ecac0407b8459a78967e7ed4ea; >= 7a3f5b0de3647c854e34269c3332d7a1e902901a, < 549484dd3e80a721d51bd695f22a800d2e05bea1 | 7ebc44e15f7edd5fc9281811beee56dd7aca8fd3, 83c2bd5a40aa3770d06ef61070e1b6d9cf5669e1, 509fce20f6a5e880fe576eaf23f4a49075d72dc9, 8a85a717144087ecac0407b8459a78967e7ed4ea, 549484dd3e80a721d51bd695f22a800d2e05bea1 |
| CVE List | Linux | Linux | = 5.15 |
References
- https://git.kernel.org/stable/c/509fce20f6a5e880fe576eaf23f4a49075d72dc9
- https://git.kernel.org/stable/c/549484dd3e80a721d51bd695f22a800d2e05bea1
- https://git.kernel.org/stable/c/7ebc44e15f7edd5fc9281811beee56dd7aca8fd3
- https://git.kernel.org/stable/c/83c2bd5a40aa3770d06ef61070e1b6d9cf5669e1
- https://git.kernel.org/stable/c/8a85a717144087ecac0407b8459a78967e7ed4ea
History
- 3 Dec 2026 11:07 UTC · NVD: first stored (published 3 Dec 2026)
- 3 Dec 2026 10:08 UTC · CVE List: first stored (published 3 Dec 2026)