CVE-2026-143353

Source
https://cve.org/CVERecord?id=CVE-2026-143353
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143353.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-143353
Downstream
Published
2026-12-03T09:22:09Z
Modified
2026-12-03T11:02:07Z
Summary
bpf: Don't let lwt_in progs call into IPv6 when it is disabled
Details

In the Linux kernel, the following vulnerability has been resolved:

bpf: Don't let lwt_in progs call into IPv6 when it is disabled

With ipv6.disable=1, inet6_init() returns before it registers any pernet subsystem. Thus net->ipv6.devconf_all and net->ipv6.seg6_data stay NULL. IS_ENABLED(CONFIG_IPV6) only says that the code is built in. bpf_lwt_input_reroute() and bpf_push_seg6_encap() call into IPv6, but do not test ipv6_mod_enabled(). An lwt_in prog also runs with ipv6.disable=1, and skb->protocol == htons(ETH_P_IPV6) does not prove that IPv6 is enabled. Thus the kernel dereferences NULL and crashes.

Return -EAFNOSUPPORT before these calls if ipv6_mod_enabled() is false. BPF_LWT_REROUTE then drops an IPv6 skb. With IPv6 enabled nothing changes.

The first Fixes tag is for bpf_push_seg6_encap(), which never had this test. The second tag is for bpf_lwt_input_reroute(). Until that commit it used ipv6_stub, which returned -EAFNOSUPPORT with ipv6.disable=1.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143353.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
fe94cc290f535709d3c5ebd1e472dfd0aec7ee79
Fixed
ef5073375e48ae95b00788e7b32edfb92204f66a
Fixed
95f1d5e4abb79fe85a54f7a46b41f297ce533c31

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.18.0
Fixed
7.3.7

Database specific

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