# CVE-2026-89565: ipip: fix skb leak in collect\_md mode when metadata\_dst allocation fails

> 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.21% (percentile 7, 2026-11-26)
- **Published:** 2026-09-11T19:44:35.858Z
- **Modified:** 2026-10-19T09:17:52.323Z

## Who should check

- Anyone running Linux \>= cfc7381b3002756b1dcada32979e942aa3126e31, \< 1909df2d066424767429e13053eb9701263430ef; \>= cfc7381b3002756b1dcada32979e942aa3126e31, \< c4dc23de4cc75e4e304170b31bb8aeeacd5cb990; \>= cfc7381b3002756b1dcada32979e942aa3126e31, \< 6d8c5b266d0035a061573843a7243be068eb6118; \>= cfc7381b3002756b1dcada32979e942aa3126e31, \< 31e4be21dacee49395013caae28576484a049a4f; \>= cfc7381b3002756b1dcada32979e942aa3126e31, \< fd01f1a3ed4a189a784654f7c69eb565872f2e12; \>= cfc7381b3002756b1dcada32979e942aa3126e31, \< 6776efe4a52f289a3fc18f8adf19b035a7d8e1bb
- Anyone running Linux 4.9

## Description

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

ipip: fix skb leak in collect\_md mode when metadata\_dst allocation fails

In collect\_md mode ipip\_tunnel\_rcv() returns 0 without freeing the skb
when ip\_tun\_rx\_dst() fails to allocate the metadata\_dst. ipip\_rcv() and
mplsip\_rcv() are registered as xfrm\_tunnel handlers, so tunnel4\_rcv()
and tunnelmpls4\_rcv() read the zero return as "the packet has been
consumed" and do not free it either. The skb is leaked.

The other tunnel drivers all dispose of the packet at this point:
ip6\_tunnel.c jumps to its drop label, ip\_gre.c and ip6\_gre.c return
PACKET\_REJECT, which makes gre\_rcv() free the skb. Only ipip returns 0.

Jump to the existing drop label instead. It frees the skb and still
returns 0, so the packet keeps being reported as consumed, which is what
we want here: the outer header has already been pulled, and neither the
remaining handlers nor an ICMP unreachable have any use for it.

Triggering this needs an ipip or mplsip tunnel in collect\_md mode and an
atomic allocation failure, which is why it has gone unnoticed.

## Affected and fixed versions

- Linux: \>= cfc7381b3002756b1dcada32979e942aa3126e31, \< 1909df2d066424767429e13053eb9701263430ef; \>= cfc7381b3002756b1dcada32979e942aa3126e31, \< c4dc23de4cc75e4e304170b31bb8aeeacd5cb990; \>= cfc7381b3002756b1dcada32979e942aa3126e31, \< 6d8c5b266d0035a061573843a7243be068eb6118; \>= cfc7381b3002756b1dcada32979e942aa3126e31, \< 31e4be21dacee49395013caae28576484a049a4f; \>= cfc7381b3002756b1dcada32979e942aa3126e31, \< fd01f1a3ed4a189a784654f7c69eb565872f2e12; \>= cfc7381b3002756b1dcada32979e942aa3126e31, \< 6776efe4a52f289a3fc18f8adf19b035a7d8e1bb (cvelist)
- Linux: 4.9 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2026-89565.md
Affected: Linux >= cfc7381b3002756b1dcada32979e942aa3126e31, < 1909df2d066424767429e13053eb9701263430ef; >= cfc7381b3002756b1dcada32979e942aa3126e31, < c4dc23de4cc75e4e304170b31bb8aeeacd5cb990; >= cfc7381b3002756b1dcada32979e942aa3126e31, < 6d8c5b266d0035a061573843a7243be068eb6118; >= cfc7381b3002756b1dcada3…
Fixed in: Linux 1909df2d066424767429e13053eb9701263430ef, Linux 6d8c5b266d0035a061573843a7243be068eb6118, Linux 31e4be21dacee49395013caae28576484a049a4f, Linux 6776efe4a52f289a3fc18f8adf19b035a7d8e1bb

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= cfc7381b3002756b1dcada32979e942aa3126e31, \< 1909df2d066424767429e13053eb9701263430ef; \>= cfc7381b3002756b1dcada32979e942aa3126e31, \< c4dc23de4cc75e4e304170b31bb8aeeacd5cb990; \>= cfc7381b3002756b1dcada32979e942aa3126e31, \< 6d8c5b266d0035a061573843a7243be068eb6118; \>= cfc7381b3002756b1dcada32979e942aa3126e31, \< 31e4be21dacee49395013caae28576484a049a4f; \>= cfc7381b3002756b1dcada32979e942aa3126e31, \< fd01f1a3ed4a189a784654f7c69eb565872f2e12; \>= cfc7381b3002756b1dcada32979e942aa3126e31, \< 6776efe4a52f289a3fc18f8adf19b035a7d8e1bb; Linux 4.9.

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

Yes. Fixed in Linux 1909df2d066424767429e13053eb9701263430ef, Linux 6d8c5b266d0035a061573843a7243be068eb6118, Linux 31e4be21dacee49395013caae28576484a049a4f, Linux 6776efe4a52f289a3fc18f8adf19b035a7d8e1bb. Upgrade Linux to 6776efe4a52f289a3fc18f8adf19b035a7d8e1bb or later.

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

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/1909df2d066424767429e13053eb9701263430ef>
- other: <https://git.kernel.org/stable/c/c4dc23de4cc75e4e304170b31bb8aeeacd5cb990>
- other: <https://git.kernel.org/stable/c/6d8c5b266d0035a061573843a7243be068eb6118>
- other: <https://git.kernel.org/stable/c/31e4be21dacee49395013caae28576484a049a4f>
- other: <https://git.kernel.org/stable/c/fd01f1a3ed4a189a784654f7c69eb565872f2e12>
- other: <https://git.kernel.org/stable/c/6776efe4a52f289a3fc18f8adf19b035a7d8e1bb>

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

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