Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792759420; b=T7OqxdDmuIaMCggv4bJwG1+yNUSTu1tF+rWKXi6r/QYRFCWht6eM7jl3OvGjYR8Ow86Q mAGXEMeSmzx6fZZeQc/j/PoWyYEQqlDpBWB10r+wP+i3CosJbVMc999z9O+QuY610rDGZ YCB/52NGa3vIyAzLrESs389nD62M1vHRlKe+Ag0t6ZMsZkN6Qx5aAt3yaXCwUSsurlScg yv5P8MNw84wnFUSctdku0GBlGQzbGuEGeSFmEMtiwWbUUUzK7bJeMl8DdJacpbne7j8od eoCMFOSqmmZRfGI3HYxb7dobOd10EMbzlVdhY7iM4ZUtB4M1Hbf2J/9wdaypDNRR4cA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792759420; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=R59dn2vfdrIw6mifCtyTxyVcKR1er5EQ4MB5c9t+zSw=; b=Hck7C9f3SdczUxaVGzTNkFlLC8X5RmLBPCbt6TseAqmi4nDvQZxqLJdCPVwwHYANqOsD G85YHCqWUho5Oi63mRhgljc9JBvSPAAeJl6QN1TJKhJnj6R4nhEQMM0sjpQuy25SgGnLD qxkVN71lSyJ3CEbawSnfgAVuav0MnzNDrkUCoWSqe0+3Ch7c3KV/EfGaYYx6Uvy+YIsxU 0w2mmi0vckhR7cLYp32Xp/WVeCEqKbG9pqasSS7Q5RHwXbkDztwNkmAq3N2AGFkrJsAsj pIP9tDMCrAFh4JgtDkpfUDiZWfCLw/8TnxCzE6jFn7J8MmcjlYfJZRqyK5N+CcKzKYw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=aqjqPpwU; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3FCBA606A31E for ; Fri, 23 Oct 2026 12:43:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=aqjqPpwU Received: by smtp.kernel.org (Postfix) with ESMTPSA id 76B181F01828; Fri, 23 Oct 2026 12:43:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792759420; bh=R59dn2vfdrIw6mifCtyTxyVcKR1er5EQ4MB5c9t+zSw=; h=From:To:Cc:Subject:Date:Reply-To; b=aqjqPpwU42Ikp9vG5tBh/dYGz6kod4Wv/wI5/l6Oz6BeOwzwUACraa1wN5YWIWgtb 9YBTY0PhmAqBmoy39PPm367sVCbENakuB/3j12QZSgmZgfx9FsKDK+ff+qT6KJ2fej /t3rsYXZQ0iid3qXlCXIhuoxlmPA+t+yfIMqHicQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99074: ipv4: stop PMTU walk when nexthop group shrinks Date: Fri, 23 Oct 2026 14:21:16 +0200 Message-ID: <2026102334-CVE-2026-99074-cd56@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3840; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=mOCjpE51QHKwcMw8FiJ5BGr10+56DCw6yB9+b1hB09c=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3A659F1ljc+fHboOnDP/+vNkgs//kvZ45sUvuv0hx8 knzEYo52BHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATOdDEsODQdIOY4HZz6fv/ HUs+5bd/mcL5jYFhvrPYhyVT/38KuerftG1jyrxtr1ZPvQkA 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: ipv4: stop PMTU walk when nexthop group shrinks Commit 7d3f3b4367f3 ("net: ipv4: Cache pmtu for all packet paths if multipath enabled") made __ip_rt_update_pmtu() update every path. For nexthop objects, fib_info_num_path() and fib_info_nhc() independently load nh->nh_grp. RCU protects each group's lifetime but does not make the loads observe the same group. If replacement shrinks the group after the loop accepts an index, fib_info_nhc() returns NULL and update_or_create_fnhe() dereferences it. A deterministic probe only widened the existing window between the real operations. On v7.2, an RTM_NEWNEXTHOP replacement published a one-member group after the PMTU reader accepted index 1 from a two-member group, producing: KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] RIP: update_or_create_fnhe+0x45/0x15b0 Stop when the indexed path is absent. Groups are dense, so no later index exists in that snapshot. The same real-writer window completed 114,423 PMTU iterations without an oops with this check. A reproducer is available on request. Replacement requires CAP_NET_ADMIN in the network namespace. Where unprivileged user namespaces are permitted, a local user can obtain it in a new user and network namespace. The Linux kernel CVE team has assigned CVE-2026-99074 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6.79 with commit 3bed2abab4a682d426624ce9add9d7b6d475d4e4 and fixed in 6.6.160 with commit 7fd60d3c9a1e1b11ef5f1643bbae78d91eae2f4a Issue introduced in 6.12.16 with commit 7f5005457b3072fe1ddf15bfef869f2a1d98e05e and fixed in 6.12.113 with commit c60d17d6dd61adc761ac6f65a008fefbc54cbf87 Issue introduced in 6.13 with commit 7d3f3b4367f315a61fc615e3138f3d320da8c466 and fixed in 6.18.57 with commit c6d670ac656badfd0e15355e07a13a6bdf3b69fd Issue introduced in 6.13 with commit 7d3f3b4367f315a61fc615e3138f3d320da8c466 and fixed in 7.2.11 with commit f27483f9975b5065ff67054cc7eb8edac6083488 Issue introduced in 6.13 with commit 7d3f3b4367f315a61fc615e3138f3d320da8c466 and fixed in 7.3 with commit 6619e01855e65ef35723685a557e3eb106f4ecf5 Issue introduced in 5.15.179 with commit fc07a232326a623d0be482e307c08ea7049c2846 Issue introduced in 6.1.129 with commit b1f7bdee5750d6cbb9497140cd6582abc5fdcb9e 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-99074 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/ipv4/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/7fd60d3c9a1e1b11ef5f1643bbae78d91eae2f4a https://git.kernel.org/stable/c/c60d17d6dd61adc761ac6f65a008fefbc54cbf87 https://git.kernel.org/stable/c/c6d670ac656badfd0e15355e07a13a6bdf3b69fd https://git.kernel.org/stable/c/f27483f9975b5065ff67054cc7eb8edac6083488 https://git.kernel.org/stable/c/6619e01855e65ef35723685a557e3eb106f4ecf5