Re: [PATCH net v2] netlink: avoid hashing the network namespace pointer
From: patchwork-bot+netdevbpf
Date: Thu Oct 15 2026 - 04:46:44 EST
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:
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