[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<171629042891.23392.7832624426433712079.git-patchwork-notify@kernel.org>
Date: Tue, 21 May 2024 11:20:28 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Hangbin Liu <liuhangbin@...il.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, dsahern@...nel.org,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
david.lebrun@...ouvain.be, sd@...asysnail.net
Subject: Re: [PATCH net] ipv6: sr: fix memleak in seg6_hmac_init_algo
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@...hat.com>:
On Fri, 17 May 2024 08:54:35 +0800 you wrote:
> seg6_hmac_init_algo returns without cleaning up the previous allocations
> if one fails, so it's going to leak all that memory and the crypto tfms.
>
> Update seg6_hmac_exit to only free the memory when allocated, so we can
> reuse the code directly.
>
> Fixes: bf355b8d2c30 ("ipv6: sr: add core files for SR HMAC support")
> Reported-by: Sabrina Dubroca <sd@...asysnail.net>
> Closes: https://lore.kernel.org/netdev/Zj3bh-gE7eT6V6aH@hog/
> Signed-off-by: Hangbin Liu <liuhangbin@...il.com>
>
> [...]
Here is the summary with links:
- [net] ipv6: sr: fix memleak in seg6_hmac_init_algo
https://git.kernel.org/netdev/net/c/efb9f4f19f8e
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