[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164182835583.13635.8893897852615126704.b4-ty@oracle.com>
Date: Mon, 10 Jan 2022 17:04:38 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Jiasheng Jiang <jiasheng@...as.ac.cn>, jejb@...ux.ibm.com,
skashyap@...vell.com, GR-QLogic-Storage-Upstream@...vell.com,
jhasan@...vell.com, linux@...linux.org.uk
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH] scsi: qedf: potential dereference of null pointer
On Thu, 16 Dec 2021 18:14:49 +0800, Jiasheng Jiang wrote:
> The return value of dma_alloc_coherent() needs to be checked.
> To avoid use of null pointer in case of the failure of alloc.
>
>
Applied to 5.17/scsi-queue, thanks!
[1/1] scsi: qedf: potential dereference of null pointer
https://git.kernel.org/mkp/scsi/c/aa7069d840da
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists