1
0
Fork 0
alistair23-linux/drivers/net/ethernet/qlogic/qlcnic
Lv Yunlong db74623a38 net/qlcnic: Fix a use after free in qlcnic_83xx_get_minidump_template
In qlcnic_83xx_get_minidump_template, fw_dump->tmpl_hdr was freed by
vfree(). But unfortunately, it is used when extended is true.

Fixes: 7061b2bdd6 ("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>
2021-03-11 18:08:14 -08:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
qlcnic.h net/qlcnic: Convert to SPDX license identifiers 2020-09-16 14:32:10 +02:00
qlcnic_83xx_hw.c networking changes for the 5.10 merge window 2020-10-15 18:42:13 -07:00
qlcnic_83xx_hw.h net/qlcnic: Convert to SPDX license identifiers 2020-09-16 14:32:10 +02:00
qlcnic_83xx_init.c qlcnic: fix error return code in qlcnic_83xx_restart_hw() 2020-11-16 15:26:42 -08:00
qlcnic_83xx_vnic.c net/qlcnic: Convert to SPDX license identifiers 2020-09-16 14:32:10 +02:00
qlcnic_ctx.c net/qlcnic: Convert to SPDX license identifiers 2020-09-16 14:32:10 +02:00
qlcnic_dcb.c net/qlcnic: Convert to SPDX license identifiers 2020-09-16 14:32:10 +02:00
qlcnic_dcb.h net/qlcnic: Convert to SPDX license identifiers 2020-09-16 14:32:10 +02:00
qlcnic_ethtool.c net/qlcnic: Convert to SPDX license identifiers 2020-09-16 14:32:10 +02:00
qlcnic_hdr.h net/qlcnic: Convert to SPDX license identifiers 2020-09-16 14:32:10 +02:00
qlcnic_hw.c net/qlcnic: Convert to SPDX license identifiers 2020-09-16 14:32:10 +02:00
qlcnic_hw.h net/qlcnic: Convert to SPDX license identifiers 2020-09-16 14:32:10 +02:00
qlcnic_init.c net/qlcnic: Convert to SPDX license identifiers 2020-09-16 14:32:10 +02:00
qlcnic_io.c net/qlcnic: Convert to SPDX license identifiers 2020-09-16 14:32:10 +02:00
qlcnic_main.c net: remove ndo_udp_tunnel_* callbacks 2021-01-07 12:53:29 -08:00
qlcnic_minidump.c net/qlcnic: Fix a use after free in qlcnic_83xx_get_minidump_template 2021-03-11 18:08:14 -08:00
qlcnic_sriov.h net/qlcnic: Convert to SPDX license identifiers 2020-09-16 14:32:10 +02:00
qlcnic_sriov_common.c drivers: net: qlcnic: simplify the return expression of qlcnic_sriov_vf_shutdown() 2020-12-08 16:22:54 -08:00
qlcnic_sriov_pf.c net/qlcnic: Convert to SPDX license identifiers 2020-09-16 14:32:10 +02:00
qlcnic_sysfs.c net/qlcnic: Convert to SPDX license identifiers 2020-09-16 14:32:10 +02:00