Re: [PATCH net v2] mctp: route: iterate socket tag list in mctp_lookup_prealloc_tag()
From: patchwork-bot+netdevbpf
Date: Thu Sep 24 2026 - 12:49:02 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Mon, 21 Sep 2026 05:10:01 +0000 you wrote:
> When a socket transmits a packet with MCTP_TAG_PREALLOC set,
> mctp_lookup_prealloc_tag() iterates over the per-netns &mns->keys list
> and matches netid, req_tag, peer_addr, and manual_alloc, without
> checking whether tmp->sk == &msk->sk. This allows any MCTP socket in the
> same network namespace to use and consume another socket's preallocated
> tag.
>
> [...]
Here is the summary with links:
- [net,v2] mctp: route: iterate socket tag list in mctp_lookup_prealloc_tag()
https://git.kernel.org/netdev/net/c/26cc0e69cce0
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html