PT-2026-167217

CVE-2026-143359

·

Published

2026-12-03

·

Updated

2026-12-03

Description by

Score
N/A
Not available

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.

In the Linux kernel, the following vulnerability has been resolved:
bpf: Reject non-IPv6 packets in BPF LWT ENCAP SEG6
The mode BPF LWT ENCAP SEG6 of bpf lwt push encap() pushes an IPv6 header and an SRH, and it replaces the dst. The SRH says that IPv6 follows, and skb->protocol does not change. Thus the mode assumes an IPv6 packet, but an lwt in prog also runs for IPv4 packets. After the prog, bpf input() calls orig input() of the old dst. This IPv4 handler reads the pushed headers as IPv4. It can write after the packet data, and the kernel crashes.
     after the push     orig input() expects
     --------------------- --------------------
skb->protocol ETH P IP ETH P IP dst rt6 info rtable packet | IPv6 | SRH | IPv4 | | IPv4 |
The mode BPF LWT ENCAP SEG6 INLINE returns -EBADMSG for non-IPv6 packets. Apply this check to both modes. End.BPF does not change, because seg6 local input() drops non-IPv6 packets.
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