Re: [PATCH net] sctp: fix addr_wq_timer race in sctp_free_addr_wq()
[email protected] Wed, 01 Jul 2026 00:10:05 +0000
| Newsgroups | org.kernel.vger.linux-sctp,org.kernel.vger.netdev |
|---|---|
| Message-ID | <178286460539.344657.15416227618301274929.git-patchwork-notify@kernel.org> |
Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>: On Mon, 29 Jun 2026 14:31:14 -0400 you wrote: > sctp_free_addr_wq() previously removed addr_wq_timer using timer_delete() > while holding addr_wq_lock. However, timer_delete() does not guarantee that > a currently running timer handler has completed. > > This allows a race with sctp_addr_wq_timeout_handler(), where the handler > may still run after addr_waitq has been freed, acquire addr_wq_lock, and > access freed memory, leading to a use-after-free. > > [...] Here is the summary with links: - [net] sctp: fix addr_wq_timer race in sctp_free_addr_wq() https://git.kernel.org/netdev/net/c/976c19de0f22 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html