[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<172290205386.12421.6444083492470398504.git-patchwork-notify@kernel.org>
Date: Mon, 05 Aug 2024 23:54:13 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Nikolay Aleksandrov <razor@...ckwall.org>
Cc: netdev@...r.kernel.org, kuba@...nel.org, roopa@...dia.com,
bridge@...ts.linux.dev, edumazet@...gle.com, pabeni@...hat.com,
syzbot+263426984509be19c9a0@...kaller.appspotmail.com
Subject: Re: [PATCH net] net: bridge: mcast: wait for previous gc cycles when
removing port
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
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
Powered by blists - more mailing lists