[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<176317320926.1911668.347846021009894983.git-patchwork-notify@kernel.org>
Date: Sat, 15 Nov 2025 02:20:09 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Eric Dumazet <edumazet@...gle.com>
Cc: davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com,
matttbe@...nel.org, martineau@...nel.org, geliang.tang@...ux.dev,
fw@...len.de, netdev@...r.kernel.org, eric.dumazet@...il.com,
syzbot+355158e7e301548a1424@...kaller.appspotmail.com
Subject: Re: [PATCH net] mptcp: fix race condition in mptcp_schedule_work()
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Thu, 13 Nov 2025 10:39:24 +0000 you wrote:
> syzbot reported use-after-free in mptcp_schedule_work() [1]
>
> Issue here is that mptcp_schedule_work() schedules a work,
> then gets a refcount on sk->sk_refcnt if the work was scheduled.
> This refcount will be released by mptcp_worker().
>
> [A] if (schedule_work(...)) {
> [B] sock_hold(sk);
> return true;
> }
>
> [...]
Here is the summary with links:
- [net] mptcp: fix race condition in mptcp_schedule_work()
https://git.kernel.org/netdev/net/c/035bca3f017e
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