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]

 



Mike,

> 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-staging, thanks!

-- 
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