From: "Martin K. Petersen" Date: Fri, 15 May 2020 00:21:30 +0000 Subject: Re: [PATCH] scsi: lpfc: Fix a use after free in lpfc_nvme_unsol_ls_handler() Message-Id: List-Id: References: <20200512181909.GA299091@mwanda> In-Reply-To: <20200512181909.GA299091@mwanda> (Dan Carpenter's message of "Tue, 12 May 2020 21:19:09 +0300") MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Dan Carpenter Cc: James Smart , Dick Kennedy , "James E.J. Bottomley" , "Martin K. Petersen" , Jens Axboe , Hannes Reinecke , Paul Ely , linux-scsi@vger.kernel.org, kernel-janitors@vger.kernel.org, Christoph Hellwig Dan, > The "axchg" pointer is dereferenced when we call the > lpfc_nvme_unsol_ls_issue_abort() function. It can't be either freed or > NULL. > > Fixes: 3a8070c567aa ("lpfc: Refactor NVME LS receive handling") This fix needs to go through the NVMe tree. -- Martin K. Petersen Oracle Linux Engineering