net: gso: limit recursive IP-in-IP segmentation (Linux Linux)

CVE-2026-98853
Not available

At a glance

Source
NVD
EPSS
EPSS 0.20 % · percentile 10 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

Description

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.

References

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ 3347c960295583eee3fd58e5c539fb1972fbc005 < 91b9ce0a29a2ff77bd7efd5963b54a456534af2e
affected : ≥ 3347c960295583eee3fd58e5c539fb1972fbc005 < 8c1ef2e252158e79afdf02f1d4743c244149684b
affected : ≥ 3347c960295583eee3fd58e5c539fb1972fbc005 < 9148199b5c3d0bc71288d79c3ee4ce404f090d3c
affected : ≥ 3347c960295583eee3fd58e5c539fb1972fbc005 < cadffc83ee1a560d5cd18e6d607c1d76f6fd4bd4
affected : ≥ 3347c960295583eee3fd58e5c539fb1972fbc005 < 388604279da3d0698a151efa4fb6d852efa0de4a
affected : ≥ 3347c960295583eee3fd58e5c539fb1972fbc005 < c949646c900e879afce47df1b607fa320eb63bf2
affected : ≥ 3347c960295583eee3fd58e5c539fb1972fbc005 < 006c8b834aed8b02bd8fb9fb05e9e7ead37d1763
Other versions : unaffected
Linux · Linux
affected : 3.13
unaffected : ≥ 0 < 3.13
unaffected : ≥ 5.10.275 ≤ 5.10.*
unaffected : ≥ 5.15.226 ≤ 5.15.*
unaffected : ≥ 6.6.163 ≤ 6.6.*
unaffected : ≥ 6.12.117 ≤ 6.12.*
unaffected : ≥ 6.18.60 ≤ 6.18.*
unaffected : ≥ 7.2.10 ≤ 7.2.*
unaffected : ≥ 7.3 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD