VDB

CVE-2026-68337

CVE-2026-68337 PUBLISHED

bpf: Reject redirect helpers without a bpf_net_context

Reported by linux · Published August 10, 2026

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

EPSS 0.17% · 6.1th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.18-headersAmazon Linux1:6.18.54-121.166.amzn2023
bpftool6.18Amazon Linux1:6.18.54-121.166.amzn2023
perf6.12Amazon Linux1:6.12.111-136.204.amzn2023
kernel6.12-headersAmazon Linux1:6.12.111-136.204.amzn2023
kernel6.18-develAmazon Linux1:6.18.54-121.166.amzn2023
python3-perf6.18Amazon Linux1:6.18.54-121.166.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.54-121.166.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.111-136.204.amzn2023
python3-perf6.12Amazon Linux1:6.12.111-136.204.amzn2023

Risk scores

EPSS Score
0.17%
6.1th percentile

Affected products

VendorProductVersions
LinuxLinux3625750f05ecce21a0fce429c1ff85acfffb461b, 3625750f05ecce21a0fce429c1ff85acfffb461b, 3625750f05ecce21a0fce429c1ff85acfffb461b
LinuxLinux5.9, 0, 6.12.111
amazon:2023kernel6.18-headers0
amazon:2023bpftool6.180
amazon:2023perf6.120
amazon:2023kernel6.12-headers0
amazon:2023kernel6.18-devel0
amazon:2023python3-perf6.180
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023python3-perf6.120
linuxlinux_kernel5.9, 5.9, 5.9
amazon:2023kernel6.120
amazon:2023kernel6.12-tools0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.180
LinuxLinux3625750f05ecce21a0fce429c1ff85acfffb461b, 6.18.53, 6.12.111
amazon:2023kernel6.18-tools0
amazon:2023bpftool6.120
amazon:2023kernel-livepatch-6.12.111-136.2040

…and 7 more

Timeline

  • Aug 10, 2026 CVE Published
  • Aug 11, 2026 Coalition ESS Score
  • Aug 16, 2026 Security Advisory
  • Aug 24, 2026 EPSS Score (11 in total, the first dated here)
  • Sep 21, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-68337
vulnetix vdb fixes CVE-2026-68337

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-68337/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›