Thread (2 messages) 2 messages, 2 authors, 2021-03-12

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

flat view

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-03-12 02:30:58
Also in: lkml

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 <redacted>
---
 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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help