CVE-2026-139315: bpf: Pull the inner header for End.DT6 in End.BPF

Published Nov 30, 2026
·
Updated

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

bpf: Pull the inner header for End.DT6 in End.BPF

bpflwtseg6action(SEG6LOCALACTIONENDDT6) pulls the outer headers off the packet and hands it to seg6lookupnexthop(), which reads the inner IPv6 header at skb->data. Nothing says that this header is in the head of the skb, or that there is one. If the head ends with the outer headers, the route is looked up for whatever lies behind the head, and the packet is dropped or leaves by the wrong route. If the program then pushes an SRH with SEG6LOCALACTIONENDB6, seg6dosrhinline() pulls an IPv6 header off a head which has none, and skbpull() hits its BUG(): the kernel panics on a packet from the network.

GRO pulls the inner header of a plain IPv6 in IPv6 packet into the head. It takes a packet which GRO does not look into that far, one with a fragment header in front of the inner header for example, or a device without GRO, and a driver which leaves the inner header in a fragment.

Make sure of the inner header together with the outer ones. The program goes on behind an error of the helper, so do it before the packet is changed. A pull which fails can still have moved the head, so look for the SRH again.

Affected Software

10 affected componentsFixes available
Linux Linux kernel
linux/kernel>=4.19.0<5.15.226
5.15.226
linux/kernel>=5.16.0<6.1.193
6.1.193
linux/kernel>=6.2.0<6.6.163
6.6.163
linux/kernel>=6.7.0<6.12.119
6.12.119
linux/kernel>=6.13.0<6.18.65
6.18.65
linux/kernel>=6.19.0<7.3.6
7.3.6
debian/linux*
debian/linux*
debian/linux<7.3.6-1
7.3.6-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.15.226
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.1.193
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.6.163
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.119
  5. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.65
  6. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.6
  7. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 7.3.6-1

Event History

Nov 30, 2026
CVE Published
via MITRE·01:33 PM
Data Sourced
via MITRE·01:33 PM
Description
Data Sourced
via OSV·01:33 PM
DescriptionAffected Software
Data Sourced
via NVD·02:18 PM
Description

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Systems using an End.BPF program with the End.DT6 action are affected when it processes IPv6-in-IPv6 traffic whose inner IPv6 header is not present in the skb head. This can occur with packets that GRO does not inspect far enough, such as packets with a fragment header before the inner IPv6 header, or on devices without GRO when the driver leaves the inner header in a fragment.

2

What does an attacker need to do to trigger the failure?

An attacker needs to send a network packet that reaches the affected End.DT6 processing path and has its inner IPv6 header outside the skb head. If the BPF program subsequently pushes an SRH using the End.B6 action, processing can reach a BUG condition and panic the kernel.

3

What happens if the system does not panic?

The nexthop lookup can read data behind the skb head instead of the actual inner IPv6 header. The packet may then be dropped or forwarded using the wrong route.

4

How can administrators assess whether their configuration is at risk?

Review End.BPF programs for use of End.DT6, especially programs that continue with End.B6 processing. Also examine whether affected traffic can arrive with extension or fragment headers before the inner IPv6 header, and whether NIC or driver behavior can leave that header in a packet fragment.

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