Thread (2 messages) 2 messages, 2 authors, 2024-08-05

Re: [PATCH net] net: bridge: mcast: wait for previous gc cycles when removing port

From: patchwork-bot+netdevbpf@kernel.org
Date: 2024-08-05 23:54:14
Also in: bridge

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski [off-list ref]:

On Fri,  2 Aug 2024 11:07:30 +0300 you wrote:
syzbot hit a use-after-free[1] which is caused because the bridge doesn't
make sure that all previous garbage has been collected when removing a
port. What happens is:
      CPU 1                   CPU 2
 start gc cycle           remove port
                         acquire gc lock first
 wait for lock
                         call br_multicasg_gc() directly
 acquire lock now but    free port
 the port can be freed
 while grp timers still
 running

[...]
Here is the summary with links:
  - [net] net: bridge: mcast: wait for previous gc cycles when removing port
    https://git.kernel.org/netdev/net/c/92c4ee25208d

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help