CVE-2026-143149

medium

Description

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.

References

https://git.kernel.org/stable/c/8a85a717144087ecac0407b8459a78967e7ed4ea

https://git.kernel.org/stable/c/83c2bd5a40aa3770d06ef61070e1b6d9cf5669e1

https://git.kernel.org/stable/c/7ebc44e15f7edd5fc9281811beee56dd7aca8fd3

https://git.kernel.org/stable/c/549484dd3e80a721d51bd695f22a800d2e05bea1

https://git.kernel.org/stable/c/509fce20f6a5e880fe576eaf23f4a49075d72dc9

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-142766

Details

Source: Mitre, NVD

Published: 2026-12-03

Updated: 2026-12-03

Risk Information

CVSS v2

Base Score: 7.1

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:C

Severity: High

CVSS v3

Base Score: 5.5

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium

EPSS

EPSS: 0.00209