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: <166686841609.31058.17388443239053730574.git-patchwork-notify@kernel.org> Date: Thu, 27 Oct 2022 11:00:16 +0000 From: patchwork-bot+netdevbpf@...nel.org To: Yang Yingliang <yangyingliang@...wei.com> Cc: netdev@...r.kernel.org, dougmill@...ux.ibm.com, davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com Subject: Re: [PATCH net v2] net: ehea: fix possible memory leak in ehea_register_port() Hello: This patch was applied to netdev/net.git (master) by Paolo Abeni <pabeni@...hat.com>: On Tue, 25 Oct 2022 21:00:11 +0800 you wrote: > If of_device_register() returns error, the of node and the > name allocated in dev_set_name() is leaked, call put_device() > to give up the reference that was set in device_initialize(), > so that of node is put in logical_port_release() and the name > is freed in kobject_cleanup(). > > Fixes: 1acf2318dd13 ("ehea: dynamic add / remove port") > Signed-off-by: Yang Yingliang <yangyingliang@...wei.com> > > [...] Here is the summary with links: - [net,v2] net: ehea: fix possible memory leak in ehea_register_port() https://git.kernel.org/netdev/net/c/0e7ce23a917a 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