CVE-2026-98096
ipv6: sr: restore network header before routing and forwarding
Reported by linux · Published September 25, 2026
In the Linux kernel, the following vulnerability has been resolved: ipv6: sr: restore network header before routing and forwarding ipv6_srh_rcv() runs with skb->data at the Segment Routing Header (SRH) while skb_network_header() points at the IPv6 header. When segments_left > 0, ipv6_srh_rcv() previously restored the skb->data position by pushing sizeof(struct ipv6hdr), assuming the SRH immediately followed the fixed IPv6 header. If another extension header (such as a Hop-by-Hop options header) precedes the SRH, skb_network_offset() remained negative. This led to two problems: 1. During ip6_route_input(), fib6_rules_early_flow_dissect() invokes __skb_flow_dissect() which passes the negative skb_network_offset() to flow dissection, breaking BPF and C flow dissector logic. 2. If forwarded via ip6_forward() or redirected via act_mirred, downstream handlers (like sch_fragment() or neighbour output) pass the negative offset as an unsigned length, triggering OOB memcpy or buffer overflows. Fix this by pushing -skb_network_offset(skb) before routing, ensuring skb_network_offset(skb) is 0 for route lookup / flow dissection as well as downstream forwarding. On the loopback path, pull skb_transport_offset(skb) to restore skb->data to the SRH before looping back.
EPSS 0.50% · 44.0th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.18-devel | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel-modules-extra | Amazon Linux | 1:6.1.188-233.393.amzn2023 |
| kernel6.12-headers | Amazon Linux | 1:6.12.111-136.204.amzn2023 |
| kernel6.12 | Amazon Linux | 1:6.12.111-136.204.amzn2023 |
| kernel-tools | Amazon Linux | 1:6.1.188-233.393.amzn2023 |
| bpftool | Amazon Linux | 1:6.1.188-233.393.amzn2023 |
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| bpftool6.12 | Amazon Linux | 1:6.12.111-136.204.amzn2023 |
| python3-perf6.18 | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel6.18-modules-extra | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel-devel | Amazon Linux | 1:6.1.188-233.393.amzn2023 |
| kernel6.18-tools | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
12 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 1ababeba4a21f3dba3da3523c670b207fb2feb62, 1ababeba4a21f3dba3da3523c670b207fb2feb62, 1ababeba4a21f3dba3da3523c670b207fb2feb62 |
| Linux | Linux | 4.10, 0, 5.10.271 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| Linux | linux_kernel | |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
…and 19 more
Timeline
- Sep 25, 2026 CVE Published
- Sep 26, 2026 EPSS Score (22 in total, the first dated here)
- Oct 19, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-98096
vulnetix vdb fixes CVE-2026-98096
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-98096/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart