{"id":"CVE-2026-98853","state":"PUBLISHED","title":"net: gso: limit recursive IP-in-IP segmentation","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: gso: limit recursive IP-in-IP segmentation\n\nIP-in-IP GSO can re-enter inet_gso_segment() or ipv6_gso_segment()\nfor each nested IP header. encap_level tracks header bytes, not callback\ndepth, so a deep chain can exhaust the kernel stack. Making\ninet_gso_segment() stackable introduced unbounded IPv4 nesting; IPIP\nGSO/TSO later made the path reachable. The IPv6 stackable path was\nintroduced separately and uses the same guard.\n\nCount IPv4 and IPv6 GSO handler entries in skb_gso_cb, initialized once\nper top-level GSO operation and preserved across GRE/UDP context changes.\nUse the existing IP_TUNNEL_RECURSION_LIMIT for both handlers. The first\nfive entries pass, and the sixth returns -EINVAL before dispatching\nanother GSO callback.","publishedAt":"2026-10-18T15:51:02.683Z","updatedAt":"2026-10-30T12:40:14.136Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"3347c960295583eee3fd58e5c539fb1972fbc005","status":"affected","lessThan":"388604279da3d0698a151efa4fb6d852efa0de4a","versionType":"git"},{"version":"3347c960295583eee3fd58e5c539fb1972fbc005","status":"affected","lessThan":"c949646c900e879afce47df1b607fa320eb63bf2","versionType":"git"},{"version":"3347c960295583eee3fd58e5c539fb1972fbc005","status":"affected","lessThan":"006c8b834aed8b02bd8fb9fb05e9e7ead37d1763","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/net/gso.h","net/core/gso.c","net/ipv4/af_inet.c","net/ipv6/ip6_offload.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.13","versionType":"semver"},{"version":"6.18.60","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.10","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/net/gso.h","net/core/gso.c","net/ipv4/af_inet.c","net/ipv6/ip6_offload.c"]}],"references":["https://git.kernel.org/stable/c/388604279da3d0698a151efa4fb6d852efa0de4a","https://git.kernel.org/stable/c/c949646c900e879afce47df1b607fa320eb63bf2","https://git.kernel.org/stable/c/006c8b834aed8b02bd8fb9fb05e9e7ead37d1763"],"weaknesses":[],"ingestedAt":"2026-10-30T13:00:06.648Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/98xxx/CVE-2026-98853.json","commit":"cb14bf1b43b0c9f05f7f40eae2246263fd430780","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98853","state":"PUBLISHED","datePublished":"2026-10-18T15:51:02.683Z","dateUpdated":"2026-10-30T12:40:14.136Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.376Z"},"containers":{"cna":{"title":"net: gso: limit recursive IP-in-IP segmentation","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: gso: limit recursive IP-in-IP segmentation\n\nIP-in-IP GSO can re-enter inet_gso_segment() or ipv6_gso_segment()\nfor each nested IP header. encap_level tracks header bytes, not callback\ndepth, so a deep chain can exhaust the kernel stack. Making\ninet_gso_segment() stackable introduced unbounded IPv4 nesting; IPIP\nGSO/TSO later made the path reachable. The IPv6 stackable path was\nintroduced separately and uses the same guard.\n\nCount IPv4 and IPv6 GSO handler entries in skb_gso_cb, initialized once\nper top-level GSO operation and preserved across GRE/UDP context changes.\nUse the existing IP_TUNNEL_RECURSION_LIMIT for both handlers. The first\nfive entries pass, and the sixth returns -EINVAL before dispatching\nanother GSO callback."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"3347c960295583eee3fd58e5c539fb1972fbc005","status":"affected","lessThan":"388604279da3d0698a151efa4fb6d852efa0de4a","versionType":"git"},{"version":"3347c960295583eee3fd58e5c539fb1972fbc005","status":"affected","lessThan":"c949646c900e879afce47df1b607fa320eb63bf2","versionType":"git"},{"version":"3347c960295583eee3fd58e5c539fb1972fbc005","status":"affected","lessThan":"006c8b834aed8b02bd8fb9fb05e9e7ead37d1763","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/net/gso.h","net/core/gso.c","net/ipv4/af_inet.c","net/ipv6/ip6_offload.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.13","versionType":"semver"},{"version":"6.18.60","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.10","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/net/gso.h","net/core/gso.c","net/ipv4/af_inet.c","net/ipv6/ip6_offload.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/388604279da3d0698a151efa4fb6d852efa0de4a"},{"url":"https://git.kernel.org/stable/c/c949646c900e879afce47df1b607fa320eb63bf2"},{"url":"https://git.kernel.org/stable/c/006c8b834aed8b02bd8fb9fb05e9e7ead37d1763"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-30T12:40:14.136Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"6.18.60"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"7.2.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}