[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <175522907876.1556995.12357818221698958241.b4-ty@oracle.com>
Date: Thu, 14 Aug 2025 23:38:16 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Mike Christie <michaelc@...wisc.edu>,
Dan Carpenter <dan.carpenter@...aro.org>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
Nilesh Javali <njavali@...vell.com>,
Manish Rangankar <mrangankar@...vell.com>,
GR-QLogic-Storage-Upstream@...vell.com,
"James E.J. Bottomley" <James.Bottomley@...senpartnership.com>,
James Bottomley <JBottomley@...allels.com>,
Ravi Anand <ravi.anand@...gic.com>, linux-scsi@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] scsi: qla4xxx: Prevent a potential error pointer dereference
On Wed, 13 Aug 2025 08:49:08 +0300, Dan Carpenter wrote:
> The qla4xxx_get_ep_fwdb() function is supposed to return NULL on error,
> but qla4xxx_ep_connect() returns error pointers. Propagating the error
> pointers will lead to an Oops in the caller, so change the error
> pointers to NULL.
>
>
Applied to 6.17/scsi-fixes, thanks!
[1/1] scsi: qla4xxx: Prevent a potential error pointer dereference
https://git.kernel.org/mkp/scsi/c/9dcf111dd3e7
--
Martin K. Petersen
Powered by blists - more mailing lists