lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-Id: <166376161664.20264.16952481668732388176.git-patchwork-notify@kernel.org> Date: Wed, 21 Sep 2022 12:00:16 +0000 From: patchwork-bot+netdevbpf@...nel.org To: Ziyang Xuan <william.xuanziyang@...wei.com> Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org, netdev@...r.kernel.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH net-next] net/af_packet: registration process optimization in packet_init() Hello: This patch was applied to netdev/net-next.git (master) by David S. Miller <davem@...emloft.net>: On Thu, 15 Sep 2022 09:08:35 +0800 you wrote: > Now, register_pernet_subsys() and register_netdevice_notifier() are both > after sock_register(). It can create PF_PACKET socket and process socket > once sock_register() successfully. It is possible PF_PACKET socket is > creating but register_pernet_subsys() and register_netdevice_notifier() > are not registered yet. Thus net->packet.sklist_lock and net->packet.sklist > will be accessed without initialization that is done in packet_net_init(). > Although this is a low probability scenario. > > [...] Here is the summary with links: - [net-next] net/af_packet: registration process optimization in packet_init() https://git.kernel.org/netdev/net-next/c/63b7c2ebcc1d 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