Skip to content
This page tracks the Ubuntu fix status. The vulnerability itself is described on the main CVE page. View CVE-2026-139316 →
Unrated

In the Linux kernel, the following vulnerability has been resolved: bpf: Validate the SRH which End.DT6 uncovers in End.BPF input_action_end_bpf() val...

UBUNTU-CVE-2026-139316 First seen on SecPulse

Affected packages

PackageAffected → Fixed
Ubuntu:Pro:14.04:LTSlinux
All versions→ Not listed
Ubuntu:Pro:14.04:LTSlinux-aws
All versions→ Not listed
Ubuntu:Pro:14.04:LTSlinux-azure
All versions→ Not listed
Ubuntu:Pro:14.04:LTSlinux-lts-xenial
All versions→ Not listed
Ubuntu:Pro:16.04:LTSlinux
All versions→ Not listed
Ubuntu:Pro:16.04:LTSlinux-aws
All versions→ Not listed
Ubuntu:Pro:16.04:LTSlinux-aws-hwe
All versions→ Not listed
Ubuntu:Pro:16.04:LTSlinux-azure
All versions→ Not listed
Ubuntu:Pro:16.04:LTSlinux-gcp
All versions→ Not listed
Ubuntu:Pro:16.04:LTSlinux-hwe
All versions→ Not listed
Ubuntu:16.04:LTSlinux-hwe-edge
All versions→ Not listed
Ubuntu:Pro:16.04:LTSlinux-kvm
All versions→ Not listed
Ubuntu:Pro:16.04:LTSlinux-oracle
All versions→ Not listed
Ubuntu:Pro:FIPS-updates:16.04:LTSlinux-fips
All versions→ Not listed
Ubuntu:Pro:FIPS:16.04:LTSlinux-fips
All versions→ Not listed
Ubuntu:Pro:18.04:LTSlinux
All versions→ Not listed
Ubuntu:Pro:18.04:LTSlinux-aws
All versions→ Not listed
Ubuntu:18.04:LTSlinux-aws-5.0
All versions→ Not listed
Ubuntu:18.04:LTSlinux-aws-5.3
All versions→ Not listed
Ubuntu:Pro:18.04:LTSlinux-aws-5.4
All versions→ Not listed
Ubuntu:18.04:LTSlinux-azure
All versions→ Not listed
Ubuntu:Pro:18.04:LTSlinux-azure-4.15
All versions→ Not listed
Ubuntu:18.04:LTSlinux-azure-5.3
All versions→ Not listed
Ubuntu:Pro:18.04:LTSlinux-azure-5.4
All versions→ Not listed
Ubuntu:18.04:LTSlinux-azure-edge
All versions→ Not listed
Ubuntu:18.04:LTSlinux-gcp
All versions→ Not listed
Ubuntu:Pro:18.04:LTSlinux-gcp-4.15
All versions→ Not listed
Ubuntu:18.04:LTSlinux-gcp-5.3
All versions→ Not listed
Ubuntu:Pro:18.04:LTSlinux-gcp-5.4
All versions→ Not listed
Ubuntu:18.04:LTSlinux-gke-4.15
All versions→ Not listed
Ubuntu:18.04:LTSlinux-gke-5.4
All versions→ Not listed
Ubuntu:18.04:LTSlinux-gkeop-5.4
All versions→ Not listed
Ubuntu:18.04:LTSlinux-hwe
All versions→ Not listed
Ubuntu:Pro:18.04:LTSlinux-hwe-5.4
All versions→ Not listed
Ubuntu:18.04:LTSlinux-hwe-edge
All versions→ Not listed
Ubuntu:Pro:18.04:LTSlinux-ibm-5.4
All versions→ Not listed
Ubuntu:Pro:18.04:LTSlinux-kvm
All versions→ Not listed
Ubuntu:18.04:LTSlinux-oem
All versions→ Not listed
Ubuntu:Pro:18.04:LTSlinux-oracle
All versions→ Not listed
Ubuntu:18.04:LTSlinux-oracle-5.0
All versions→ Not listed
Ubuntu:18.04:LTSlinux-oracle-5.3
All versions→ Not listed
Ubuntu:Pro:18.04:LTSlinux-oracle-5.4
All versions→ Not listed
Ubuntu:Pro:18.04:LTSlinux-raspi-5.4
All versions→ Not listed
Ubuntu:Pro:FIPS-updates:18.04:LTSlinux-aws-fips
All versions→ Not listed
Ubuntu:Pro:FIPS-updates:18.04:LTSlinux-azure-fips
All versions→ Not listed
Ubuntu:Pro:FIPS-updates:18.04:LTSlinux-fips
All versions→ Not listed
Ubuntu:Pro:FIPS-updates:18.04:LTSlinux-gcp-fips
All versions→ Not listed
Ubuntu:Pro:FIPS:18.04:LTSlinux-aws-fips
All versions→ Not listed
Ubuntu:Pro:FIPS:18.04:LTSlinux-azure-fips
All versions→ Not listed
Ubuntu:Pro:FIPS:18.04:LTSlinux-fips
All versions→ Not listed
Ubuntu:Pro:FIPS:18.04:LTSlinux-gcp-fips
All versions→ Not listed
Ubuntu:Pro:20.04:LTSlinux
All versions→ Not listed
Ubuntu:Pro:20.04:LTSlinux-aws
All versions→ Not listed
Ubuntu:20.04:LTSlinux-aws-5.11
All versions→ Not listed
Ubuntu:20.04:LTSlinux-aws-5.13
All versions→ Not listed
Ubuntu:Pro:20.04:LTSlinux-aws-5.15
All versions→ Not listed
Ubuntu:20.04:LTSlinux-aws-5.8
All versions→ Not listed
Ubuntu:Pro:20.04:LTSlinux-azure
All versions→ Not listed
Ubuntu:20.04:LTSlinux-azure-5.11
All versions→ Not listed
Ubuntu:20.04:LTSlinux-azure-5.13
All versions→ Not listed
Ubuntu:Pro:20.04:LTSlinux-azure-5.15
All versions→ Not listed
Ubuntu:20.04:LTSlinux-azure-5.8
All versions→ Not listed
Ubuntu:20.04:LTSlinux-azure-fde
All versions→ Not listed
Ubuntu:Pro:20.04:LTSlinux-azure-fde-5.15
All versions→ Not listed
Ubuntu:Pro:20.04:LTSlinux-bluefield
All versions→ Not listed
Ubuntu:Pro:20.04:LTSlinux-gcp
All versions→ Not listed
Ubuntu:20.04:LTSlinux-gcp-5.11
All versions→ Not listed
Ubuntu:20.04:LTSlinux-gcp-5.13
All versions→ Not listed
Ubuntu:Pro:20.04:LTSlinux-gcp-5.15
All versions→ Not listed
Ubuntu:20.04:LTSlinux-gcp-5.8
All versions→ Not listed
Ubuntu:20.04:LTSlinux-gke
All versions→ Not listed
Ubuntu:20.04:LTSlinux-gke-5.15
All versions→ Not listed
Ubuntu:20.04:LTSlinux-gkeop
All versions→ Not listed
Ubuntu:20.04:LTSlinux-gkeop-5.15
All versions→ Not listed
Ubuntu:20.04:LTSlinux-hwe-5.11
All versions→ Not listed
Ubuntu:20.04:LTSlinux-hwe-5.13
All versions→ Not listed
Ubuntu:Pro:20.04:LTSlinux-hwe-5.15
All versions→ Not listed
Ubuntu:20.04:LTSlinux-hwe-5.8
All versions→ Not listed
Ubuntu:Pro:20.04:LTSlinux-ibm
All versions→ Not listed
Ubuntu:Pro:20.04:LTSlinux-ibm-5.15
All versions→ Not listed
Ubuntu:20.04:LTSlinux-intel-5.13
All versions→ Not listed
Ubuntu:Pro:20.04:LTSlinux-intel-iotg-5.15
All versions→ Not listed
Ubuntu:Pro:20.04:LTSlinux-iot
All versions→ Not listed
Ubuntu:Pro:20.04:LTSlinux-kvm
All versions→ Not listed
Ubuntu:Pro:20.04:LTSlinux-lowlatency-hwe-5.15
All versions→ Not listed
Ubuntu:Pro:20.04:LTSlinux-nvidia-tegra-5.15
All versions→ Not listed
Ubuntu:20.04:LTSlinux-oem-5.10
All versions→ Not listed
Ubuntu:20.04:LTSlinux-oem-5.13
All versions→ Not listed
Ubuntu:20.04:LTSlinux-oem-5.14
All versions→ Not listed
Ubuntu:20.04:LTSlinux-oem-5.6
All versions→ Not listed
Ubuntu:Pro:20.04:LTSlinux-oracle
All versions→ Not listed
Ubuntu:20.04:LTSlinux-oracle-5.11
All versions→ Not listed
Ubuntu:20.04:LTSlinux-oracle-5.13
All versions→ Not listed
Ubuntu:Pro:20.04:LTSlinux-oracle-5.15
All versions→ Not listed
Ubuntu:20.04:LTSlinux-oracle-5.8
All versions→ Not listed
Ubuntu:Pro:20.04:LTSlinux-raspi
All versions→ Not listed
Ubuntu:20.04:LTSlinux-raspi2
All versions→ Not listed
Ubuntu:20.04:LTSlinux-riscv
All versions→ Not listed
Ubuntu:20.04:LTSlinux-riscv-5.11
All versions→ Not listed
Ubuntu:Pro:20.04:LTSlinux-riscv-5.15
All versions→ Not listed
Ubuntu:20.04:LTSlinux-riscv-5.8
All versions→ Not listed
Ubuntu:Pro:20.04:LTSlinux-xilinx-zynqmp
All versions→ Not listed
Ubuntu:Pro:FIPS-updates:20.04:LTSlinux-aws-fips
All versions→ Not listed
Ubuntu:Pro:FIPS-updates:20.04:LTSlinux-azure-fips
All versions→ Not listed
Ubuntu:Pro:FIPS-updates:20.04:LTSlinux-fips
All versions→ Not listed
Ubuntu:Pro:FIPS-updates:20.04:LTSlinux-gcp-fips
All versions→ Not listed
Ubuntu:Pro:FIPS:20.04:LTSlinux-aws-fips
All versions→ Not listed
Ubuntu:Pro:FIPS:20.04:LTSlinux-azure-fips
All versions→ Not listed
Ubuntu:Pro:FIPS:20.04:LTSlinux-fips
All versions→ Not listed
Ubuntu:Pro:FIPS:20.04:LTSlinux-gcp-fips
All versions→ Not listed
Ubuntu:22.04:LTSlinux
All versions→ Not listed
Ubuntu:22.04:LTSlinux-allwinner-5.19
All versions→ Not listed
Ubuntu:22.04:LTSlinux-aws
All versions→ Not listed
Ubuntu:22.04:LTSlinux-aws-5.19
All versions→ Not listed
Ubuntu:22.04:LTSlinux-aws-6.2
All versions→ Not listed
Ubuntu:22.04:LTSlinux-aws-6.5
All versions→ Not listed
Ubuntu:22.04:LTSlinux-aws-6.8
All versions→ Not listed
Ubuntu:22.04:LTSlinux-azure
All versions→ Not listed
Ubuntu:22.04:LTSlinux-azure-5.19
All versions→ Not listed
Ubuntu:22.04:LTSlinux-azure-6.2
All versions→ Not listed
Ubuntu:22.04:LTSlinux-azure-6.5
All versions→ Not listed
Ubuntu:22.04:LTSlinux-azure-6.8
All versions→ Not listed
Ubuntu:22.04:LTSlinux-azure-fde
All versions→ Not listed
Ubuntu:22.04:LTSlinux-azure-fde-5.19
All versions→ Not listed
Ubuntu:22.04:LTSlinux-azure-fde-6.2
All versions→ Not listed
Ubuntu:22.04:LTSlinux-azure-fde-6.8
All versions→ Not listed
Ubuntu:22.04:LTSlinux-gcp
All versions→ Not listed
Ubuntu:22.04:LTSlinux-gcp-5.19
All versions→ Not listed
Ubuntu:22.04:LTSlinux-gcp-6.2
All versions→ Not listed
Ubuntu:22.04:LTSlinux-gcp-6.5
All versions→ Not listed
Ubuntu:22.04:LTSlinux-gcp-6.8
All versions→ Not listed
Ubuntu:22.04:LTSlinux-gke
All versions→ Not listed
Ubuntu:22.04:LTSlinux-gkeop
All versions→ Not listed
Ubuntu:22.04:LTSlinux-hwe-5.19
All versions→ Not listed
Ubuntu:22.04:LTSlinux-hwe-6.2
All versions→ Not listed
Ubuntu:22.04:LTSlinux-hwe-6.5
All versions→ Not listed
Ubuntu:22.04:LTSlinux-hwe-6.8
All versions→ Not listed
Ubuntu:22.04:LTSlinux-ibm
All versions→ Not listed
Ubuntu:22.04:LTSlinux-ibm-6.8
All versions→ Not listed
Ubuntu:22.04:LTSlinux-intel-iot-realtime
All versions→ Not listed
Ubuntu:22.04:LTSlinux-intel-iotg
All versions→ Not listed
Ubuntu:22.04:LTSlinux-kvm
All versions→ Not listed
Ubuntu:22.04:LTSlinux-lowlatency
All versions→ Not listed
Ubuntu:22.04:LTSlinux-lowlatency-hwe-5.19
All versions→ Not listed
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.2
All versions→ Not listed
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.5
All versions→ Not listed
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.8
All versions→ Not listed
Ubuntu:22.04:LTSlinux-nvidia
All versions→ Not listed
Ubuntu:22.04:LTSlinux-nvidia-6.2
All versions→ Not listed
Ubuntu:22.04:LTSlinux-nvidia-6.5
All versions→ Not listed
Ubuntu:22.04:LTSlinux-nvidia-6.8
All versions→ Not listed
Ubuntu:22.04:LTSlinux-nvidia-tegra
All versions→ Not listed
Ubuntu:22.04:LTSlinux-nvidia-tegra-igx
All versions→ Not listed
Ubuntu:22.04:LTSlinux-oem-5.17
All versions→ Not listed
Ubuntu:22.04:LTSlinux-oem-6.0
All versions→ Not listed
Ubuntu:22.04:LTSlinux-oem-6.1
All versions→ Not listed
Ubuntu:22.04:LTSlinux-oem-6.5
All versions→ Not listed
Ubuntu:22.04:LTSlinux-oracle
All versions→ Not listed
Ubuntu:22.04:LTSlinux-oracle-6.5
All versions→ Not listed
Ubuntu:22.04:LTSlinux-oracle-6.8
All versions→ Not listed
Ubuntu:22.04:LTSlinux-raspi
All versions→ Not listed
Ubuntu:22.04:LTSlinux-realtime
All versions→ Not listed
Ubuntu:22.04:LTSlinux-riscv
All versions→ Not listed
Ubuntu:22.04:LTSlinux-riscv-5.19
All versions→ Not listed
Ubuntu:22.04:LTSlinux-riscv-6.5
All versions→ Not listed
Ubuntu:22.04:LTSlinux-riscv-6.8
All versions→ Not listed
Ubuntu:22.04:LTSlinux-starfive-5.19
All versions→ Not listed
Ubuntu:22.04:LTSlinux-starfive-6.2
All versions→ Not listed
Ubuntu:22.04:LTSlinux-starfive-6.5
All versions→ Not listed
Ubuntu:22.04:LTSlinux-xilinx-zynqmp
All versions→ Not listed
Ubuntu:Nvidia-BlueField:22.04:LTSlinux-bluefield
All versions→ Not listed
Ubuntu:Pro:Realtime:22.04:LTSlinux-intel-iot-realtime
All versions→ Not listed
Ubuntu:Pro:Realtime:22.04:LTSlinux-realtime
All versions→ Not listed
Ubuntu:Pro:Realtime:22.04:LTSlinux-realtime-6.8
All versions→ Not listed
Ubuntu:Pro:FIPS-preview:22.04:LTSlinux-aws-fips
All versions→ Not listed
Ubuntu:Pro:FIPS-preview:22.04:LTSlinux-azure-fips
All versions→ Not listed
Ubuntu:Pro:FIPS-preview:22.04:LTSlinux-fips
All versions→ Not listed
Ubuntu:Pro:FIPS-preview:22.04:LTSlinux-gcp-fips
All versions→ Not listed
Ubuntu:Pro:FIPS-updates:22.04:LTSlinux-aws-fips
All versions→ Not listed
Ubuntu:Pro:FIPS-updates:22.04:LTSlinux-azure-fips
All versions→ Not listed
Ubuntu:Pro:FIPS-updates:22.04:LTSlinux-fips
All versions→ Not listed
Ubuntu:Pro:FIPS-updates:22.04:LTSlinux-gcp-fips
All versions→ Not listed
Ubuntu:24.04:LTSlinux
All versions→ Not listed
Ubuntu:24.04:LTSlinux-aws
All versions→ Not listed
Ubuntu:24.04:LTSlinux-aws-6.14
All versions→ Not listed
Ubuntu:24.04:LTSlinux-aws-6.17
All versions→ Not listed
Ubuntu:24.04:LTSlinux-aws-7.0
All versions→ Not listed
Ubuntu:24.04:LTSlinux-azure
All versions→ Not listed
Ubuntu:24.04:LTSlinux-azure-6.11
All versions→ Not listed
Ubuntu:24.04:LTSlinux-azure-6.14
All versions→ Not listed
Ubuntu:24.04:LTSlinux-azure-6.17
All versions→ Not listed
Ubuntu:24.04:LTSlinux-azure-7.0
All versions→ Not listed
Ubuntu:24.04:LTSlinux-azure-fde
All versions→ Not listed
Ubuntu:24.04:LTSlinux-azure-fde-6.14
All versions→ Not listed
Ubuntu:24.04:LTSlinux-azure-fde-6.17
All versions→ Not listed
Ubuntu:24.04:LTSlinux-azure-fde-7.0
All versions→ Not listed
Ubuntu:24.04:LTSlinux-azure-nvidia
All versions→ Not listed
Ubuntu:24.04:LTSlinux-azure-nvidia-6.14
All versions→ Not listed
Ubuntu:24.04:LTSlinux-gcp
All versions→ Not listed
Ubuntu:24.04:LTSlinux-gcp-6.11
All versions→ Not listed
Ubuntu:24.04:LTSlinux-gcp-6.14
All versions→ Not listed
Ubuntu:24.04:LTSlinux-gcp-6.17
All versions→ Not listed
Ubuntu:24.04:LTSlinux-gcp-7.0
All versions→ Not listed
Ubuntu:24.04:LTSlinux-gke
All versions→ Not listed
Ubuntu:24.04:LTSlinux-gkeop
All versions→ Not listed
Ubuntu:24.04:LTSlinux-hwe-6.11
All versions→ Not listed
Ubuntu:24.04:LTSlinux-hwe-6.14
All versions→ Not listed
Ubuntu:24.04:LTSlinux-hwe-6.17
All versions→ Not listed
Ubuntu:24.04:LTSlinux-hwe-7.0
All versions→ Not listed
Ubuntu:24.04:LTSlinux-ibm
All versions→ Not listed
Ubuntu:24.04:LTSlinux-lowlatency
All versions→ Not listed
Ubuntu:24.04:LTSlinux-lowlatency-hwe-6.11
All versions→ Not listed
Ubuntu:24.04:LTSlinux-nvidia
All versions→ Not listed
Ubuntu:24.04:LTSlinux-nvidia-6.11
All versions→ Not listed
Ubuntu:24.04:LTSlinux-nvidia-6.17
All versions→ Not listed
Ubuntu:24.04:LTSlinux-nvidia-7.0
All versions→ Not listed
Ubuntu:24.04:LTSlinux-nvidia-lowlatency
All versions→ Not listed
Ubuntu:24.04:LTSlinux-nvidia-tegra
All versions→ Not listed
Ubuntu:24.04:LTSlinux-oem-6.11
All versions→ Not listed
Ubuntu:24.04:LTSlinux-oem-6.14
All versions→ Not listed
Ubuntu:24.04:LTSlinux-oem-6.17
All versions→ Not listed
Ubuntu:24.04:LTSlinux-oem-6.8
All versions→ Not listed
Ubuntu:24.04:LTSlinux-oracle
All versions→ Not listed
Ubuntu:24.04:LTSlinux-oracle-6.14
All versions→ Not listed
Ubuntu:24.04:LTSlinux-oracle-6.17
All versions→ Not listed
Ubuntu:24.04:LTSlinux-oracle-7.0
All versions→ Not listed
Ubuntu:24.04:LTSlinux-raspi
All versions→ Not listed
Ubuntu:24.04:LTSlinux-raspi-realtime
All versions→ Not listed
Ubuntu:24.04:LTSlinux-realtime
All versions→ Not listed
Ubuntu:24.04:LTSlinux-riscv
All versions→ Not listed
Ubuntu:24.04:LTSlinux-riscv-6.14
All versions→ Not listed
Ubuntu:24.04:LTSlinux-riscv-6.17
All versions→ Not listed
Ubuntu:24.04:LTSlinux-riscv-7.0
All versions→ Not listed
Ubuntu:24.04:LTSlinux-vmware
All versions→ Not listed
Ubuntu:24.04:LTSlinux-xilinx
All versions→ Not listed
Ubuntu:Nvidia-BlueField:24.04:LTSlinux-bluefield
All versions→ Not listed
Ubuntu:Pro:Realtime:24.04:LTSlinux-raspi-realtime
All versions→ Not listed
Ubuntu:Pro:Realtime:24.04:LTSlinux-realtime
All versions→ Not listed
Ubuntu:Pro:Realtime:24.04:LTSlinux-realtime-6.14
All versions→ Not listed
Ubuntu:Pro:Realtime:24.04:LTSlinux-realtime-6.17
All versions→ Not listed
Ubuntu:Pro:FIPS-updates:24.04:LTSlinux-aws-fips
All versions→ Not listed
Ubuntu:Pro:FIPS-updates:24.04:LTSlinux-azure-fips
All versions→ Not listed
Ubuntu:Pro:FIPS-updates:24.04:LTSlinux-fips
All versions→ Not listed
Ubuntu:Pro:FIPS-updates:24.04:LTSlinux-gcp-fips
All versions→ Not listed
Ubuntu:26.10linux
All versions→ Not listed
Ubuntu:26.10linux-aws
All versions→ Not listed
Ubuntu:26.10linux-azure
All versions→ Not listed
Ubuntu:26.10linux-azure-fde
All versions→ Not listed
Ubuntu:26.10linux-gcp
All versions→ Not listed
Ubuntu:26.10linux-oracle
All versions→ Not listed
Ubuntu:26.10linux-raspi
All versions→ Not listed
Ubuntu:26.10linux-realtime
All versions→ Not listed
Ubuntu:26.10linux-riscv
All versions→ Not listed
Ubuntu:26.04:LTSlinux
All versions→ Not listed
Ubuntu:26.04:LTSlinux-aws
All versions→ Not listed
Ubuntu:26.04:LTSlinux-azure
All versions→ Not listed
Ubuntu:26.04:LTSlinux-azure-fde
All versions→ Not listed
Ubuntu:26.04:LTSlinux-gcp
All versions→ Not listed
Ubuntu:26.04:LTSlinux-gke
All versions→ Not listed
Ubuntu:26.04:LTSlinux-ibm
All versions→ Not listed
Ubuntu:26.04:LTSlinux-nvidia
All versions→ Not listed
Ubuntu:26.04:LTSlinux-nvidia-bos
All versions→ Not listed
Ubuntu:26.04:LTSlinux-oem-7.0
All versions→ Not listed
Ubuntu:26.04:LTSlinux-oracle
All versions→ Not listed
Ubuntu:26.04:LTSlinux-raspi
All versions→ Not listed
Ubuntu:26.04:LTSlinux-realtime
All versions→ Not listed
Ubuntu:26.04:LTSlinux-riscv
All versions→ Not listed
Ubuntu:26.04:LTSlinux-vmware
All versions→ Not listed

