[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<175513501124.3846704.13838201534984026862.git-patchwork-notify@kernel.org>
Date: Thu, 14 Aug 2025 01:30:11 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Sven Stegemann <sven@...gemann.de>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, horms@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org,
syzbot+e62c9db591c30e174662@...kaller.appspotmail.com,
syzbot+d199b52665b6c3069b94@...kaller.appspotmail.com,
syzbot+be6b1fdfeae512726b4e@...kaller.appspotmail.com
Subject: Re: [PATCH net v2] net: kcm: Fix race condition in kcm_unattach()
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Tue, 12 Aug 2025 21:18:03 +0200 you wrote:
> syzbot found a race condition when kcm_unattach(psock)
> and kcm_release(kcm) are executed at the same time.
>
> kcm_unattach() is missing a check of the flag
> kcm->tx_stopped before calling queue_work().
>
> If the kcm has a reserved psock, kcm_unattach() might get executed
> between cancel_work_sync() and unreserve_psock() in kcm_release(),
> requeuing kcm->tx_work right before kcm gets freed in kcm_done().
>
> [...]
Here is the summary with links:
- [net,v2] net: kcm: Fix race condition in kcm_unattach()
https://git.kernel.org/netdev/net/c/52565a935213
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