[PATCH 2/2] ibmvscsi: Fix empty event pool access during host removal

Martin K. Petersen martin.petersen at oracle.com
Thu Mar 21 11:14:13 AEDT 2019


Tyrel,

> The event pool used for queueing commands is destroyed fairly early in
> the ibmvscsi_remove() code path. Since, this happens prior to the call
> so scsi_remove_host() it is possible for further calls to queuecommand
> to be processed which manifest as a panic due to a NULL pointer
> dereference as seen here:

Applied to 5.1/scsi-fixes. Thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering


More information about the Linuxppc-dev mailing list