net: gso: limit recursive IP-in-IP segmentation
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 inet_gso_segment() or ipv6_gso_segment() for each nested IP header. encap_level tracks header bytes, not callback depth, so a deep chain can exhaust the kernel stack. Making inet_gso_segment() 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 skb_gso_cb, initialized once per top-level GSO operation and preserved across GRE/UDP context changes. Use the existing IP_TUNNEL_RECURSION_LIMIT for both handlers. The first five entries pass, and the sixth returns -EINVAL before dispatching another GSO callback.
CVE-2026-98853
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-98853
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "3347c960295583eee3fd58e5c539fb1972fbc005",
"lessThan": "c949646c900e879afce47df1b607fa320eb63bf2",
"versionType": "git"
},
{
"status": "affected",
"version": "3347c960295583eee3fd58e5c539fb1972fbc005",
"lessThan": "006c8b834aed8b02bd8fb9fb05e9e7ead37d1763",
"versionType": "git"
}
],
"programFiles": [
"include/net/gso.h",
"net/core/gso.c",
"net/ipv4/af_inet.c",
"net/ipv6/ip6_offload.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "3.13"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "3.13",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "7.2.10",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"include/net/gso.h",
"net/core/gso.c",
"net/ipv4/af_inet.c",
"net/ipv6/ip6_offload.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-98853
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #38753 · Revision 1
- Added to Heist Feed
- Publisher date