CVE-2026-98096
Received Received - Intake

Buffer Overflow in Linux Kernel IPv6 Segment Routing

Vulnerability report for CVE-2026-98096, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-25

Last updated on: 2026-09-25

Assigner: kernel.org

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-25
Last Modified
2026-09-25
Generated
2026-09-25
AI Q&A
2026-09-25
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel involves incorrect handling of the IPv6 Segment Routing Header (SRH). When processing packets with SRH and other extension headers, the kernel fails to properly restore the network header position. This causes skb_network_offset() to return a negative value, leading to issues during routing, flow dissection, and packet forwarding.

Impact Analysis

This vulnerability can cause buffer overflows, out-of-bounds memory access, or crashes in the Linux kernel. It may disrupt network traffic processing, especially for IPv6 packets with SRH and other extension headers. Systems relying on BPF or flow dissectors could experience failures or security bypasses.

Mitigation Strategies

Update your Linux kernel to the latest patched version to resolve this vulnerability. Check your distribution's security advisories for the specific kernel version that addresses CVE-2026-98096 and apply it immediately.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-98096. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart