diff options
author | Joe Lawrence <joe.lawrence@stratus.com> | 2014-08-26 17:10:41 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-10-30 09:38:20 -0700 |
commit | 54adfd41b8ee08a00e6285e8ef27246655467d24 (patch) | |
tree | 894425a7cd8d735d46f7150b0e9f084d15f0d329 /crypto | |
parent | 4952a180c73f95f3eca4f55580bd49ce79cd6789 (diff) | |
download | lwn-54adfd41b8ee08a00e6285e8ef27246655467d24.tar.gz lwn-54adfd41b8ee08a00e6285e8ef27246655467d24.zip |
qla2xxx: Fix shost use-after-free on device removal
commit db7157d4cfce6edf052452fb1d327d4d11b67f4c upstream.
Once calling scsi_host_put, be careful to not access qla_hw_data through
the Scsi_Host private data (ie, scsi_qla_host base_vha).
Fixes: fe1b806f4f71 ("qla2xxx: Refactor shutdown code so some functionality can be reused")
Signed-off-by: Joe Lawrence <joe.lawrence@stratus.com>
Acked-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions