CVE-2026-68337

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
10/08/2026
Last modified:
21/09/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> bpf: Reject redirect helpers without a bpf_net_context<br /> <br /> The bpf_redirect*() helpers and skb_do_redirect() obtain the per-task<br /> bpf_redirect_info via bpf_net_ctx_get_ri(), which dereferences the<br /> current-&gt;bpf_net_context unconditionally. That context is established<br /> on the paths that run tc BPF such as sch_handle_{ingress,egress}(),<br /> *except* for the case where {cls,act}_bpf was attached to a proper<br /> qdisc. A program running from there reaches the NULL deref in two ways:<br /> <br /> * It calls bpf_redirect() directly, which dereferences the context at<br /> the top of the helper:<br /> <br /> tc qdisc add dev eth0 root handle 1: red limit 1MB min 10KB max 20KB \<br /> avpkt 1000 burst 100 qevent early_drop block 10<br /> tc filter add block 10 pref 1 bpf obj redirect.o<br /> <br /> * It simply returns TC_ACT_REDIRECT without helper call: tcf_qevent_handle()<br /> then dispatches to skb_do_redirect(), which dereferences the context<br /> <br /> Rather than extending bpf_net_context management into the qdisc path,<br /> make the redirect helpers refuse to operate when no context exists, and<br /> have tcf_qevent_handle() drop a TC_ACT_REDIRECT verdict instead of<br /> calling skb_do_redirect(). Previous behaviour was a crash, so nothing<br /> regresses by not supporting it.

Impact