CVE-2026-89565
ipip: fix skb leak in collect_md mode when metadata_dst allocation fails
Reported by linux · Published September 11, 2026
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.
EPSS 0.17% · 6.8th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| bpftool6.18 | Amazon Linux | 1:6.18.51-120.162.amzn2023 |
| kernel-modules-extra | Amazon Linux | 1:6.1.188-233.385.amzn2023 |
| Linux | Linux | c4dc23de4cc75e4e304170b31bb8aeeacd5cb990, 4.9 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | cfc7381b3002756b1dcada32979e942aa3126e31, cfc7381b3002756b1dcada32979e942aa3126e31, cfc7381b3002756b1dcada32979e942aa3126e31 |
| Linux | Linux | 4.9, 0, 6.1.188 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| Linux | Linux | 6.6.157, 6.1.188, * |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| linux | linux_kernel | 4.9, 4.9, 4.9 |
| amazon:2023 | kernel-livepatch-6.1.188-233.385 | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-livepatch-6.18.51-120.162 | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-livepatch-6.12.110-135.201 | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
…and 18 more
Timeline
- Sep 11, 2026 CVE Published
- Sep 12, 2026 EPSS Score (10 in total, the first dated here)
- Sep 12, 2026 Coalition ESS Score
- Oct 19, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-89565
vulnetix vdb fixes CVE-2026-89565
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-89565/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart