Re: [PATCH] net/qlcnic: Fix a use after free in qlcnic_83xx_get_minidump_template

From: patchwork-bot+netdevbpf
Date: Thu Mar 11 2021 - 21:30:59 EST


Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Wed, 10 Mar 2021 20:01:40 -0800 you wrote:
> In qlcnic_83xx_get_minidump_template, fw_dump->tmpl_hdr was freed by
> vfree(). But unfortunately, it is used when extended is true.
>
> Fixes: 7061b2bdd620e ("qlogic: Deletion of unnecessary checks before two function calls")
> Signed-off-by: Lv Yunlong <lyl2019@xxxxxxxxxxxxxxxx>
> ---
> drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c | 3 +++
> 1 file changed, 3 insertions(+)

Here is the summary with links:
- net/qlcnic: Fix a use after free in qlcnic_83xx_get_minidump_template
https://git.kernel.org/netdev/net/c/db74623a3850

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html