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 857A331B824 for ; Mon, 15 Sep 2025 14:14:07 +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=1757945647; cv=none; b=afGtgtC4pC4MtCi6kQeRejr02OVHd3LL0lPo2pq9Pk0aqGyHbF5Q0hHUu4IvTrLSwF/C1V/7rq4JNF3k7IPduEUomOFM7gOV/1hvgszzNJFpImZCGho9a7opnlwrtMz5O8z+iJ3jEE1ERqyy3K3juIYWflS9fxyH/CtVV2D3zBA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757945647; c=relaxed/simple; bh=8gxNTq1tsrXAFrZo611i0N8c8fjXJsjcgGtomx3Qm64=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=HAxo2nBeANT4KCm7jtgjJUn605T74yFXTbIYckLyYI5PxQ3B1DuGp1q9F7Jz727608e9SPD/4cqNJyJRNrL4bd0pqR7Of+hxz3DlqbYgZJFVdtKuGDC1BWmkbq/QUiKf8Y9uLtGj1NFU4SBCP469wwzqO1J6O7Oc+AadJwmxTaA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ohMr+HHI; 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="ohMr+HHI" Received: by smtp.kernel.org (Postfix) with ESMTPSA id ACFCAC4CEF1; Mon, 15 Sep 2025 14:14:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757945647; bh=8gxNTq1tsrXAFrZo611i0N8c8fjXJsjcgGtomx3Qm64=; h=From:To:Cc:Subject:Date:Reply-to:From; b=ohMr+HHI9Q9MpGoTO28E2Rz8JbcY+RiJWQxCpB7SEhw6kkZowpvgludUQzK6EJ+Ga wAAvdX0vIjXWDy1MWC/RISrtVD/Z6VU6xjupwnqAkGB8FkYBAOj5lhYitE8/8vWsYJ U/kJOEgd88d6o9dS4HRtI2buTDdLEtSHrRMnn7XQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53150: scsi: qla2xxx: Pointer may be dereferenced Date: Mon, 15 Sep 2025 16:02:13 +0200 Message-ID: <2025091552-CVE-2023-53150-29b0@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=2654; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=FQUOvKB5RBor03HB/vzT2AJCpZBoAuGBlyxNJsL9XGI=; b=owGbwMvMwCRo6H6F97bub03G02pJDBknZAKSbqlZ52S1Hb8YznPxlsiDdquJ70RmTFOt7/yxl TN+ztusjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjI9QqGubIn7u69Kf7y3aLt E3yvnqp9vG7aFBmGeUaP2ddPKGF9KVeeX5DmnTxPsu3YPwA= 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: Pointer may be dereferenced Klocwork tool reported pointer 'rport' returned from call to function fc_bsg_to_rport() may be NULL and will be dereferenced. Add a fix to validate rport before dereferencing. The Linux kernel CVE team has assigned CVE-2023-53150 to this issue. Affected and fixed versions =========================== Fixed in 4.14.322 with commit 005961bd8f066fe931104f67c34ebfcc7f240099 Fixed in 4.19.291 with commit a69125a3ce88d9a386872034e7664b30cc4bcbed Fixed in 5.4.251 with commit 3f22f9ddbb29dba369daddb084be3bacf1587529 Fixed in 5.10.188 with commit 5addd62586a94a572359418464ce0ae12fa46187 Fixed in 5.15.121 with commit 0715da51391d223bf4981e28346770edea7eeb74 Fixed in 6.1.40 with commit b06d1b525364bbcf4929b4b35d81945b10dc9883 Fixed in 6.4.5 with commit 22b1d7c8bb59c3376430a8bad5840194b12bf29a Fixed in 6.5 with commit 00eca15319d9ce8c31cdf22f32a3467775423df4 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-53150 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_bsg.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/005961bd8f066fe931104f67c34ebfcc7f240099 https://git.kernel.org/stable/c/a69125a3ce88d9a386872034e7664b30cc4bcbed https://git.kernel.org/stable/c/3f22f9ddbb29dba369daddb084be3bacf1587529 https://git.kernel.org/stable/c/5addd62586a94a572359418464ce0ae12fa46187 https://git.kernel.org/stable/c/0715da51391d223bf4981e28346770edea7eeb74 https://git.kernel.org/stable/c/b06d1b525364bbcf4929b4b35d81945b10dc9883 https://git.kernel.org/stable/c/22b1d7c8bb59c3376430a8bad5840194b12bf29a https://git.kernel.org/stable/c/00eca15319d9ce8c31cdf22f32a3467775423df4