Article View: linux.kernel.netdev
Article #3496Re: [PATCH net v2] netlink: avoid hashing the network namespace pointer
From: patchwork-bot+netdevbpf
Date: Thu, 15 Oct 2026 08:40
Date: Thu, 15 Oct 2026 08:40
25 lines
6416 bytes
6416 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Wed, 7 Oct 2026 18:14:00 -0700 you wrote:
> 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.
>
> [...]
Here is the summary with links:
- [net,v2] netlink: avoid hashing the network namespace pointer
https://git.kernel.org/netdev/net/c/f88bb3606e4b
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179205360459.3280187.15321954269595792547.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-346611-linux-kernel-netdev=dewy.ruReferences:
<20261008011359.63727-2-kylebot@openai.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-346611-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net v2] netlink: avoid hashing the network namespace pointer Date: Thu, 15 Oct 2026 08:40:04 +0000 Organization: Usenet Network Message-ID: <179205360459.3280187.15321954269595792547.git-patchwork-notify@kernel.org> References: <20261008011359.63727-2-kylebot@openai.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="2488825"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:OtFzKuwVvEn6f7Z20micR3dq+tA= sha256:5ck3bO25B5AvoTX0GEuJqC7TgZM+NXMTYU99HGTzvmk= sha1:p6nLB2cdS1X2Fo/joRK2sUJzguo= sha256:kkoGaVAEAgxK+33TXW65HZgcjpsVK3J3FOkNN3oZGLg= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 969E1110287; Thu, 15 Oct 2026 11:54:15 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.64 X-Spam-Status: No, score=-3.64 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.24, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IOlLjMCe5Yiz; Thu, 15 Oct 2026 11:54:12 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-346611-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mail.dewy.ru (Postfix) with ESMTPS id 5C3AA110285; Thu, 15 Oct 2026 11:54:02 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sin.lore.kernel.org (Postfix) with ESMTP id E84562D20D; Thu, 15 Oct 2026 08:41:08 +0000 (UTC) X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4B76048C405; Thu, 15 Oct 2026 08:40:15 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="BYivEenR" X-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 9A3313EC82D; Thu, 15 Oct 2026 08:40:06 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792053615; cv=none; b=N4X/aNhnYLYMnoLGQ3pE95gSYmPWUmN06Ty0GKRH2Rw+v7BoQev8CxP4D0F0SaMPW0NnCAqrfMKx7eQDWuIk/zWsCVblWyF/uZuhe/GULI4VtaZDLWWBik5fmsfKpgTHRN7/SFgcOR4RZyEN8yQjyXj0XOcDTHgw2JQzB4qx6lE= X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792053615; c=relaxed/simple; bh=RZ+cKOgfEtQixBtdXM/15G0LxjhCKW1T/CB1TCc1uQQ=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=SpLAxwdAur3OANaN+T9E9ld7D0dRnVJAvJa5xBFPubYogil9WB5LWbYIdIEhBp+J1+nYyg4NQO0m0EAnTlpUYsXn3Fo2BUhU9pk/sCW5EshRrwOBAMZAgxG6VL8UJIZTELGvf3KBPblUMb3Kt4xT7eItbJStjLs8I5wlTfCnuhM= X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=BYivEenR; arc=none smtp.client-ip=100.103.45.18 X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 076C51F000C4; Thu, 15 Oct 2026 08:40:06 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1792053606; bh=2+Qzy/zE3LEVu5s0aZmSmt6IzfKOou04UP+Z1MlPrN0=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=BYivEenRsOj5d8wkvTcJlEKW+ImAkbPRC33JFXx2expTtZFV/GlpJ/26eUFsRyBn+ K534N4+NcRmVeXRuiE7iNtNSwNSZGfvCHjTt2MB/LNXXY/g1qTuwtU5bUkxv95aFOt le4Kl6SnZL49TFyPEpEcBI/u0MZkWmHvzS9pSOBlV8YjB6RRuRylJFl/UXWkgFi3Rt 3ix3wCcDNCkEtAq2O/jjDonUEibFp1WXlIV0e1FumdkGRjv4D9bhwyyn3AWCr0qFv6 sSJDwjxDYuKxHPoEy1nGf62ZX4AY+1vY7DFAqN+jtg0N8Td1WIIrmJM1EJW65VLff0 qtYrT7+I7f6cA== X-Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id F1581392E9EB; Thu, 15 Oct 2026 08:40:05 +0000 (UTC) X-Precedence: bulk X-Mailing-List: netdev@vger.kernel.org X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-In-Reply-To: <20261008011359.63727-2-kylebot@openai.com> X-Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, outbounddisclosures@openai.com