Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by patchwork-bot+netdevbpf
Thu, 05 Nov 2026 10:40
Re: [PATCH] ip6mr: Serialize multicast router socket ownership
Author: patchwork-bot+netdevbpf
Date: Thu, 05 Nov 2026 10:40
Date: Thu, 05 Nov 2026 10:40
29 lines
8876 bytes
8876 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Thu, 29 Oct 2026 21:22:21 -0700 you wrote:
> MRT6_TABLE checks whether the socket owns its current table before
> acquiring RTNL. MRT6_INIT also looks up its table before taking RTNL.
> Consequently, concurrent TABLE and INIT calls can initialize the old
> table and then change the socket's selected table. Another INIT can
> register the same socket in the new table.
>
> rawv6_close() calls ip6mr_sk_done(), which clears only the first table
> owned by the socket. After the socket's RCU-delayed free, the other
> table retains a dangling mroute_sk pointer. A subsequent multicast cache
> report passes that pointer to sock_queue_rcv_skb_reason(). This produces
> a KASAN slab-use-after-free in sk_filter_trim_cap().
>
> [...]
Here is the summary with links:
- ip6mr: Serialize multicast router socket ownership
https://git.kernel.org/netdev/net/c/c6b41de4dd9f
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads