CVE-2026-143149

Source
https://cve.org/CVERecord?id=CVE-2026-143149
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143149.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-143149
Downstream
Published
2026-12-03T09:19:52Z
Modified
2026-12-03T11:01:35Z
Summary
seg6: validate state in netfilter continuations
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143149.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7a3f5b0de3647c854e34269c3332d7a1e902901a
Fixed
7ebc44e15f7edd5fc9281811beee56dd7aca8fd3
Fixed
83c2bd5a40aa3770d06ef61070e1b6d9cf5669e1
Fixed
509fce20f6a5e880fe576eaf23f4a49075d72dc9
Fixed
8a85a717144087ecac0407b8459a78967e7ed4ea
Fixed
549484dd3e80a721d51bd695f22a800d2e05bea1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143149.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.15.0
Fixed
5.15.227
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.12.120
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.66
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143149.json"