Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DC1994D17BA for ; Sun, 18 Oct 2026 16:28:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792340901; cv=none; b=Bi1RN37UUpymXpkJwo0UZFgqUvFNHWFBxMNT5dT7aN5jBkMaJqxg9QNoQk/aP4+AZBL1QzUord2uQMc3tjsiJmeKls0+jH6T/+dUyGobfmdiJ/YjwwTe5YRYG1pDN8FT8mDUDw5S5wyutvxv40CXo1kQVt0B9qPN5e0/5EKoblQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792340901; c=relaxed/simple; bh=sVUU9+Y5yBAO6+On0v2cKgGXiG3NI3r1FPwXQ7MMBKE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=aX2OCzqFYjJ014kkNwSjP8XbQR3Lsu3Qh2gCYKtb3Bw+PWWRicxTn/mOhsd5sYwB8KIYETmPCSeAkUXPba+EbwjIXcaEdej2d65NX10GQlgeL4jMJsKKHUQcBTVNRQh+y4wqk4jmAeW6a+mU2S3RHyKatPRxT7hG+SUyY1kEDxc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=C4yaayNn; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="C4yaayNn" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 71D121F000C4; Sun, 18 Oct 2026 16:28:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792340899; bh=i1rRg8EdPnmHG6dJwtaKs+uftSh9PZGUOVvLxYi2ABk=; h=From:To:Cc:Subject:Date:Reply-To; b=C4yaayNn7fw+bnlAr9EPoNh1VlMQeIrgDNvtUzaaAuXMKd+62YkKIqKlKSbt5fdNE vdZwOLL0bgOlI56ProXTk9sy/Irskpbd5lvYktKqf3hY5boALctoTiAe702KO9SepM KEWguqJTV/6fRef8dnsftTfz6ZrChcM4wuPXfNaE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98853: net: gso: limit recursive IP-in-IP segmentation Date: Sun, 18 Oct 2026 17:47:08 +0200 Message-ID: <2026101835-CVE-2026-98853-3db0@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2516; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=wvFqZEklorSRrZho9f10mngQHLzhR18Hcn78mDAh80E=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXXiab9O5/vlO/9+fTFqneXUv5S5IvFQhN2MbU8ChOR keo8sj9jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIKweGBY0fl81sFGL2u5X+ 6opux1Je41cP6xnme91f9FZaLKXjSUv8gY4cpc7+A2K3AA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-98853 to this issue. Affected and fixed versions =========================== Issue introduced in 3.13 with commit 3347c960295583eee3fd58e5c539fb1972fbc005 and fixed in 7.2.10 with commit c949646c900e879afce47df1b607fa320eb63bf2 Issue introduced in 3.13 with commit 3347c960295583eee3fd58e5c539fb1972fbc005 and fixed in 7.3-rc6 with commit 006c8b834aed8b02bd8fb9fb05e9e7ead37d1763 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-98853 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: include/net/gso.h net/core/gso.c net/ipv4/af_inet.c net/ipv6/ip6_offload.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/c949646c900e879afce47df1b607fa320eb63bf2 https://git.kernel.org/stable/c/006c8b834aed8b02bd8fb9fb05e9e7ead37d1763