Hello: This patch was applied to netdev/net.git (master) by Jakub Kicinski <kuba@xxxxxxxxxx>: On Wed, 1 Dec 2021 00:44:38 +0800 you wrote: > In mlx4_en_try_alloc_resources(), mlx4_en_copy_priv() is called and > tmp->tx_cq will be freed on the error path of mlx4_en_copy_priv(). > After that mlx4_en_alloc_resources() is called and there is a dereference > of &tmp->tx_cq[t][i] in mlx4_en_alloc_resources(), which could lead to > a use after free problem on failure of mlx4_en_copy_priv(). > > Fix this bug by adding a check of mlx4_en_copy_priv() > > [...] Here is the summary with links: - net/mlx4_en: Fix an use-after-free bug in mlx4_en_try_alloc_resources() https://git.kernel.org/netdev/net/c/addad7643142 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html