diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-03-19 13:33:03 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-03-22 01:33:04 +0300 |
commit | 24268fd1ad3213079f1af09359b4243fffa95869 (patch) | |
tree | d5c5816818626e0382e92753570523f99b41d0a0 /Documentation/misc-devices | |
parent | 83c9f08e6c6a6dc668384882de4dcf5ef4ae0ba7 (diff) | |
download | linux-24268fd1ad3213079f1af09359b4243fffa95869.tar.xz |
scsi: dpt_i2o: use after free in adpt_release()
The scsi_host_put() function frees "pHba" and then we dereference it on
the next line when we do "scsi_host_put(pHba->host);".
[mkp: included fix from hch]
Fixes: 38e09e3bb056 ("scsi: dpt_i2o: stop using scsi_unregister")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'Documentation/misc-devices')
0 files changed, 0 insertions, 0 deletions