Re: [PATCH net] sctp: fix addr_wq_timer race in sctp_free_addr_wq()
From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-07-01 00:10:21
Also in:
linux-sctp
From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-07-01 00:10:21
Also in:
linux-sctp
Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski [off-list ref]: 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