Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 EE6424EBACA for ; Wed, 16 Sep 2026 10:35:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789554954; cv=none; b=Kp0CziD/goLgSkEQ8KeD9pWH0pEL16eKOGUp1lFng0ggW3DyIOJGLg5zAVptP/7tRg9jsCZBkWk+lMMrBJa2LxdUNK1Bos+Q8/P3EijwMtBzMdfqfiAERSYttpTBNS8zmRPtFZHbSPIKm/SrRenX4PYEzi3UAIovao7O18xjn8E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789554954; c=relaxed/simple; bh=rab8St5U/yiffgKLJnuB7eMHwSNlquGSg5WaQ/1rtKg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=TIofEjdZgRzrGszg+pNm6RAewVBcvEw/p6LT1NLpPjBEomaDZUcO6lfi3P3IGWo9hveAz25sipIFA1vA3KYx9GZblDcTqwCIrWaQhFwD5ixji3dGZRuc1/wFci35oRBWe0E+fI+7Ey+xNqg4fWWT+GOJDsd5vLiL+0qa4qcymuA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=BrQA2OtL; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="BrQA2OtL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C68791F000FF; Wed, 16 Sep 2026 10:35:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789554929; bh=L2ntxffG8yEXUN3hu53liqZLAIHzv7+Hlf8WGT31qro=; h=From:To:Cc:Subject:Date:Reply-To; b=BrQA2OtLfO1IKhzTbjU3z+pY/XzSNmfs43wKI0IbIHnNSZnXHRLTCzVF/mVNNKz2F alQB4wsYpznZK4L8x9LexNR4XKglRjWyego4MKwqa+wfbrpCErcUVTik6BjIDyxmt9 i1NqJExbUybokh26RIafy+9ld0xN8MAMAsjrsH5c= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89852: scsi: qla2xxx: Zero mailbox struct in qla2x00_get_firmware_state() Date: Wed, 16 Sep 2026 11:29:42 +0100 Message-ID: <2026091616-CVE-2026-89852-0c99@gregkh> X-Mailer: git-send-email 2.55.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=3908; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=W42xC2LxmQVbkRLf6wfUkj2REHglpZtMOHVGsFSdkmM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmr8mtO591+upfB8c9K00u7cwLl338s1piid9ZZnPHX3 ltq+wuiO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi3sIM89M+7Of4PG9v/f4D xVkeNaf/nTkcrsEwV3wi14q5QozXl25Y4KXDlrr9xXTzrQA= 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: Zero mailbox struct in qla2x00_get_firmware_state() The mbx_cmd_t is allocated on the stack but left uninitialized. qla2x00_mailbox_command() has several early-return paths (PCI permanent failure, device failed, EEH busy, ISP abort pending, mailbox access timeout, purge mbox) that return without writing the input mailbox registers back into mcp->mb[]. qla2x00_get_firmware_state() then unconditionally copies mcp->mb[1..6] (and mb[12]) into the caller's states[] array regardless of the return value. On such a failure the copied values are uninitialized kernel stack memory, which is then exposed to userspace via the fw_state and mpi_fw_state sysfs handlers. Zero the mailbox struct so a failed query yields deterministic zeroed state instead of leaking stack contents. The Linux kernel CVE team has assigned CVE-2026-89852 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.26 with commit 4d4df1932b6b116aecc81039066fec27f2050762 and fixed in 5.10.270 with commit f8fc5cc6b3284506c6ab83c822c48133377668bb Issue introduced in 2.6.26 with commit 4d4df1932b6b116aecc81039066fec27f2050762 and fixed in 5.15.221 with commit f29695b1138ae2539c5cd6cdaba9b1b072aaa81a Issue introduced in 2.6.26 with commit 4d4df1932b6b116aecc81039066fec27f2050762 and fixed in 6.1.188 with commit 13d645a2cdb224d27205368f3e3c68bb160daf97 Issue introduced in 2.6.26 with commit 4d4df1932b6b116aecc81039066fec27f2050762 and fixed in 6.6.157 with commit 2f847f06bb223aa895eea91fc9e5e2d6314038eb Issue introduced in 2.6.26 with commit 4d4df1932b6b116aecc81039066fec27f2050762 and fixed in 6.12.110 with commit 1f49e861c18caf8eef7f0ad9a2c5034f88a6ba79 Issue introduced in 2.6.26 with commit 4d4df1932b6b116aecc81039066fec27f2050762 and fixed in 6.18.51 with commit e6cfb1ee18336aab41a0941d6d3ea5009aaafc05 Issue introduced in 2.6.26 with commit 4d4df1932b6b116aecc81039066fec27f2050762 and fixed in 7.2.5 with commit 9f31de4d07e4cde91dfc24522993a5fbb4d67083 Issue introduced in 2.6.26 with commit 4d4df1932b6b116aecc81039066fec27f2050762 and fixed in 7.3-rc1 with commit 9efaa782845b4d5fb3e01242be0d06ebc7428d8f 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-2026-89852 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_mbx.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/f8fc5cc6b3284506c6ab83c822c48133377668bb https://git.kernel.org/stable/c/f29695b1138ae2539c5cd6cdaba9b1b072aaa81a https://git.kernel.org/stable/c/13d645a2cdb224d27205368f3e3c68bb160daf97 https://git.kernel.org/stable/c/2f847f06bb223aa895eea91fc9e5e2d6314038eb https://git.kernel.org/stable/c/1f49e861c18caf8eef7f0ad9a2c5034f88a6ba79 https://git.kernel.org/stable/c/e6cfb1ee18336aab41a0941d6d3ea5009aaafc05 https://git.kernel.org/stable/c/9f31de4d07e4cde91dfc24522993a5fbb4d67083 https://git.kernel.org/stable/c/9efaa782845b4d5fb3e01242be0d06ebc7428d8f