Re: [Resend PATCH] SCSI: scan: fix use-after-free

From: Martin K. Petersen
Date: Tue Oct 11 2016 - 18:01:25 EST

>>>>> "Ming" == Ming Lei <tom.leiming@xxxxxxxxx> 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. Petersen Oracle Linux Engineering