Thread (2 messages) 2 messages, 2 authors, 2021-07-24

Re: [PATCH 1/1] scsi: be2iscsi: fix use after free during IP updates

From: "Martin K. Petersen" <martin.petersen@oracle.com>
Date: 2021-07-24 02:15:31

On Thu, 1 Jul 2021 14:08:40 -0500, Mike Christie wrote:
This fixes a bug found by Lv Yunlong where because beiscsi_exec_nemb_cmd
frees memory for the be_dma_mem cmd, we can access freed memory when
beiscsi_if_clr_ip/beiscsi_if_set_ip's call to beiscsi_exec_nemb_cmd fails
and we access the freed req. This fixes the issue by having the caller
free the cmd's memory.
Applied to 5.15/scsi-queue, thanks!

[1/1] scsi: be2iscsi: fix use after free during IP updates
      https://git.kernel.org/mkp/scsi/c/7b0ddc134608

-- 
Martin K. Petersen	Oracle Linux Engineering
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help