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 2B9792EA151 for ; Tue, 30 Dec 2025 12:15:55 +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=1767096955; cv=none; b=Cm/kso0ZAQ7iuGzODhXqlxppaVEtv/zcx3Cr2fiD5uP216xO3ioWuiPB6p+UDWHqlQjT2IoPuTEtjwyQX7sUT/hEIONLMStXyBAe1RYD59rSHvz9gIyVggpnlXHDMCE+ejBy8nL1YCQ+vCtIxmKpg4aKhvzk4fOjCzmeLrT3eTU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767096955; c=relaxed/simple; bh=Q65tGiopNUUco6z34P/dbMyidC60UzwjYR3VdmVj+hA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=u0nGgPEuCae/dpTElTmB01RYcpcupGVtdb7CtSRSn+csmSksvtuqFvvu/jm5Rejf+fgNK/VHy3fRc7ah9akMiQQvpLx9dq8PTTmw2lTwyUB9KYLVXgbWTcsEqiFGVNVvY+aRG54a/MrVeLteERzlUCtcZhY+GKySGG05+mRbRsc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=oxCstHqP; 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="oxCstHqP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AAF46C4CEFB; Tue, 30 Dec 2025 12:15:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1767096955; bh=Q65tGiopNUUco6z34P/dbMyidC60UzwjYR3VdmVj+hA=; h=From:To:Cc:Subject:Date:Reply-To:From; b=oxCstHqPlLNEXrKU8kjQa2UbR+zuoY4EokP923qdTlfsFDF/jXodVCoWNJ12eJJNf AKmOT221vqXdx/7t7GD8NRjKj9RR2GOi/yRyi9wa/Vj9ZM05UKBDKME7Fkd9Fa/H0o RBXIJHW2XGD7GKL1PLZRRQeSi55v1dIsOHmu3kiw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54234: scsi: mpi3mr: Fix missing mrioc->evtack_cmds initialization Date: Tue, 30 Dec 2025 13:14:04 +0100 Message-ID: <2025123031-CVE-2023-54234-bb5c@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2621; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=1177xHAlcn87gW52o6g0Xt4ZHMlqwZ3TThHTm8VpZj0=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnBB19HuAmU5l1Wdp66ftOiL15S5u/mvvr0iPGN51c7l 7Mhs7hOdMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEPBMZ5pftvbvjob19ZNr6 DLtTsVU7HLQeFzLMs/99z6DpxYbVUbWLpLw7P8lnPUmyAgA= 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: mpi3mr: Fix missing mrioc->evtack_cmds initialization Commit c1af985d27da ("scsi: mpi3mr: Add Event acknowledgment logic") introduced an array mrioc->evtack_cmds but initialization of the array elements was missed. They are just zero cleared. The function mpi3mr_complete_evt_ack() refers host_tag field of the elements. Due to the zero value of the host_tag field, the function calls clear_bit() for mrico->evtack_cmds_bitmap with wrong bit index. This results in memory access to invalid address and "BUG: KASAN: use-after-free". This BUG was observed at eHBA-9600 firmware update to version 8.3.1.0. To fix it, add the missing initialization of mrioc->evtack_cmds. The Linux kernel CVE team has assigned CVE-2023-54234 to this issue. Affected and fixed versions =========================== Issue introduced in 5.17 with commit c1af985d27da2d530c22604644e9025810f57d7c and fixed in 6.1.16 with commit 4e0dfdb48a824deac3dfbc67fb856ef2aee13529 Issue introduced in 5.17 with commit c1af985d27da2d530c22604644e9025810f57d7c and fixed in 6.2.3 with commit 67989091e11a974003ddf2ec39bc613df8eadd83 Issue introduced in 5.17 with commit c1af985d27da2d530c22604644e9025810f57d7c and fixed in 6.3 with commit e39ea831ebad4ab15c4748cb62a397a8abcca36e 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-54234 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/mpi3mr/mpi3mr_os.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/4e0dfdb48a824deac3dfbc67fb856ef2aee13529 https://git.kernel.org/stable/c/67989091e11a974003ddf2ec39bc613df8eadd83 https://git.kernel.org/stable/c/e39ea831ebad4ab15c4748cb62a397a8abcca36e