linux/drivers/scsi/lpfc
Dan Carpenter 9816ef6ecb scsi: lpfc: Use after free in lpfc_rq_buf_free()
The error message dereferences "rqb_entry" so we need to print it first
and then free the buffer.

Fixes: 6c621a2229 ("scsi: lpfc: Separate NVMET RQ buffer posting from IO resources SGL/iocbq/context")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-11-28 23:46:06 -05:00
..
lpfc_attr.c
lpfc_attr.h
lpfc_bsg.c
lpfc_bsg.h
lpfc_compat.h
lpfc_crtn.h
lpfc_ct.c
lpfc_debugfs.c
lpfc_debugfs.h
lpfc_disc.h
lpfc_els.c
lpfc_hbadisc.c
lpfc_hw4.h
lpfc_hw.h
lpfc_ids.h
lpfc_init.c
lpfc_logmsg.h
lpfc_mbox.c
lpfc_mem.c scsi: lpfc: Use after free in lpfc_rq_buf_free() 2017-11-28 23:46:06 -05:00
lpfc_nl.h
lpfc_nportdisc.c
lpfc_nvme.c
lpfc_nvme.h
lpfc_nvmet.c
lpfc_nvmet.h
lpfc_scsi.c
lpfc_scsi.h
lpfc_sli4.h
lpfc_sli.c
lpfc_sli.h
lpfc_version.h
lpfc_vport.c
lpfc_vport.h
lpfc.h
Makefile