CVE-2026-98096
ipv6: sr: restore network header before routing and forwarding
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.
INFO
Published Date :
Sept. 25, 2026, 11:17 a.m.
Last Modified :
Oct. 28, 2026, 6:58 p.m.
Remotely Exploit :
Yes !
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Apply the provided Linux kernel patch.
- Update kernel to a fixed version.
- Test network forwarding and dissection logic.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-98096.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-98096 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-98096
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-98096 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-98096 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Oct. 28, 2026
Action Type Old Value New Value Added CWE CWE-787 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 7.2.7 *cpe:2.3:o:linux:linux_kernel:7.3:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.53 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.111 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.222 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.0 up to (excluding) 6.1.189 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.158 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.10 up to (excluding) 5.10.271 Added Reference Type kernel.org: https://git.kernel.org/stable/c/3ad7dca5e03bd64c65983a19734337512fd75491 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/8f44d4160bcdb3136a9145a4b9c7816382976925 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/975b5b067f525a1b1338c4a3bee1c46545801518 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/97b21ef57dfabbff660a4672c9fef7edfb720f47 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/9cfbe2c381ab6d00a08e7a5b6028865adfb4e1bc Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/af08f62b5a5a446d6134a92d86771d3d12e0e3da Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/ce4c8beedc19aceeab0e7bdc6f34394fb158c47c Types: Patch Changed Reference Type nvd-ai-agent-0.4.0-gemma-4-31B-it: https://git.kernel.org/stable/c/3ad7dca5e03bd64c65983a19734337512fd75491 Types: Broken Link nvd-ai-agent-0.4.0-gemma-4-31B-it: https://git.kernel.org/stable/c/3ad7dca5e03bd64c65983a19734337512fd75491 Types: Broken Link, Patch Changed Reference Type nvd-ai-agent-0.4.0-gemma-4-31B-it: https://git.kernel.org/stable/c/975b5b067f525a1b1338c4a3bee1c46545801518 Types: Broken Link nvd-ai-agent-0.4.0-gemma-4-31B-it: https://git.kernel.org/stable/c/975b5b067f525a1b1338c4a3bee1c46545801518 Types: Broken Link, Patch Changed Reference Type nvd-ai-agent-0.4.0-gemma-4-31B-it: https://git.kernel.org/stable/c/97b21ef57dfabbff660a4672c9fef7edfb720f47 Types: Broken Link nvd-ai-agent-0.4.0-gemma-4-31B-it: https://git.kernel.org/stable/c/97b21ef57dfabbff660a4672c9fef7edfb720f47 Types: Broken Link, Patch Changed Reference Type nvd-ai-agent-0.4.0-gemma-4-31B-it: https://git.kernel.org/stable/c/ce4c8beedc19aceeab0e7bdc6f34394fb158c47c Types: Permissions Required nvd-ai-agent-0.4.0-gemma-4-31B-it: https://git.kernel.org/stable/c/ce4c8beedc19aceeab0e7bdc6f34394fb158c47c Types: Patch, Permissions Required Added Reference Type kernel.org: https://git.kernel.org/stable/c/f463c4786cf27376de7dfc0833a12e924a98f698 Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 19, 2026
Action Type Old Value New Value Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/98xxx/CVE-2026-98096.json">CVE-2026-98096</a> -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 03, 2026
Action Type Old Value New Value Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/98xxx/CVE-2026-98096.json">CVE-2026-98096</a> Added Reference https://git.kernel.org/stable/c/8f44d4160bcdb3136a9145a4b9c7816382976925 Added Reference https://git.kernel.org/stable/c/9cfbe2c381ab6d00a08e7a5b6028865adfb4e1bc Added Reference https://git.kernel.org/stable/c/af08f62b5a5a446d6134a92d86771d3d12e0e3da Added Reference https://git.kernel.org/stable/c/f463c4786cf27376de7dfc0833a12e924a98f698 -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Sep. 25, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Sep. 25, 2026
Action Type Old Value New Value Added 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. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/98xxx/CVE-2026-98096.json">CVE-2026-98096</a> Added Reference https://git.kernel.org/stable/c/3ad7dca5e03bd64c65983a19734337512fd75491 Added Reference https://git.kernel.org/stable/c/975b5b067f525a1b1338c4a3bee1c46545801518 Added Reference https://git.kernel.org/stable/c/97b21ef57dfabbff660a4672c9fef7edfb720f47 Added Reference https://git.kernel.org/stable/c/ce4c8beedc19aceeab0e7bdc6f34394fb158c47c