TencentOS-kernel/drivers/net/ethernet/qlogic
Lv Yunlong 3de53d5195 net/qlcnic: Fix a use after free in qlcnic_83xx_get_minidump_template
[ Upstream commit db74623a3850db99cb9692fda9e836a56b74198d ]

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@mail.ustc.edu.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-04-12 12:53:28 +08:00
..
netxen netxen_nic: fix MSI/MSI-x interrupts 2021-04-12 12:51:29 +08:00
qed qed: fix error return code in qed_iwarp_ll2_start() 2021-03-16 16:41:08 +08:00
qede qede: fix offload for IPIP tunnel packets 2021-04-12 12:51:07 +08:00
qlcnic net/qlcnic: Fix a use after free in qlcnic_83xx_get_minidump_template 2021-04-12 12:53:28 +08:00
Kconfig qed: select CONFIG_CRC32 2021-04-12 12:51:19 +08:00
Makefile Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
qla3xxx.c Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
qla3xxx.h Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00