Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D6A532797AE for ; Sat, 4 Oct 2025 15:54:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759593260; cv=none; b=E1W3c4H2JuuEa/VF9sVHVocgjfGSau2RI+VVBpbIKm+TqGbFuVdqIuaL21uQf9h/MM8Y9AlCvg+DPw/X9aokmaCgUNFWJGkrk8NBaB35xOAEQ34IUdNAZgWjH0BXXOrqjphjfy9ANCADKw81P4cS32S/c8y0vDDqAuLJ4f1OTLM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759593260; c=relaxed/simple; bh=jbZv6soYoAXvK6LYL6SLb0lwRr305NGBKWch466l2FU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SQPu19LKeBsGoJWs6x3AjP5Zi9YgSP1T9HeWCx5jfSF0dKfeU8+GPRwzMhaTOBn6u4zY2dGXiKCYgJCnAxfpA+KASKufVYMGdLF6oFBNnPXrD6IDMSL7T+b2XxKK/+UOOI+pBAy/saCxUFTCqE4a6HO81nMcEQTCKrT0CjGRzpo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qqFf6RId; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="qqFf6RId" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0C9B7C4CEF1; Sat, 4 Oct 2025 15:54:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759593260; bh=jbZv6soYoAXvK6LYL6SLb0lwRr305NGBKWch466l2FU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=qqFf6RIddB3FsOLanNmGWDkBdmTOBqtJYl+kYkXzhRmtTwr/lrK6Q7KNV3PbdW/nZ Sqq31at3ECCZ9a2k/d8bkAmC7K0ywFmyqtf/9V5je9zL/Zy/vIJbx0vcREeR7iuXz3 buimQQpp2gil9kbNYHbYiHP2Dd48ne1pe7daYyMU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53603: scsi: qla2xxx: Avoid fcport pointer dereference Date: Sat, 4 Oct 2025 17:51:57 +0200 Message-ID: <2025100431-CVE-2023-53603-df40@gregkh> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2184; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=yMk5ev8cvOyur1F0q5vikG9AAtc+Awk7JALFhXh2xjw=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkPnZqLrrplqbJfyatRXvrBffu3zgVflftLqnlO1C7eG HSgXTGgI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbSpMYwzyBr2bp4xnn7jj97 EOveF9Dhdmx7P8OCGSVSdfY3jYNNnHMdGr7w/SuOjQ4GAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Avoid fcport pointer dereference Klocwork reported warning of NULL pointer may be dereferenced. The routine exits when sa_ctl is NULL and fcport is allocated after the exit call thus causing NULL fcport pointer to dereference at the time of exit. To avoid fcport pointer dereference, exit the routine when sa_ctl is NULL. The Linux kernel CVE team has assigned CVE-2023-53603 to this issue. Affected and fixed versions =========================== Fixed in 5.15.121 with commit 4406fe8a96a946c7ea5724ee59625755a1d9c59d Fixed in 6.1.40 with commit 477bc74ad1add644b606bff6ba1284943c42818a Fixed in 6.4.5 with commit 7bbeff613ec0560fb2f6f8b405288f3f043adf64 Fixed in 6.5 with commit 6b504d06976fe4a61cc05dedc68b84fadb397f77 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2023-53603 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/scsi/qla2xxx/qla_edif.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/4406fe8a96a946c7ea5724ee59625755a1d9c59d https://git.kernel.org/stable/c/477bc74ad1add644b606bff6ba1284943c42818a https://git.kernel.org/stable/c/7bbeff613ec0560fb2f6f8b405288f3f043adf64 https://git.kernel.org/stable/c/6b504d06976fe4a61cc05dedc68b84fadb397f77