CVE-2026-143358

Unknown

Last modified

CVE-2026-143358 is a vulnerability of currently unknown severity. 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.

Description

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.

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
LinuxLinux>= fe94cc290f535709d3c5ebd1e472dfd0aec7ee79, < add5f647f128182fcce2a515de25724031ea5cf4; >= fe94cc290f535709d3c5ebd1e472dfd0aec7ee79, < c1ca06e48e8848743fd876a1dc6b0f57bc76d23e
LinuxLinux4.18

References

Timeline

Published
Last Modified
Status
Received

Frequently Asked Questions

What is CVE-2026-143358?
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.
How severe is CVE-2026-143358?
Severity scoring for CVE-2026-143358 is pending analysis.
How do I fix CVE-2026-143358?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-143358?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST