CVE-2026-143358

Source
https://cve.org/CVERecord?id=CVE-2026-143358
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143358.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-143358
Downstream
Published
2026-12-03T09:22:12Z
Modified
2026-12-03T11:02:07Z
Summary
bpf: Set a dst for test runs of lwt_in progs
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143358.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
fe94cc290f535709d3c5ebd1e472dfd0aec7ee79
Fixed
add5f647f128182fcce2a515de25724031ea5cf4
Fixed
c1ca06e48e8848743fd876a1dc6b0f57bc76d23e

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143358.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.18.0
Fixed
7.3.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143358.json"