CVE-2026-143354
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.
Affected versions
Linux kernel versions
5.1
and later are affected. Fixed in
6.12.120,
6.18.66,
7.3.7,
7.4-rc2
and their respective stable series.
References
6 totalFrequently asked questions
-
What is CVE-2026-143354?
CVE-2026-143354 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 5.1 onward and has been patched in 6.12.120, 6.18.66, 7.3.7 and others. CVE-2026-143354 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2026-143354?
Yes. CVE-2026-143354 has been patched. Fixed versions include 6.12.120, 6.18.66, 7.3.7 and others. If you are running Linux kernel 5.1 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2026-143354 actively exploited?
No. CVE-2026-143354 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.