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 9612236729A for ; Sun, 18 Oct 2026 15:32:17 +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=1792337538; cv=none; b=uwjvlPODoXp/Ean1SroI7WowwemkQVL6ZVfLIq0Y/B21ucKtZ4TgE+MO+sHxTadvQuRIOMKloHmSW/zbW7s3ArzggRfGxU6h6sLzz5pXF37WxkO6RNVXgRkWNmXLt3I3BkxrD5YjSPBgN1mz1Dq16oqCxsoMUKOrvYk8uO8zdGs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792337538; c=relaxed/simple; bh=6DnjAxblJ9vPMXAcyrIbNqeou6uB50cb7BZjpQ6NkFo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=cL0U6u76BtzTTogQDoQTQOI32Xu7bL892m1qDoGmZ6do/ZAvcSPjSARkQpJixDmcf3wyKUHpO6zsIlwWoHnTVToiVksTMF1nFbraBCM1xqJL7jfUkmX8Aj5v2YUFUpqvH9QwBpxq/pZPyhMU/G9ab3VvsFezLJpdVK6o4UgpeVQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=lIZkcGFS; 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="lIZkcGFS" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9B8E91F000C4; Sun, 18 Oct 2026 15:32:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792337537; bh=qYwPveaMpUNN5OcWunap9zi7ekAZVKDHaRGFChwTFp0=; h=From:To:Cc:Subject:Date:Reply-To; b=lIZkcGFSsQEwMFIQpvXqQ7HOT5eP2wQSU/xH+kUtNUT7NxGwQXxBa6kKudXbzQI/7 t5fukIlL+fuT9bVFbQFZwMeiPF+wrxPRRHsQtwpWpTucdaJx29t10SligKYTa63wty cHIXnZgXAtkcOGeE6Dpmlr+ElDJVRHTqnV4NI3kA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98596: ipv6: Fix dst leak for uncached routes. Date: Sun, 18 Oct 2026 17:17:40 +0200 Message-ID: <2026101837-CVE-2026-98596-4288@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=3293; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=kqLpYPP2beEBY7PnHMhB84QctHsUTWbrnyWN6JECD/8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXHs384zKfc1tAVF/jlbIvS4VqGrLv5HpwaN9zsv/Ql 9Qtce5PRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExk42OGBZ1ae9i+fk8+fO7U T7Hdei/tIp9HxDDMz2rbt2OXyIO7LPM0lpRwG+ozT5j6AAA= 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: ipv6: Fix dst leak for uncached routes. ip6_route_output_flags(), ip6_rt_put_flags(), and ip6_dst_check() detect an uncached route by list_empty(&rt->dst.rt_uncached), which replaced the static DST_NOCACHE flag check in commit a4c2fd7f7891 ("net: remove DST_NOCACHE flag"). When a device is unregistered, rt6_uncached_list_flush_dev() unlinks uncached routes tied to the device from rt6_uncached_list. Previously, they were moved to another list with list_move() (__list_del_entry() + list_add()), and since commit 98aa546af5e4 ("inet: remove (struct uncached_list)->quarantine"), the routes are just unlinked with list_del_init(). If list_del_init() runs concurrently, list_empty() evaluates to true; ip6_route_output_flags() calls dst_hold_safe() incorrectly and ip6_rt_put_flags() skips ip6_rt_put(), leaking dst, and thus dev tied via rt->from as well. The same race is partially fixed by commit 9a6f0c4d5796 ("dst: fix races in rt6_uncached_list_del() and rt_del_uncached_list()"). Let's check rt6->dst.rt_uncached_list instead. Note that IPv4 does not have the same issue. The Linux kernel CVE team has assigned CVE-2026-98596 to this issue. Affected and fixed versions =========================== Issue introduced in 6.11 with commit 98aa546af5e4f180439c82da403cc77926d3953b and fixed in 6.12.112 with commit 5045aa25f3790dcdb158a58ac60ccf8da42959aa Issue introduced in 6.11 with commit 98aa546af5e4f180439c82da403cc77926d3953b and fixed in 6.18.55 with commit ed902d5546fb9c142b3216d8eec914fa1bc0aa80 Issue introduced in 6.11 with commit 98aa546af5e4f180439c82da403cc77926d3953b and fixed in 7.2.9 with commit f9722746df13a8a29103c847ef56b02c11ce0963 Issue introduced in 6.11 with commit 98aa546af5e4f180439c82da403cc77926d3953b and fixed in 7.3-rc5 with commit be31fe6333f534155e6b408f1ef6d77974bb41aa 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-98596 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/ip6_route.h net/ipv6/route.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/5045aa25f3790dcdb158a58ac60ccf8da42959aa https://git.kernel.org/stable/c/ed902d5546fb9c142b3216d8eec914fa1bc0aa80 https://git.kernel.org/stable/c/f9722746df13a8a29103c847ef56b02c11ce0963 https://git.kernel.org/stable/c/be31fe6333f534155e6b408f1ef6d77974bb41aa