Re: [PATCH] mptcp: pm: kernel: use RCU to free endpoint listeners
From: patchwork-bot+netdevbpf
Date: Thu Nov 05 2026 - 09:43:25 EST
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:
On Thu, 29 Oct 2026 21:22:55 -0700 you wrote:
> mptcp_pm_nl_create_listen_socket() starts the TCP listener directly
> instead of going through mptcp_listen(). It consequently misses setting
> SOCK_RCU_FREE on the parent MPTCP socket.
>
> tcp_child_process() can invoke the listener's subflow_data_ready()
> callback without holding the MPTCP parent lock or a reference to the
> parent. An authenticated MP_JOIN racing with endpoint teardown can
> therefore access the parent after its last reference has been dropped.
> The ADD_ADDR error path can also close an already published listener.
>
> [...]
Here is the summary with links:
- mptcp: pm: kernel: use RCU to free endpoint listeners
https://git.kernel.org/netdev/net/c/49b09ae0bf57
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html