Re: [PATCH net] sctp: revalidate list cursor after sctp_sendmsg_to_asoc() in SCTP_SENDALL
[email protected] Sat, 09 May 2026 01:30:06 +0000
| Newsgroups | org.kernel.vger.linux-sctp,org.kernel.vger.linux-kernel,org.kernel.vger.netdev,org.kernel.vger.stable |
|---|---|
| Message-ID | <177829020630.925974.4773311620023474680.git-patchwork-notify@kernel.org> |
Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>: On Thu, 7 May 2026 17:14:55 -0700 you wrote: > From: Ben Morris <[email protected]> > > The SCTP_SENDALL path in sctp_sendmsg() iterates ep->asocs with > list_for_each_entry_safe(), which caches the next entry in @tmp before > the loop body runs. The body calls sctp_sendmsg_to_asoc(), which may > drop the socket lock inside sctp_wait_for_sndbuf(). > > [...] Here is the summary with links: - [net] sctp: revalidate list cursor after sctp_sendmsg_to_asoc() in SCTP_SENDALL https://git.kernel.org/netdev/net/c/abb5f36771cc You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html