This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.

Original description The description as published by the source.

In the Linux kernel, the following vulnerability has been resolved: bpf: Validate the SRH which End.DT6 uncovers in End.BPF input_action_end_bpf() validates the SRH of a packet and pulls it into the head before the program runs. If the program decapsulates the packet with bpf_lwt_seg6_action(SEG6_LOCAL_ACTION_END_DT6), bpf_update_srh_state() looks for a routing header in the inner packet and takes it for the new SRH as it is. Nobody has looked at that header, and whoever has sent the packet has written it. ipv6_find_hdr() finds it in a fragment of the skb as well, but hdrlen is then read at that offset from skb->data, past the end of the head. The header need not be an SRH, and its hdrlen need not fit into the packet, but it is marked as valid, and bpf_lwt_seg6_adjust_srh() and bpf_lwt_seg6_store_bytes() check their offsets against it. A program which then adds a TLV at the end of the SRH, where hdrlen has it, makes bpf_lwt_seg6_adjust_srh() move and write memory behind the head of the skb, as far as the sender likes within the 2 KB that hdrlen can say: BUG: KASAN: slab-out-of-bounds in bpf_skb_net_hdr_push+0x185/0x240 Read of size 2088 at addr ffff888107d6f09e by task srh/102 BUG: KASAN: slab-out-of-bounds in bpf_skb_net_hdr_push+0x1b5/0x240 Write of size 8 at addr ffff888107d6f8be by task srh/102 Use seg6_get_srh(), which pulls and validates the header. Without a valid SRH the state says that there is none, and the packet goes its way as before. The pull can move th…

Source: OSV.dev (Open Source Vulnerabilities) OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details