CVE-2026-98853: net: gso: limit recursive IP-in-IP segmentation

Published Oct 18, 2026
·
Updated

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

net: gso: limit recursive IP-in-IP segmentation

IP-in-IP GSO can re-enter inetgsosegment() or ipv6gsosegment() for each nested IP header. encaplevel tracks header bytes, not callback depth, so a deep chain can exhaust the kernel stack. Making inetgsosegment() stackable introduced unbounded IPv4 nesting; IPIP GSO/TSO later made the path reachable. The IPv6 stackable path was introduced separately and uses the same guard.

Count IPv4 and IPv6 GSO handler entries in skbgsocb, initialized once per top-level GSO operation and preserved across GRE/UDP context changes. Use the existing IPTUNNELRECURSIONLIMIT for both handlers. The first five entries pass, and the sixth returns -EINVAL before dispatching another GSO callback.

Affected Software

1 affected component
Linux Linux kernel

Event History

Oct 18, 2026
CVE Published
via MITRE·03:51 PM
Data Sourced
via MITRE·03:51 PM
Description
Data Sourced
via NVD·04:17 PM
Description

Frequently Asked Questions

1

What conditions are needed to trigger the kernel stack exhaustion path?

The path requires deeply nested IP-in-IP traffic reaching GSO segmentation. Each nested IP header can re-enter the IPv4 or IPv6 GSO segmentation handler, allowing callback recursion to grow until the kernel stack is exhausted.

2

Are both IPv4 and IPv6 affected?

Yes. The issue applies to the stackable IPv4 and IPv6 GSO segmentation paths; both now use the same IP_TUNNEL_RECURSION_LIMIT guard.

3

How does the fix limit recursion?

The fix counts IPv4 and IPv6 GSO handler entries in skb_gso_cb for each top-level GSO operation, preserving that count across GRE and UDP context changes. The first five entries are allowed, while a sixth entry returns -EINVAL before another GSO callback is dispatched.

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