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=1793187797; b=eMtCOK3/JAcQallm1nnR7UKyFN/JPAb8C0KNoTXu8lepsCSGll5xOAm0PMnOOqzBNmoT tred8vFqg0gpfBlkIx8ybWxs7GGz3BW2ancbP+/zKZMmBlgOgMIAfLhv959rJh0twS3Za S+R0fRqnr9nwkhpYJaitNWQzifaCjljIQoEeEJ7Gd+1yUhVF8NfDQJTSRWuSod25Y6lGV FQpr74REG+lRNVbngr/yX74zL3JBWqSleDV80mzyMxg034jL1okU7qfSW1BIoXP0QP6R+ TqWiJRm+U9p4Uh3na58030xyYPMRzCJ7CqGJkJ+n6EAwudazwUSHSwoptZB23vD9gQw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793187797; 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=FFSTDKGB9nCjdZ4NNpoCPQ2UvFKbG0o9J3mGh0FCMpI=; b=xnu7OJGmWULmrxmCWq5PJXirc/U+LmmJeo2XtrV1f5wGorvyrFjE+9WkaL2XB9xeTytV htADs1nC66NWuVkgVqfVC4Anq5VRYaLX2YKVjk32+oEp9lEeRfQzS3+ZtaqEAGd4JVkIW Hi5uyWvlvycOUBr53HsWksDXaUddcckfbM70bF5vZCpIXRXiKvuuoPAm5OlHp5lCi6Oqw UnXS4MzHDBFKaM5b3sRSEHOHPrslGleZyic+Og1dYXoHPGJaMN+YG95HUXgJnoBTve+H6 84fRpUyHCnT6Y/s+s0FnyHoD+S8s1UHGn7F61RWOMn+sS6MZ4E6s25UsefRH1dZ52cA== 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=y6jfgVNV; 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 C216D606A31A for ; Wed, 28 Oct 2026 11:43:16 +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=y6jfgVNV Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0F79E1F01825; Wed, 28 Oct 2026 11:43:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1793187796; bh=FFSTDKGB9nCjdZ4NNpoCPQ2UvFKbG0o9J3mGh0FCMpI=; h=From:To:Cc:Subject:Date:Reply-To; b=y6jfgVNVAPu9PlRTroHOKOJbjVpnZrfgKIRJS1nuvukjZZyl2Sgj9w6tsPSrkGTOS wq65f87OLdAQGk59aGNNuCyuIzfLG9Vh7/FV80AJ4mByvE280ZMMSgPfSa5oOERil0 HT50fiYF8X+L0uIcUC0OYw1E2J6LV0QcMfbon6jI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99201: netlink: avoid hashing the network namespace pointer Date: Wed, 28 Oct 2026 11:36:28 +0100 Message-ID: <2026102814-CVE-2026-99201-bd39@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=3394; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=3vDMIKAJOfSvS6PRlCod6H7oMlbOkv+aycuQQ/jMD0E=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkPzz+KEb/ek1H/VvXIXJu7G5ctYJJtPLqideklPZ/Zj V8PHsys7ohlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJ7MplmJ87135JzLGpJlqW D1yl0/ba7Pr65xbD/JQedW1R+TWtyYd2z9YV6V+6WUooAwA= 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: netlink: avoid hashing the network namespace pointer The netlink rhashtable key includes a raw struct net pointer and a user-controlled port ID. Both /proc/net/netlink and socket diagnostics expose the table's bucket order. By binding and rebinding chosen NETLINK_USERSOCK port IDs, an unprivileged reader can distinguish equal buckets and recover the low bits of the Jenkins hash. Its 32-bit seed and the limited set of kernel-image slides can then be searched offline to recover the address of init_net. Use the namespace's unique, non-address net_cookie in the comparison key instead. It is assigned before the per-net initializers run and remains unchanged for the namespace's lifetime. The lookup key and object hash are still built by netlink_compare_arg_init(), keeping lookup, insertion, removal and rehashing consistent while preserving namespace separation. Neither public table walker needs to change. Reading the socket's namespace cookie in netlink_compare() is safe under RCU, including during namespace teardown. netlink_release() removes the socket from the hash table and defers its final put with call_rcu(). cleanup_net() runs the per-net exit methods and waits for outstanding RCU callbacks with rcu_barrier() before freeing namespace storage. Unlike ns.ns_id, net_cookie is also available and initialized during setup_net() in older stable kernels, making the change straightforward to backport to v5.15 and later. The Linux kernel CVE team has assigned CVE-2026-99201 to this issue. Affected and fixed versions =========================== Issue introduced in 4.1 with commit c428ecd1a21f1457ca3beb4df71b8a079c410e41 and fixed in 6.18.59 with commit bdd55b8a8acbf6b4840ab420eb6a63774bf4593b Issue introduced in 4.1 with commit c428ecd1a21f1457ca3beb4df71b8a079c410e41 and fixed in 7.2.13 with commit 078deff25f8a849ecd1c3fe17b1e473b1cf44f28 Issue introduced in 4.1 with commit c428ecd1a21f1457ca3beb4df71b8a079c410e41 and fixed in 7.3 with commit f88bb3606e4bd11ee035b682cddc2999e604609a 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-99201 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/netlink/af_netlink.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/bdd55b8a8acbf6b4840ab420eb6a63774bf4593b https://git.kernel.org/stable/c/078deff25f8a849ecd1c3fe17b1e473b1cf44f28 https://git.kernel.org/stable/c/f88bb3606e4bd11ee035b682cddc2999e604609a