CVE-2026-98383: bpf: Disallow bpf_skb_pull_data() for LWT_SEG6LOCAL

Published Oct 9, 2026
·
Updated

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

bpf: Disallow bpfskbpulldata() for LWTSEG6LOCAL

An LWTSEG6LOCAL program can invalidate its cached SRH with bpflwtseg6adjustsrh() and then call bpfskbpulldata(). The latter may reallocate skb->head, leaving the per-CPU SRH pointer dangling. Post-program SRH validation then writes through that pointer.

Disallow bpfskbpulldata() for LWTSEG6LOCAL programs so the verifier rejects this unsafe helper combination. Other LWT program types continue to expose the helper through lwtoutfuncproto().

Affected Software

1 affected component
Linux Linux kernel

Event History

Oct 9, 2026
CVE Published
via MITRE·07:34 AM
Data Sourced
via MITRE·07:34 AM
Description

Frequently Asked Questions

1

What configuration is exposed to this issue?

Exposure requires an LWT_SEG6LOCAL BPF program. The unsafe sequence is specific to programs that use bpf_lwt_seg6_adjust_srh() and then call bpf_skb_pull_data().

2

What does the fix change for existing BPF programs?

The verifier rejects bpf_skb_pull_data() in LWT_SEG6LOCAL programs. Other LWT program types continue to have access to this helper through lwt_out_func_proto().

3

How can I determine whether deployed programs need review?

Review LWT_SEG6LOCAL BPF programs for a call to bpf_lwt_seg6_adjust_srh() followed by bpf_skb_pull_data(). That combination can invalidate the cached SRH pointer and lead to post-program validation writing through a dangling pointer.

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