Re: [PATCH v3] scsi: libsas: add lun number check in .slave_alloc callback
From: "Martin K. Petersen" <martin.petersen@oracle.com>
Date: 2021-06-29 04:10:43
From: "Martin K. Petersen" <martin.petersen@oracle.com>
Date: 2021-06-29 04:10:43
On Tue, 22 Jun 2021 11:40:37 +0800, Yufen Yu wrote:
We found that offline a sata device on hisi sas control and then scanning the host can probe 255 not-existant devices into system. [root@localhost ~]# lsscsi [2:0:0:0] disk ATA Samsung SSD 860 2B6Q /dev/sda [2:0:1:0] disk ATA WDC WD2003FYYS-3 1D01 /dev/sdb [2:0:2:0] disk SEAGATE ST600MM0006 B001 /dev/sdc [...]
Applied to 5.14/scsi-queue, thanks!
[1/1] scsi: libsas: add lun number check in .slave_alloc callback
https://git.kernel.org/mkp/scsi/c/49da96d77938
--
Martin K. Petersen Oracle Linux Engineering