On Wed, 17 Nov 2021 16:19:09 +0530, Sreekanth Reddy wrote: > While looping over shost's sdev list it is possible that one > of the drive is getting removed and it's sas_target object is > freed but it's sdev object is still intact with the sdev list. > So, kernel panic occurred while driver trying to access the sas_address > field of sas_target object without checking the sas_target object > for NULL pointer. > > [...] Applied to 5.16/scsi-fixes, thanks! [1/1] mpt3sas:Fix kernel panic during drive powercycle test https://git.kernel.org/mkp/scsi/c/0ee4ba13e09c -- Martin K. Petersen Oracle Linux Engineering