Re: [PATCH] scsi: scsi_dh_alua: Fix possible null-ptr-deref
From: Martin K. Petersen
Date: Wed May 29 2019 - 22:08:50 EST
YueHaibing,
> If alloc_workqueue fails in alua_init, it should return -ENOMEM,
> otherwise it will trigger null-ptr-deref while unloading module which
> calls destroy_workqueue dereference wq->lock like this:
Applied to 5.2/scsi-fixes. Thanks!
--
Martin K. Petersen Oracle Linux Engineering