Re: [PATCH] scsi: dpt_i2o: Use after free in I2ORESETCMD ioctl

2018-04-09 Thread Martin K. Petersen
Dan, > Here is another use after free if we reset the card. The adpt_hba_reset() > function frees "pHba" on error. Applied to 4.17/scsi-fixes. Thank you! -- Martin K. Petersen Oracle Linux Engineering

[PATCH] scsi: dpt_i2o: Use after free in I2ORESETCMD ioctl

2018-03-21 Thread Dan Carpenter
Here is another use after free if we reset the card. The adpt_hba_reset() function frees "pHba" on error. Signed-off-by: Dan Carpenter diff --git a/drivers/scsi/dpt_i2o.c b/drivers/scsi/dpt_i2o.c index 3c667b23a801..359e0acfbc7c 100644 --- a/drivers/scsi/dpt_i2o.c +++ b/drivers/scsi/dpt_i2o.c @