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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux