[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq1zhn4y9x2.fsf@oracle.com>
Date: Wed, 29 May 2019 22:04:57 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: YueHaibing <yuehaibing@...wei.com>
Cc: <jejb@...ux.ibm.com>, <martin.petersen@...cle.com>,
<bvanassche@....org>, <axboe@...nel.dk>, <hare@...e.de>,
<linux-kernel@...r.kernel.org>, <linux-scsi@...r.kernel.org>
Subject: Re: [PATCH] scsi: scsi_dh_alua: Fix possible null-ptr-deref
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
Powered by blists - more mailing lists