EnvMap GitHub

CVE-2026-143354

bpf: Require BPF_LWT_REROUTE when an lwt_in prog changes the protocol

Not scored yetEPSS 0.30%Received

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Require BPF_LWT_REROUTE when an lwt_in prog changes the protocol When an lwt_in prog returns BPF_OK, bpf_input() calls orig_input(), the input handler of the route. This handler is for one IP version and needs a dst of the same family. But BPF_LWT_ENCAP_IP lets the prog push a header of the other IP version and thus change skb->protocol. Then the handler reads and changes a header of the other IP version. The push of an SRH also replaces the dst, because seg6_lookup_nexthop() puts an rt6_info into the skb. Then ip_forward() uses the rt6_info as a struct rtable. Drop the skb with -EINVAL when skb->protocol changes, as bpf_xmit() does. Drop it also when the family of the dst changes, because skb->protocol does not always show this change. Today no such skb leaves as the prog made it. A prog works as before if it returns BPF_LWT_REROUTE, or if it pushes an SRH on an IPv6 route. The commit in the first Fixes tag lets a prog change skb->protocol. The commit in the second tag adds the check to bpf_xmit() only.

In the words of the organisation that published it (Linux).

Affected

  • Linux: from 52f278774e796a553be0c869dcaaee6f259ca795 before 35d3016d6b0528bb65cee90b4b3; from 52f278774e796a553be0c869dcaaee6f259ca795 before 6f18041922b04300d751956eb9a; from 52f278774e796a553be0c869dcaaee6f259ca795 before 3e08bbd4772e503bb7f7fe6f9ca; from 52f278774e796a553be0c869dcaaee6f259ca795 before d9618a6196953718f7470de5d2e; 5.1

as the publisher (Linux) lists them.

Likelihood of exploitation

FIRST's EPSS gives a 0.30% chance of exploitation in the next 30 days, higher than 24% of all CVEs (as of 4 December 2026).

References

Record

Published10:18 UTC, 3 December 2026
Last changed10:18 UTC, 3 December 2026
NVD statusReceived
Published byLinux

CVE-2026-143354 on NVD · on CVE.org · Security Briefing

Follow it

Add the feed to a feed reader and new items arrive there as they are published, with no account here and no email.

Add to Feedly Add to Inoreader

Any other reader: paste https://envmap.tech/security/feed.xml

Where this comes from

Nothing here is written by an AI, summarised or rewritten: a headline is its newsroom's own and opens its story. A description is in the words of the organisation that published the CVE; a score says whose it is, NVD's or the publisher's; a CVE nobody has scored yet says so. A CVE that is rejected comes off every list. When a source does not answer, the page keeps the last answer it gave and says since when.

How to read it

EnvMap is a free, open-source DevOps control plane that you run yourself; its Security page brings your scanners' findings into one place. See what it does.