Messages in this thread | ![/](/images/icornerl.gif) | | Subject | Re: [PATCH v2] net: tls: fix possible race condition between do_tls_getsockopt_conf() and do_tls_setsockopt_conf() | From | patchwork-bot+netdevbpf@kernel ... | Date | Thu, 02 Mar 2023 04:40:18 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (main) by Jakub Kicinski <kuba@kernel.org>:
On Tue, 28 Feb 2023 10:33:44 +0800 you wrote: > ctx->crypto_send.info is not protected by lock_sock in > do_tls_getsockopt_conf(). A race condition between do_tls_getsockopt_conf() > and do_tls_setsockopt_conf() can cause a NULL point dereference or > use-after-free read when memcpy. > > Please check the following link for pre-information: > https://lore.kernel.org/all/Y/ht6gQL+u6fj3dG@hog/ > > [...]
Here is the summary with links: - [v2] net: tls: fix possible race condition between do_tls_getsockopt_conf() and do_tls_setsockopt_conf() https://git.kernel.org/netdev/net/c/49c47cc21b5b
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| ![\](/images/icornerr.gif) |