CVE-2026-68337: bpf: Reject redirect helpers without a bpf_net_context

Published Aug 10, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

bpf: Reject redirect helpers without a bpfnetcontext

The bpfredirect() helpers and skbdoredirect() obtain the per-task bpfredirectinfo via bpfnetctxgetri(), which dereferences the current->bpfnetcontext unconditionally. That context is established on the paths that run tc BPF such as schhandle{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 bpfredirect() 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 earlydrop block 10 tc filter add block 10 pref 1 bpf obj redirect.o

It simply returns TCACTREDIRECT without helper call: tcfqeventhandle() then dispatches to skbdoredirect(), which dereferences the context

Rather than extending bpfnetcontext management into the qdisc path, make the redirect helpers refuse to operate when no context exists, and have tcfqeventhandle() drop a TCACTREDIRECT verdict instead of calling skbdoredirect(). Previous behaviour was a crash, so nothing regresses by not supporting it.

Affected Software

1 affected component
Linux Kernel

Event History

Aug 10, 2026
CVE Published
via MITRE·12:03 PM
Data Sourced
via MITRE·12:03 PM
Description
Data Sourced
via NVD·01:20 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-68337?

CVE-2026-68337 has a risk rating of 17, indicating a serious vulnerability.

2

What systems are affected by CVE-2026-68337?

CVE-2026-68337 affects the Linux kernel specifically related to BPF redirect helpers.

3

How do I fix CVE-2026-68337?

To fix CVE-2026-68337, update your Linux kernel to the latest version where this vulnerability is resolved.

4

What are the consequences of CVE-2026-68337?

Exploiting CVE-2026-68337 can lead to denial of service or potential system compromise due to improper handling of BPF redirect helpers.

5

How can I check if my system is vulnerable to CVE-2026-68337?

You can check the version of your Linux kernel against the known patched versions to see if your system is vulnerable to CVE-2026-68337.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203