diff options
author | 2023-04-28 10:37:06 -0500 | |
---|---|---|
committer | 2023-05-08 07:17:11 -0400 | |
commit | 5c9e3c1c5276cf1f0de47f97eddf48ae1e7fd083 (patch) | |
tree | cfb50c29e7a7e1f428ada13c2e6897f033f85b0d /include/linux/blk_types.h | |
parent | scsi: smartpqi: Remove contention for raid_bypass_cnt (diff) | |
download | wireguard-linux-5c9e3c1c5276cf1f0de47f97eddf48ae1e7fd083.tar.xz wireguard-linux-5c9e3c1c5276cf1f0de47f97eddf48ae1e7fd083.zip |
scsi: smartpqi: Validate block layer host tag
Prevent OS crashes when a drive is hot removed during I/O stress test.
The I/O request pointer can be invalid if block layer provides incorrect
multi-queue host tag. This can lead to invalid I/O request pointer
dereference.
Reviewed-by: Scott Benesh <scott.benesh@microchip.com>
Reviewed-by: Scott Teel <scott.teel@microchip.com>
Reviewed-by: Mike McGowen <mike.mcgowen@microchip.com>
Reviewed-by: Kevin Barnett <kevin.barnett@microchip.com>
Signed-off-by: Murthy Bhat <Murthy.Bhat@microchip.com>
Signed-off-by: Don Brace <don.brace@microchip.com>
Link: https://lore.kernel.org/r/20230428153712.297638-7-don.brace@microchip.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/linux/blk_types.h')
0 files changed, 0 insertions, 0 deletions