[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166744741660.12191.13112390295729778693.git-patchwork-notify@kernel.org>
Date: Thu, 03 Nov 2022 03:50:16 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Chen Zhongjin <chenzhongjin@...wei.com>
Cc: linux-kernel@...r.kernel.org, linux-s390@...r.kernel.org,
netdev@...r.kernel.org, kgraul@...ux.ibm.com, wenjia@...ux.ibm.com,
jaka@...ux.ibm.com, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, guvenc@...ux.ibm.com
Subject: Re: [PATCH] net/smc: Fix possible leaked pernet namespace in smc_init()
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@...nel.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
Powered by blists - more mailing lists