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 1705F3DFC80 for ; Tue, 6 Oct 2026 10:25:41 +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=1791282342; cv=none; b=HziJt4XvAjahsjDO2icYmcaCCcZOsN+VWs6fZJjCV7dsDqvDlFbR8vFh6IF+XAOIiPX/aePYTYJCRpqhtRIyIyDpCtV9NACp9KKc5qWqO5ipj4Z+TxsJ/z7RESlH0hYKJeoQ/xaODmCpiXMyV1cILfTNmNmcpQTQ4DjSwa1z9SE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791282342; c=relaxed/simple; bh=GgI2pxBCJgQqIX2VM5Tr7nwo01ZNHbYKMahGwGwgEyU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=giCrZI/YI+Pmv/P12sI8LnpEm9kY/3XrM3r0p/D/HoesrGXZappneSGfVLkbFfVY2XOn38RyqyYGcDrWWitnWZZmrsdnM09jGBDZ6RH9u+chPpmylpgGgUPg/88DSfcBBIqnVCg9VT3amKv2AQBnLprATf6NwwsZ0GmXq5+r8oI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=B3/T9AzE; 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="B3/T9AzE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 61FAD1F00893; Tue, 6 Oct 2026 10:25:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791282341; bh=aqe2fbOjN4NnywFUO7jylMisGZNnSYnFsB3ElLV/qLY=; h=From:To:Cc:Subject:Date:Reply-To; b=B3/T9AzEZ+UphCPGMf+bH6l+R+/7iJ+D72f5fu52TJUEzI+h/PN0rpGCFMLQvoJQu 9Lr6MchOEMHwoiDo7OVgoOaS4/radymOH6cXnreotIWEoxSm/hMRXwwHsEPYmpD8BD Yu2oW11lYNXxxcWJKxs4b3tumth2FQ8sSl4egono= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98278: net: remove WARN_ON_ONCE() from the dev_fill_forward_path() loop check Date: Tue, 6 Oct 2026 10:46:19 +0200 Message-ID: <2026100604-CVE-2026-98278-473d@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=2457; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=TgunXEDmN6W12lccWvvtmBW0aAewfVHWXWKJyYIoOuc=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlHtgrcsuDeFtH0fJWZoUHL7auzGfcxeqy2FbO+ILbno XSQ6Lb/HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRLzMYFuzc5fLOWzHpUbwO w/SjQq9+3//75BLD/Cgzr9DlKU8YNvo6fHuxvVFqbaf4DQA= 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: remove WARN_ON_ONCE() from the dev_fill_forward_path() loop check ipip_fill_forward_path() and ip6_tnl_fill_forward_path() look up the route to the tunnel's remote endpoint and set ctx->dev to its device, which is the tunnel itself when that route resolves back to the tunnel. dev_fill_forward_path() then makes no progress and trips WARN_ON_ONCE(last_dev == ctx->dev) as soon as a flowtable tries to offload a flow through the tunnel. That routing loop is a configuration any CAP_NET_ADMIN user can set up, and ip_tunnel_xmit() and ip6_tnl_xmit() already treat it as a tx error, so remove the warning and just fail the walk, as commit 008e7a7c293b ("net: remove WARN_ON_ONCE when accessing forward path array") did for the path stack overflow. The Linux kernel CVE team has assigned CVE-2026-98278 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit ab427db17885814069bae891834f20842f0ac3a4 and fixed in 7.2.8 with commit d8eb177632dacda28bc6130c2105afbf5b791eb0 Issue introduced in 6.19 with commit ab427db17885814069bae891834f20842f0ac3a4 and fixed in 7.3-rc4 with commit 150dba2c69e93302af24a0c868eebe4871e2e107 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-98278 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: net/core/dev.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/d8eb177632dacda28bc6130c2105afbf5b791eb0 https://git.kernel.org/stable/c/150dba2c69e93302af24a0c868eebe4871e2e107