Descrizione
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.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria.
Versioni da aggiornare
Il record non riporta ancora i prodotti e le versioni corrette (analisi NVD in corso). Consultare l'advisory del vendor nei riferimenti.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ridurre l'esposizione del componente vulnerabile (segmentazione, accesso solo da reti fidate) finché la patch non è applicata.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Riferimenti
- Riferimentohttps://git.kernel.org/stable/c/006c8b834aed8b02bd8fb9fb05e9e7ead37d1763
- Riferimentohttps://git.kernel.org/stable/c/388604279da3d0698a151efa4fb6d852efa0de4a
- Riferimentohttps://git.kernel.org/stable/c/8c1ef2e252158e79afdf02f1d4743c244149684b
- Riferimentohttps://git.kernel.org/stable/c/9148199b5c3d0bc71288d79c3ee4ce404f090d3c
- Riferimentohttps://git.kernel.org/stable/c/91b9ce0a29a2ff77bd7efd5963b54a456534af2e
- Riferimentohttps://git.kernel.org/stable/c/c949646c900e879afce47df1b607fa320eb63bf2
- Riferimentohttps://git.kernel.org/stable/c/cadffc83ee1a560d5cd18e6d607c1d76f6fd4bd4