# CVE-2026-98096: ipv6: sr: restore network header before routing and forwarding

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.4
- **CVSS:** 7.4 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.67% (percentile 47, 2026-11-26)
- **CWE:** CWE-787
- **Published:** 2026-09-25T10:24:27.098Z
- **Modified:** 2026-10-28T18:58:29.167Z

## Who should check

- Anyone running Linux \>= 1ababeba4a21f3dba3da3523c670b207fb2feb62, \< f463c4786cf27376de7dfc0833a12e924a98f698; \>= 1ababeba4a21f3dba3da3523c670b207fb2feb62, \< 8f44d4160bcdb3136a9145a4b9c7816382976925; \>= 1ababeba4a21f3dba3da3523c670b207fb2feb62, \< 9cfbe2c381ab6d00a08e7a5b6028865adfb4e1bc; \>= 1ababeba4a21f3dba3da3523c670b207fb2feb62, \< af08f62b5a5a446d6134a92d86771d3d12e0e3da; \>= 1ababeba4a21f3dba3da3523c670b207fb2feb62, \< ce4c8beedc19aceeab0e7bdc6f34394fb158c47c; \>= 1ababeba4a21f3dba3da3523c670b207fb2feb62, \< 97b21ef57dfabbff660a4672c9fef7edfb720f47; \>= 1ababeba4a21f3dba3da3523c670b207fb2feb62, \< 3ad7dca5e03bd64c65983a19734337512fd75491; \>= 1ababeba4a21f3dba3da3523c670b207fb2feb62, \< 975b5b067f525a1b1338c4a3bee1c46545801518
- Anyone running Linux 4.10

## 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.

## Affected and fixed versions

- Linux: \>= 1ababeba4a21f3dba3da3523c670b207fb2feb62, \< f463c4786cf27376de7dfc0833a12e924a98f698; \>= 1ababeba4a21f3dba3da3523c670b207fb2feb62, \< 8f44d4160bcdb3136a9145a4b9c7816382976925; \>= 1ababeba4a21f3dba3da3523c670b207fb2feb62, \< 9cfbe2c381ab6d00a08e7a5b6028865adfb4e1bc; \>= 1ababeba4a21f3dba3da3523c670b207fb2feb62, \< af08f62b5a5a446d6134a92d86771d3d12e0e3da; \>= 1ababeba4a21f3dba3da3523c670b207fb2feb62, \< ce4c8beedc19aceeab0e7bdc6f34394fb158c47c; \>= 1ababeba4a21f3dba3da3523c670b207fb2feb62, \< 97b21ef57dfabbff660a4672c9fef7edfb720f47; \>= 1ababeba4a21f3dba3da3523c670b207fb2feb62, \< 3ad7dca5e03bd64c65983a19734337512fd75491; \>= 1ababeba4a21f3dba3da3523c670b207fb2feb62, \< 975b5b067f525a1b1338c4a3bee1c46545801518 (cvelist)
- Linux: 4.10 (cvelist)

## Mitigation

- Upgrade Linux to 975b5b067f525a1b1338c4a3bee1c46545801518 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98096. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98096.md
Affected: Linux >= 1ababeba4a21f3dba3da3523c670b207fb2feb62, < f463c4786cf27376de7dfc0833a12e924a98f698; >= 1ababeba4a21f3dba3da3523c670b207fb2feb62, < 8f44d4160bcdb3136a9145a4b9c7816382976925; >= 1ababeba4a21f3dba3da3523c670b207fb2feb62, < 9cfbe2c381ab6d00a08e7a5b6028865adfb4e1bc; >= 1ababeba4a21f3dba3da352…
Fixed in: Linux 8f44d4160bcdb3136a9145a4b9c7816382976925, Linux 9cfbe2c381ab6d00a08e7a5b6028865adfb4e1bc, Linux 97b21ef57dfabbff660a4672c9fef7edfb720f47, Linux 3ad7dca5e03bd64c65983a19734337512fd75491, Linux 975b5b067f525a1b1338c4a3bee1c46545801518

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98096 being exploited?

There is no confirmed exploitation: CVE-2026-98096 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.67% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98096?

High: CVSS 7.4 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-98096?

Linux \>= 1ababeba4a21f3dba3da3523c670b207fb2feb62, \< f463c4786cf27376de7dfc0833a12e924a98f698; \>= 1ababeba4a21f3dba3da3523c670b207fb2feb62, \< 8f44d4160bcdb3136a9145a4b9c7816382976925; \>= 1ababeba4a21f3dba3da3523c670b207fb2feb62, \< 9cfbe2c381ab6d00a08e7a5b6028865adfb4e1bc; \>= 1ababeba4a21f3dba3da3523c670b207fb2feb62, \< af08f62b5a5a446d6134a92d86771d3d12e0e3da; \>= 1ababeba4a21f3dba3da3523c670b207fb2feb62, \< ce4c8beedc19aceeab0e7bdc6f34394fb158c47c; \>= 1ababeba4a21f3dba3da3523c670b207fb2feb62, \< 97b21ef57dfabbff660a4672c9fef7edfb720f47; \>= 1ababeba4a21f3dba3da3523c670b207fb2feb62, \< 3ad7dca5e03bd64c65983a19734337512fd75491; \>= 1ababeba4a21f3dba3da3523c670b207fb2feb62, \< 975b5b067f525a1b1338c4a3bee1c46545801518; Linux 4.10.

### Is there a fix for CVE-2026-98096?

Yes. Fixed in Linux 8f44d4160bcdb3136a9145a4b9c7816382976925, Linux 9cfbe2c381ab6d00a08e7a5b6028865adfb4e1bc, Linux 97b21ef57dfabbff660a4672c9fef7edfb720f47, Linux 3ad7dca5e03bd64c65983a19734337512fd75491, Linux 975b5b067f525a1b1338c4a3bee1c46545801518. Upgrade Linux to 975b5b067f525a1b1338c4a3bee1c46545801518 or later.

### How do I check if I'm affected by CVE-2026-98096?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/f463c4786cf27376de7dfc0833a12e924a98f698>
- patch: <https://git.kernel.org/stable/c/8f44d4160bcdb3136a9145a4b9c7816382976925>
- patch: <https://git.kernel.org/stable/c/9cfbe2c381ab6d00a08e7a5b6028865adfb4e1bc>
- patch: <https://git.kernel.org/stable/c/af08f62b5a5a446d6134a92d86771d3d12e0e3da>
- patch: <https://git.kernel.org/stable/c/ce4c8beedc19aceeab0e7bdc6f34394fb158c47c>
- patch: <https://git.kernel.org/stable/c/97b21ef57dfabbff660a4672c9fef7edfb720f47>
- patch: <https://git.kernel.org/stable/c/3ad7dca5e03bd64c65983a19734337512fd75491>
- patch: <https://git.kernel.org/stable/c/975b5b067f525a1b1338c4a3bee1c46545801518>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98096>

HTML: <https://flawdb.com/CVE-2026-98096> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98096>
