# CVE-2026-89563: ip6\_tunnel: use skb\_cow\_head() in ip6\_tnl\_xmit()

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **Published:** 2026-09-11T19:44:34.375Z
- **Modified:** 2026-10-19T09:17:52.040Z

## Who should check

- Anyone running Linux \>= 058214a4d1dfefed9f01a277fadd3590acb5f990, \< 6e8eff8ed13b14708bc39f170144eacde494aac6; \>= 058214a4d1dfefed9f01a277fadd3590acb5f990, \< dc1a319a4815c074914e2812e0e9cd0164ca682b; \>= 058214a4d1dfefed9f01a277fadd3590acb5f990, \< 629d5557e635cdbc109a14ed913ba5a540e3f79a; \>= 058214a4d1dfefed9f01a277fadd3590acb5f990, \< defa0adeff132cc90ed66915b9a104d9393e1e54; \>= 058214a4d1dfefed9f01a277fadd3590acb5f990, \< 37df5bc6b5ccad88c2faa0f5466f150178882b74; \>= 058214a4d1dfefed9f01a277fadd3590acb5f990, \< b36dfd6e8cff00cea81c11cc0af88d1564763461; \>= 058214a4d1dfefed9f01a277fadd3590acb5f990, \< 8fc56ca49fc0ee1725b55c67bb43ab0dd01f3f52; \>= 058214a4d1dfefed9f01a277fadd3590acb5f990, \< 87f21b59ddc618eff9670c174842964ad65fdade
- Anyone running Linux 4.7

## Description

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

ip6\_tunnel: use skb\_cow\_head() in ip6\_tnl\_xmit()

ip6\_tnl\_xmit() may need to expand headroom before it can push the
outer IPv6 and optional encap headers. It currently does that with
skb\_realloc\_headroom(), copies skb-\>sk ownership, consumes the original
skb, and then continues processing with the replacement skb kept only in
its local variable.

That is safe only if the helper cannot fail afterwards. But this helper
still has post-reallocation error exits. collect\_md tunnels reject
non-NONE encap after the replacement, and ip6\_tnl\_encap() can also fail
later. In those cases the helper returns an error to its callers while
the caller still only has the original skb pointer.

Both ip6\_tnl\_start\_xmit() and the IPv6 GRE paths free the caller skb on
error, so they can end up freeing an skb that ip6\_tnl\_xmit() already
consumed.

Use skb\_cow\_head() instead. It provides the required headroom and
writability without privately replacing the caller-owned skb, so later
error returns cannot leave callers with a stale pointer.

The Ethernet users, ip6gretap and ip6erspan, clear IFF\_TX\_SKB\_SHARING
and already call skb\_cow\_head() before entering ip6\_tnl\_xmit(). They do
not rely on the removed skb\_shared() reallocation. This also makes the
IPv6 tunnel path consistent with ip\_tunnel\_xmit().

## Affected and fixed versions

