[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <169750286910.2183937.11241575331092205293.b4-ty@oracle.com>
Date: Mon, 16 Oct 2023 21:11:49 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Hannes Reinecke <hare@...e.de>,
"James E . J . Bottomley" <jejb@...ux.ibm.com>,
Richard Cochran <richardcochran@...il.com>,
linux-scsi@...r.kernel.org, Wenchao Hao <haowenchao2@...wei.com>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
louhongxiang@...wei.com
Subject: Re: [PATCH] scsi: libfc: Fix potential NULL pointer dereference in fc_lport_ptp_setup
On Wed, 11 Oct 2023 21:03:50 +0800, Wenchao Hao wrote:
> fc_lport_ptp_setup() did not check the return value of fc_rport_create()
> which is possible to return NULL which would cause a NULL pointer
> dereference. Address this issue by checking return value of
> fc_rport_create() and log error message on fc_rport_create() failed.
>
>
Applied to 6.7/scsi-queue, thanks!
[1/1] scsi: libfc: Fix potential NULL pointer dereference in fc_lport_ptp_setup
https://git.kernel.org/mkp/scsi/c/4df105f0ce9f
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists