# CVE-2026-98802: seg6: ensure packet data is writable before modifying SRH and IPv6 DA

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.20% (percentile 5, 2026-11-26)
- **Published:** 2026-10-18T15:48:49.192Z
- **Modified:** 2026-10-19T10:19:44.260Z

## Who should check

- Anyone running Linux \>= 140f04c33bbcf89440dcaf8bef04918abff5a52d, \< e9141fdb7a2ead48cfcd60c681aba91d3014255b; \>= 140f04c33bbcf89440dcaf8bef04918abff5a52d, \< 8ae3f4067ba4ae3a15581392f6dac422e3d3def0
- Anyone running Linux 4.14

## Description

In the Linux kernel, the following vulnerability has been resolved:

seg6: ensure packet data is writable before modifying SRH and IPv6 DA

advance\_nextseg() modifies the SRH Segments Left field and the IPv6
destination address without ensuring the packet data is writable.
seg6\_next\_csid\_advance\_arg() has the same problem when it advances the
NEXT-C-SID argument in the destination address.

The skb may be cloned, for example by an AF\_PACKET socket receiving on
the ingress device. advance\_nextseg() and seg6\_next\_csid\_advance\_arg()
then write into the packet data shared with the clone. A read from that
socket can return the modified packet instead of the received one. The
simplified path below shows this for advance\_nextseg():

\_\_netif\_receive\_skb\_one\_core
  \_\_netif\_receive\_skb\_core
    deliver\_skb               \[orig: users=2, cloned=0\]
      packet\_rcv
        skb\_clone             clone queued to the AF\_PACKET socket
        consume\_skb(orig)     \[orig: users=1, cloned=1\]
  ipv6\_rcv
    ip6\_rcv\_core              skb\_share\_check: no-op \[orig: users=1\]
    \[...\]
      input\_action\_end\_core
        advance\_nextseg       writes into the data shared with the clone

Call skb\_ensure\_writable() in advance\_nextseg() and in
seg6\_next\_csid\_advance\_arg() before they modify the packet data.
skb\_ensure\_writable() may reallocate skb-\>head, which invalidates the
pointers into the packet data taken before the call.
advance\_nextseg() now returns a valid SRH pointer, or NULL if
skb\_ensure\_writable() fails.
seg6\_next\_csid\_advance\_arg() takes the pointer to the destination
address from the skb after skb\_ensure\_writable().
On failure, the callers drop the packet with SKB\_DROP\_REASON\_NOMEM.

## Affected and fixed versions

- Linux: \>= 140f04c33bbcf89440dcaf8bef04918abff5a52d, \< e9141fdb7a2ead48cfcd60c681aba91d3014255b; \>= 140f04c33bbcf89440dcaf8bef04918abff5a52d, \< 8ae3f4067ba4ae3a15581392f6dac422e3d3def0 (cvelist)
- Linux: 4.14 (cvelist)

## Mitigation

- Upgrade Linux to 8ae3f4067ba4ae3a15581392f6dac422e3d3def0 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-98802. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98802.md
Affected: Linux >= 140f04c33bbcf89440dcaf8bef04918abff5a52d, < e9141fdb7a2ead48cfcd60c681aba91d3014255b; >= 140f04c33bbcf89440dcaf8bef04918abff5a52d, < 8ae3f4067ba4ae3a15581392f6dac422e3d3def0; Linux 4.14
Fixed in: Linux 8ae3f4067ba4ae3a15581392f6dac422e3d3def0

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-98802 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 140f04c33bbcf89440dcaf8bef04918abff5a52d, \< e9141fdb7a2ead48cfcd60c681aba91d3014255b; \>= 140f04c33bbcf89440dcaf8bef04918abff5a52d, \< 8ae3f4067ba4ae3a15581392f6dac422e3d3def0; Linux 4.14.

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

Yes. Fixed in Linux 8ae3f4067ba4ae3a15581392f6dac422e3d3def0. Upgrade Linux to 8ae3f4067ba4ae3a15581392f6dac422e3d3def0 or later.

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

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

- other: <https://git.kernel.org/stable/c/e9141fdb7a2ead48cfcd60c681aba91d3014255b>
- other: <https://git.kernel.org/stable/c/8ae3f4067ba4ae3a15581392f6dac422e3d3def0>

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

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