[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <165157801106.17866.6764782659491020080.git-patchwork-notify@kernel.org>
Date: Tue, 03 May 2022 11:40:11 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Tetsuo Handa <penguin-kernel@...ove.SAKURA.ne.jp>
Cc: edumazet@...gle.com, santosh.shilimkar@...cle.com,
davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com,
syzbot+694120e1002c117747ed@...kaller.appspotmail.com,
netdev@...r.kernel.org, syzkaller-bugs@...glegroups.com,
linux-rdma@...r.kernel.org
Subject: Re: [PATCH v2] net: rds: acquire refcount on TCP sockets
Hello:
This patch was applied to netdev/net.git (master)
by Paolo Abeni <pabeni@...hat.com>:
On Mon, 2 May 2022 10:40:18 +0900 you wrote:
> syzbot is reporting use-after-free read in tcp_retransmit_timer() [1],
> for TCP socket used by RDS is accessing sock_net() without acquiring a
> refcount on net namespace. Since TCP's retransmission can happen after
> a process which created net namespace terminated, we need to explicitly
> acquire a refcount.
>
> Link: https://syzkaller.appspot.com/bug?extid=694120e1002c117747ed [1]
> Reported-by: syzbot <syzbot+694120e1002c117747ed@...kaller.appspotmail.com>
> Fixes: 26abe14379f8e2fa ("net: Modify sk_alloc to not reference count the netns of kernel sockets.")
> Fixes: 8a68173691f03661 ("net: sk_clone_lock() should only do get_net() if the parent is not a kernel socket")
> Signed-off-by: Tetsuo Handa <penguin-kernel@...ove.SAKURA.ne.jp>
> Tested-by: syzbot <syzbot+694120e1002c117747ed@...kaller.appspotmail.com>
>
> [...]
Here is the summary with links:
- [v2] net: rds: acquire refcount on TCP sockets
https://git.kernel.org/netdev/net/c/3a58f13a881e
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