CVE-2026-89565: ipip: fix skb leak in collect_md mode when metadata_dst allocation fails

Published Sep 11, 2026
·
Updated

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

ipip: fix skb leak in collectmd mode when metadatadst allocation fails

In collectmd mode ipiptunnelrcv() returns 0 without freeing the skb when iptunrxdst() fails to allocate the metadatadst. ipiprcv() and mplsiprcv() are registered as xfrmtunnel handlers, so tunnel4rcv() and tunnelmpls4rcv() 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: ip6tunnel.c jumps to its drop label, ipgre.c and ip6gre.c return PACKETREJECT, which makes grercv() 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 collectmd mode and an atomic allocation failure, which is why it has gone unnoticed.

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 11, 2026
CVE Published
via MITRE·07:44 PM
Data Sourced
via MITRE·07:44 PM
Description

Frequently Asked Questions

1

Which systems are exposed to this skb leak?

Exposure requires an IPIP or MPLS-over-IP tunnel configured in collect_md mode. Systems without either of those tunnel types in collect_md mode are not described as affected.

2

What must happen to trigger the leak?

A packet must be received through the affected tunnel while allocation of metadata_dst fails in an atomic context. The failed allocation causes the receive path to report the packet as consumed without freeing its skb.

3

What is the practical impact of a successful trigger?

The packet buffer is leaked. Repeated triggering could accumulate leaked skbs, though the provided information does not quantify the resulting resource impact.

4

How can I determine whether my configuration is relevant?

Check whether the host has IPIP or MPLS-over-IP tunnels operating in collect_md mode. The issue is specifically tied to receive handling for those tunnel configurations and an atomic metadata_dst allocation failure.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203