Re: [PATCH net] sctp: clear control chunk transport if it is being removed
| Newsgroups | org.kernel.vger.linux-sctp,org.kernel.vger.netdev |
|---|---|
| Message-ID | <178603502364.1375455.4324945153303168941.git-patchwork-notify@kernel.org> |
Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>: On Wed, 5 Aug 2026 11:18:40 -0400 you wrote: > sctp_make_heartbeat_ack() caches the destination transport in > chunk->transport without taking a reference. When src_out_of_asoc_ok is > enabled, the HEARTBEAT ACK may remain queued on control_chunk_list instead > of being transmitted immediately. > > If the peer transport is removed while the chunk is still queued, > sctp_assoc_rm_peer() drops the transport and schedules it for RCU freeing, > but only clears cached transport pointers in out_chunk_list. The queued > control chunk therefore retains a dangling transport pointer. > > [...] Here is the summary with links: - [net] sctp: clear control chunk transport if it is being removed https://git.kernel.org/netdev/net/c/c9158ceaf277 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html