> "Ming" == Ming Lei writes:
Ming> This patch fixes one use-after-free report[1] by KASAN. In
Ming> __scsi_scan_target(), when a type 31 device is probed,
Ming> SCSI_SCAN_TARGET_PRESENT is returned and the target will be
Ming> scanned again.
Applied to 4.9/scsi-fixes.
--
Martin K. Peterse
Looks fine:
Reviewed-by: Christoph Hellwig
This patch fixes one use-after-free report[1] by KASAN.
In __scsi_scan_target(), when a type 31 device is probed,
SCSI_SCAN_TARGET_PRESENT is returned and the target will be
scanned again.
Inside the following scsi_report_lun_scan(), one new scsi_device
instance is allocated, and scsi_probe_and_a
3 matches
Mail list logo