# CVE-2026-143149

- Bağlantı: https://www.allsafe.com.tr/cve-2026-143149/
- Yayımlanma: 2026-12-03T13:17:49+03:00
- Yazar: Postmaster

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.

Bu kayıt NIST NVD kaynağından aktarılmıştır. Etkilenen sürümler, güncel değerlendirme
ve üretici referansları için kaynak kaydı inceleyin.

Kaynak: [NIST NVD — özgün kaydı inceleyin ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-143149)
