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… (CVE-2026-98853)
Description
A vulnerability in the Linux kernel's IP-in-IP Generic Segmentation Offload (GSO) implementation allowed recursive segmentation calls that could exhaust the kernel stack. This was due to unbounded IPv4 and IPv6 IP-in-IP nesting in GSO handlers. The issue has been resolved by limiting recursion depth using the existing IP_TUNNEL_RECURSION_LIMIT, preventing excessive nested calls.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel contained a vulnerability in its IP-in-IP GSO implementation where recursive calls to inet_gso_segment() or ipv6_gso_segment() could occur for each nested IP header. The encap_level variable tracked header bytes but not the callback recursion depth, allowing deep nesting to exhaust the kernel stack. This was introduced when inet_gso_segment() became stackable, enabling unbounded IPv4 nesting, and later IPIP GSO/TSO made this path reachable. The IPv6 stackable path shared the same issue. The fix counts IPv4 and IPv6 GSO handler entries in skb_gso_cb, initialized once per top-level GSO operation and preserved across GRE/UDP context changes. The recursion is limited to five entries, with the sixth call returning -EINVAL to prevent further recursion.
Potential Impact
The vulnerability could lead to kernel stack exhaustion due to unbounded recursive IP-in-IP segmentation calls. This may cause denial of service or kernel instability. No known exploits in the wild have been reported. The impact is limited to systems using IP-in-IP GSO features in the Linux kernel.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to limit recursive IP-in-IP segmentation calls using the IP_TUNNEL_RECURSION_LIMIT. Users should apply the official kernel updates that include this fix. Since this is a kernel-level vulnerability, upgrading to the patched kernel version is the recommended remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-3hxr-fh6w-v89j
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98853"]
Threat ID: 6ad520a92cdf04f656993896
Added to database: 10/18/2026, 19:40:25 UTC
Last enriched: 10/18/2026, 22:16:34 UTC
Last updated: 10/18/2026, 22:16:34 UTC
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.