[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <161835180857.31494.15153605709607960746.git-patchwork-notify@kernel.org>
Date: Tue, 13 Apr 2021 22:10:08 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Or Cohen <orcohen@...oaltonetworks.com>
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
vyasevich@...il.com, nhorman@...driver.com,
marcelo.leitner@...il.com, davem@...emloft.net, kuba@...nel.org,
linux-sctp@...r.kernel.org, lucien.xin@...il.com,
nmarkus@...oaltonetworks.com
Subject: Re: [PATCH v2] net/sctp: fix race condition in sctp_destroy_sock
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Tue, 13 Apr 2021 21:10:31 +0300 you wrote:
> If sctp_destroy_sock is called without sock_net(sk)->sctp.addr_wq_lock
> held and sp->do_auto_asconf is true, then an element is removed
> from the auto_asconf_splist without any proper locking.
>
> This can happen in the following functions:
> 1. In sctp_accept, if sctp_sock_migrate fails.
> 2. In inet_create or inet6_create, if there is a bpf program
> attached to BPF_CGROUP_INET_SOCK_CREATE which denies
> creation of the sctp socket.
>
> [...]
Here is the summary with links:
- [v2] net/sctp: fix race condition in sctp_destroy_sock
https://git.kernel.org/netdev/net/c/b166a20b0738
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