CVE-2026-98096
ipv6: sr: restore network header before routing and forwarding
Check your servers for CVE-2026-98096
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98096 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.67%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 47.2% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 1ababeba4a21f3dba3da3523c670b207fb2feb62, before f463c4786cf27376de7dfc0833a12e924a98f698 affected from 1ababeba4a21f3dba3da3523c670b207fb2feb62, before 8f44d4160bcdb3136a9145a4b9c7816382976925 affected from 1ababeba4a21f3dba3da3523c670b207fb2feb62, before 9cfbe2c381ab6d00a08e7a5b6028865adfb4e1bc affected from 1ababeba4a21f3dba3da3523c670b207fb2feb62, before af08f62b5a5a446d6134a92d86771d3d12e0e3da affected from 1ababeba4a21f3dba3da3523c670b207fb2feb62, before ce4c8beedc19aceeab0e7bdc6f34394fb158c47c affected from 1ababeba4a21f3dba3da3523c670b207fb2feb62, before 97b21ef57dfabbff660a4672c9fef7edfb720f47 affected from 1ababeba4a21f3dba3da3523c670b207fb2feb62, before 3ad7dca5e03bd64c65983a19734337512fd75491 affected from 1ababeba4a21f3dba3da3523c670b207fb2feb62, before 975b5b067f525a1b1338c4a3bee1c46545801518
Other versions: unaffected
|
| Linux |
affected 4.10 unaffected before 4.10 unaffected from 5.10.271 up to and including 5.10.* unaffected from 5.15.222 up to and including 5.15.* unaffected from 6.1.189 up to and including 6.1.* unaffected from 6.6.158 up to and including 6.6.* unaffected from 6.12.111 up to and including 6.12.* unaffected from 6.18.53 up to and including 6.18.* unaffected from 7.2.7 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98096 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98096
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-98096
trivy image --scanners vuln IMAGE | grep CVE-2026-98096
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/f463c4786cf27376de7dfc0833a12e924a98f698 git.kernel.org
- https://git.kernel.org/stable/c/8f44d4160bcdb3136a9145a4b9c7816382976925 git.kernel.org
- https://git.kernel.org/stable/c/9cfbe2c381ab6d00a08e7a5b6028865adfb4e1bc git.kernel.org
- https://git.kernel.org/stable/c/af08f62b5a5a446d6134a92d86771d3d12e0e3da git.kernel.org
- https://git.kernel.org/stable/c/ce4c8beedc19aceeab0e7bdc6f34394fb158c47c git.kernel.org
- https://git.kernel.org/stable/c/97b21ef57dfabbff660a4672c9fef7edfb720f47 git.kernel.org
- https://git.kernel.org/stable/c/3ad7dca5e03bd64c65983a19734337512fd75491 git.kernel.org
- https://git.kernel.org/stable/c/975b5b067f525a1b1338c4a3bee1c46545801518 git.kernel.org
Source: the record CVE-2026-98096 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse