mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
scsi: lpfc: Use after free in lpfc_rq_buf_free()
[ Upstream commit9816ef6ecb] 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> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9b8ffbead2
commit
dd079e26a0
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue