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 89E4C2E611B for ; Wed, 1 Oct 2025 11:58:21 +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=1759319901; cv=none; b=NTG9LP5jCS8NCuQbbxS5LRgmm9++5WhypYLSeqQKFuQLjWoBBa/Oka76+xy+zf/nvQDcaLHvlaW9XD9j6gkycrhjU3jlLXPnLqWDzhwMRv8IWn6VcuV6pAzBFOa+XfV0VzFDR1gWeUjLLEZMfH0q6m4y+QzbB70bEt1FrnWLZkE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759319901; c=relaxed/simple; bh=TZQFedha9jTzWgA31QtkQVDsBjmPl32pRxlqUFjFaQE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=iuIXlKGimB2Go3L6QeH49Vib+p03tN0wVT0ZD4r/aNbwtr12Kqb4+0ozj0bTjjXEqCg8NE/pTFglm5oBcn+IUPEHdpqaPcFLEor+NGXDxWJEoy1htZVwKyJV46GkLDq7Wpv2GwxVBwY5leK8S+/TBzzOEA0U71pflMhpeyfHuTk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ctGwLhob; 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="ctGwLhob" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E9DE2C4CEF4; Wed, 1 Oct 2025 11:58:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759319901; bh=TZQFedha9jTzWgA31QtkQVDsBjmPl32pRxlqUFjFaQE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=ctGwLhobSdtXSu9a9PeJ2RYOHLen7xRvDuQ+MWu0gQgtYlbilO4mFSjjBhI0YEO76 VlLIxh8Zf/ptFZ/fKJkpXikpB8gEhhpWPWf2NMrTu/bNCcGwyys9FP5wPPkJ9BEvlG ZyHSHEHqNwHuVRK7NRGwR486MV2FS1/nzFZcalEc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53530: scsi: qla2xxx: Use raw_smp_processor_id() instead of smp_processor_id() Date: Wed, 1 Oct 2025 13:46:22 +0200 Message-ID: <2025100136-CVE-2023-53530-853b@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=3193; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=UhKe9Ut60ZP6qI+2Rdv9VmhqRpQh/UPfMGyFclbEDzI=; b=kA0DAAIRMUfUDdst+ykByyZiAGjdFGCinkUwWE4ebALleOWppPlJWk/ZfSirrLz4Fb9cnmjke IhdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmjdFGAACgkQMUfUDdst+ykyLwCgwNiP OYV0wnA8HL3SFq6U0nKiG3YAoKHZyvmcfTxXjxiNphTyhOfcWhoy 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: Use raw_smp_processor_id() instead of smp_processor_id() The following call trace was observed: localhost kernel: nvme nvme0: NVME-FC{0}: controller connect complete localhost kernel: BUG: using smp_processor_id() in preemptible [00000000] code: kworker/u129:4/75092 localhost kernel: nvme nvme0: NVME-FC{0}: new ctrl: NQN "nqn.1992-08.com.netapp:sn.b42d198afb4d11ecad6d00a098d6abfa:subsystem.PR_Channel2022_RH84_subsystem_291" localhost kernel: caller is qla_nvme_post_cmd+0x216/0x1380 [qla2xxx] localhost kernel: CPU: 6 PID: 75092 Comm: kworker/u129:4 Kdump: loaded Tainted: G B W OE --------- --- 5.14.0-70.22.1.el9_0.x86_64+debug #1 localhost kernel: Hardware name: HPE ProLiant XL420 Gen10/ProLiant XL420 Gen10, BIOS U39 01/13/2022 localhost kernel: Workqueue: nvme-wq nvme_async_event_work [nvme_core] localhost kernel: Call Trace: localhost kernel: dump_stack_lvl+0x57/0x7d localhost kernel: check_preemption_disabled+0xc8/0xd0 localhost kernel: qla_nvme_post_cmd+0x216/0x1380 [qla2xxx] Use raw_smp_processor_id() instead of smp_processor_id(). Also use queue_work() across the driver instead of queue_work_on() thus avoiding usage of smp_processor_id() when CONFIG_DEBUG_PREEMPT is enabled. The Linux kernel CVE team has assigned CVE-2023-53530 to this issue. Affected and fixed versions =========================== Fixed in 5.15.134 with commit 1a541999f31fcb10ea50eba2a563e6c451fd5c7d Fixed in 6.1.56 with commit 52c7b41ad6ee53222f4ee2f0c099a6ed8291a168 Fixed in 6.5.5 with commit 25bd0c7def04a272f8e89b36971712fe29c6e438 Fixed in 6.6 with commit 59f10a05b5c7b675256a66e3161741239889ff80 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-53530 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_inline.h drivers/scsi/qla2xxx/qla_isr.c drivers/scsi/qla2xxx/qla_target.c drivers/scsi/qla2xxx/tcm_qla2xxx.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/1a541999f31fcb10ea50eba2a563e6c451fd5c7d https://git.kernel.org/stable/c/52c7b41ad6ee53222f4ee2f0c099a6ed8291a168 https://git.kernel.org/stable/c/25bd0c7def04a272f8e89b36971712fe29c6e438 https://git.kernel.org/stable/c/59f10a05b5c7b675256a66e3161741239889ff80