CVE-2026-143353
Received Received - Intake

BPF LWT Input Program IPv6 Null Pointer Dereference

Vulnerability report for CVE-2026-143353, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-03

Last updated on: 2026-12-03

Assigner: kernel.org

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-03
Last Modified
2026-12-03
Generated
2026-12-03
AI Q&A
2026-12-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel occurs when IPv6 is disabled using the kernel parameter ipv6.disable=1. The issue arises because certain BPF (Berkeley Packet Filter) programs, specifically lwt_in programs, attempt to call into IPv6 functions even when IPv6 is disabled. This leads to a NULL pointer dereference in the kernel, causing a crash.

Detection Guidance

This vulnerability can be detected by checking if the Linux kernel is vulnerable to NULL pointer dereference when IPv6 is disabled. Verify kernel version and check if ipv6.disable=1 is set. Use 'uname -a' to check kernel version and 'cat /proc/cmdline' to see if ipv6.disable=1 is present.

Impact Analysis

If you are running a Linux system with IPv6 disabled and have BPF programs configured to use IPv6 features, this vulnerability could cause your system to crash. This may lead to denial of service, data loss, or other operational issues depending on the system's role.

Mitigation Strategies

Apply the latest kernel update that includes the fix for this issue. Ensure IPv6 is properly enabled if required. If IPv6 is disabled, avoid running BPF programs that interact with IPv6 to prevent crashes.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-143353. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...