[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<168480961922.27018.4100039188919022306.git-patchwork-notify@kernel.org>
Date: Tue, 23 May 2023 02:40:19 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Chuck Lever <cel@...nel.org>
Cc: dan.carpenter@...aro.org, chuck.lever@...cle.com, netdev@...r.kernel.org,
kernel-tls-handshake@...ts.linux.dev
Subject: Re: [PATCH] net/handshake: Fix sock->file allocation
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Fri, 19 May 2023 13:08:24 -0400 you wrote:
> From: Chuck Lever <chuck.lever@...cle.com>
>
> sock->file = sock_alloc_file(sock, O_NONBLOCK, NULL);
> ^^^^ ^^^^
>
> sock_alloc_file() calls release_sock() on error but the left hand
> side of the assignment dereferences "sock". This isn't the bug and
> I didn't report this earlier because there is an assert that it
> doesn't fail.
>
> [...]
Here is the summary with links:
- net/handshake: Fix sock->file allocation
https://git.kernel.org/netdev/net/c/18c40a1cc1d9
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