Messages in this thread | | | Subject | Re: [PATCH] net/smc: Fix possible leaked pernet namespace in smc_init() | From | patchwork-bot+netdevbpf@kernel ... | Date | Thu, 03 Nov 2022 03:50:16 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (master) by Jakub Kicinski <kuba@kernel.org>:
On Tue, 1 Nov 2022 17:37:22 +0800 you wrote: > In smc_init(), register_pernet_subsys(&smc_net_stat_ops) is called > without any error handling. > If it fails, registering of &smc_net_ops won't be reverted. > And if smc_nl_init() fails, &smc_net_stat_ops itself won't be reverted. > > This leaves wild ops in subsystem linkedlist and when another module > tries to call register_pernet_operations() it triggers page fault: > > [...]
Here is the summary with links: - net/smc: Fix possible leaked pernet namespace in smc_init() https://git.kernel.org/netdev/net/c/62ff373da253
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |