Linux Kernel BPF LWT dst Null Deref in bpf_prog_test_run_skb
CVE-2026-143358 Published on December 3, 2026
bpf: Set a dst for test runs of lwt_in progs
In the Linux kernel, the following vulnerability has been resolved:
bpf: Set a dst for test runs of lwt_in progs
When an lwt prog runs on a route, the skb always has a dst. To push an SRH,
bpf_lwt_push_encap() reads the device from this dst. But
bpf_prog_test_run_skb() sets a dst for lwt_xmit progs only. Thus the helper
dereferences a NULL dst in a test run of an lwt_in prog.
Set the same dst, ip6_null_entry, for lwt_in progs. When IPv6 is disabled
or not built, their test run now fails with -EOPNOTSUPP too. An lwt_out
prog cannot call this helper.
Products Associated with CVE-2026-143358
Want to know whenever a new CVE is published for Linux Kernel? stack.watch will email you.
Affected Versions
Linux:- Version fe94cc290f535709d3c5ebd1e472dfd0aec7ee79 and below add5f647f128182fcce2a515de25724031ea5cf4 is affected.
- Version fe94cc290f535709d3c5ebd1e472dfd0aec7ee79 and below c1ca06e48e8848743fd876a1dc6b0f57bc76d23e is affected.
- Version 4.18 is affected.
- Before 4.18 is unaffected.
- Version 7.3.7, <= 7.3.* is unaffected.
- Version 7.4-rc2, <= * is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.