Re: [PATCH net] bridge: cfm: Fix race condition in peer_mep deletion
| Newsgroups | gmane.linux.network.bridge,gmane.linux.network |
|---|---|
| Message-ID | <177336600530.628795.16179964876225068685.git-patchwork-notify@kernel.org> |
Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>: On Wed, 11 Mar 2026 03:18:09 +0900 you wrote: > When a peer MEP is being deleted, cancel_delayed_work_sync() is called > on ccm_rx_dwork before freeing. However, br_cfm_frame_rx() runs in > softirq context under rcu_read_lock (without RTNL) and can re-schedule > ccm_rx_dwork via ccm_rx_timer_start() between cancel_delayed_work_sync() > returning and kfree_rcu() being called. > > The following is a simple race scenario: > > [...] Here is the summary with links: - [net] bridge: cfm: Fix race condition in peer_mep deletion https://git.kernel.org/netdev/net/c/3715a0085531 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html