- Linux: \>= 058214a4d1dfefed9f01a277fadd3590acb5f990, \< 6e8eff8ed13b14708bc39f170144eacde494aac6; \>= 058214a4d1dfefed9f01a277fadd3590acb5f990, \< dc1a319a4815c074914e2812e0e9cd0164ca682b; \>= 058214a4d1dfefed9f01a277fadd3590acb5f990, \< 629d5557e635cdbc109a14ed913ba5a540e3f79a; \>= 058214a4d1dfefed9f01a277fadd3590acb5f990, \< defa0adeff132cc90ed66915b9a104d9393e1e54; \>= 058214a4d1dfefed9f01a277fadd3590acb5f990, \< 37df5bc6b5ccad88c2faa0f5466f150178882b74; \>= 058214a4d1dfefed9f01a277fadd3590acb5f990, \< b36dfd6e8cff00cea81c11cc0af88d1564763461; \>= 058214a4d1dfefed9f01a277fadd3590acb5f990, \< 8fc56ca49fc0ee1725b55c67bb43ab0dd01f3f52; \>= 058214a4d1dfefed9f01a277fadd3590acb5f990, \< 87f21b59ddc618eff9670c174842964ad65fdade (cvelist)
- Linux: 4.7 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2026-89563.md
Affected: Linux >= 058214a4d1dfefed9f01a277fadd3590acb5f990, < 6e8eff8ed13b14708bc39f170144eacde494aac6; >= 058214a4d1dfefed9f01a277fadd3590acb5f990, < dc1a319a4815c074914e2812e0e9cd0164ca682b; >= 058214a4d1dfefed9f01a277fadd3590acb5f990, < 629d5557e635cdbc109a14ed913ba5a540e3f79a; >= 058214a4d1dfefed9f01a27…
Fixed in: Linux 6e8eff8ed13b14708bc39f170144eacde494aac6, Linux 629d5557e635cdbc109a14ed913ba5a540e3f79a, Linux 37df5bc6b5ccad88c2faa0f5466f150178882b74, Linux 8fc56ca49fc0ee1725b55c67bb43ab0dd01f3f52, Linux 87f21b59ddc618eff9670c174842964ad65fdade

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

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

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

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 058214a4d1dfefed9f01a277fadd3590acb5f990, \< 6e8eff8ed13b14708bc39f170144eacde494aac6; \>= 058214a4d1dfefed9f01a277fadd3590acb5f990, \< dc1a319a4815c074914e2812e0e9cd0164ca682b; \>= 058214a4d1dfefed9f01a277fadd3590acb5f990, \< 629d5557e635cdbc109a14ed913ba5a540e3f79a; \>= 058214a4d1dfefed9f01a277fadd3590acb5f990, \< defa0adeff132cc90ed66915b9a104d9393e1e54; \>= 058214a4d1dfefed9f01a277fadd3590acb5f990, \< 37df5bc6b5ccad88c2faa0f5466f150178882b74; \>= 058214a4d1dfefed9f01a277fadd3590acb5f990, \< b36dfd6e8cff00cea81c11cc0af88d1564763461; \>= 058214a4d1dfefed9f01a277fadd3590acb5f990, \< 8fc56ca49fc0ee1725b55c67bb43ab0dd01f3f52; \>= 058214a4d1dfefed9f01a277fadd3590acb5f990, \< 87f21b59ddc618eff9670c174842964ad65fdade; Linux 4.7.

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

Yes. Fixed in Linux 6e8eff8ed13b14708bc39f170144eacde494aac6, Linux 629d5557e635cdbc109a14ed913ba5a540e3f79a, Linux 37df5bc6b5ccad88c2faa0f5466f150178882b74, Linux 8fc56ca49fc0ee1725b55c67bb43ab0dd01f3f52, Linux 87f21b59ddc618eff9670c174842964ad65fdade. Upgrade Linux to 87f21b59ddc618eff9670c174842964ad65fdade or later.

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

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/6e8eff8ed13b14708bc39f170144eacde494aac6>
- other: <https://git.kernel.org/stable/c/dc1a319a4815c074914e2812e0e9cd0164ca682b>
- other: <https://git.kernel.org/stable/c/629d5557e635cdbc109a14ed913ba5a540e3f79a>
- other: <https://git.kernel.org/stable/c/defa0adeff132cc90ed66915b9a104d9393e1e54>
- other: <https://git.kernel.org/stable/c/37df5bc6b5ccad88c2faa0f5466f150178882b74>
- other: <https://git.kernel.org/stable/c/b36dfd6e8cff00cea81c11cc0af88d1564763461>
- other: <https://git.kernel.org/stable/c/8fc56ca49fc0ee1725b55c67bb43ab0dd01f3f52>
- other: <https://git.kernel.org/stable/c/87f21b59ddc618eff9670c174842964ad65fdade>

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

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