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 A1BFD4EC659 for ; Wed, 16 Sep 2026 10:37:19 +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=1789555051; cv=none; b=o4+treRPPILE6urVIR0F3IvNV/eXNCNi66olQex17//TOhuqPq/19/vBJVf75g2g01fthSndyzS+GFNujLbshr+Y5MmOpvVm/nT0wV4+1eWyvyYD2NncporRy7+2aluZSam0e0bGrNVg3Ppwv42IwvjozZNaC3Mb1fS3/BEVWLo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789555051; c=relaxed/simple; bh=a66xfLjHXx0WKOsn2kLvDLXDVo2uT0fF57PrBz5lYTk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=oEI7OrqyN5tks9ZVI4dXUmg6FMffyE94qnMSb205ACHa0s+OtAVGAPQLzlCZRxBwUDafQMTGiOE2KBvU/3NRv4mdN5TUtrKfi3yMfDQMfAYvciryiHcaD0m2yk20rMdWjIMcdoMfbnB4cgB0QpGYm/x0P0DIyF8DRtazeCf60tQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Ut6WonHi; 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="Ut6WonHi" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BECC41F0089A; Wed, 16 Sep 2026 10:37:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789555039; bh=GffrlPTmSIJzbEEZvyHC4/FIuC1eWX7F3/I7+J3r1RA=; h=From:To:Cc:Subject:Date:Reply-To; b=Ut6WonHiRN+19RI2VVrie9DIgpStxw9iZ+cRqfoyLE7k5pNp+GuhjVZ15qiX2tkg7 fW9kxBtaDmt24CkLVtRgGJG4A5EuEcibeIlMJsRwyE5j1CRFUojPfiODhFQAbVuodR 2Fx+Xqq8Sl3LF9IdsQR8Ha/gEGy1l6ZIZSE0wJAA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89845: scsi: qla2xxx: Avoid req_q_map double-read in qla2x00_error_entry() Date: Wed, 16 Sep 2026 11:29:35 +0100 Message-ID: <2026091613-CVE-2026-89845-9eb8@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=3849; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=mnZ6PpSbxu0TZG0bZ/KmYuEFQV8mlxadmUaT5i+gLsI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmr8ivfzHnWwFwezLgt0F28ZP+ClduZ18ppC63cvG39s /VhnlFCHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRiQwMc8UXRNnET/4tyPZv uveZg7Jd4UdOLGCYX65lE50Ve+zHVBbX72JRUY+nL2BaBQA= 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 req_q_map double-read in qla2x00_error_entry() qla2x00_error_entry() reads ha->req_q_map[que] twice: once for the NULL check and again when assigning it to req. The map slot is cleared by qla25xx_free_req_que() (ha->req_q_map[que_id] = NULL under mq_lock) during queue teardown, while the response-queue interrupt that drives qla2x00_error_entry() is still registered (the IRQ is released later in qla25xx_free_rsp_que()). If the slot is set to NULL between the two reads, req becomes NULL and is dereferenced. Read the slot once into req and NULL-check the local before use. mq_lock is a mutex and cannot be taken from interrupt context, so the single read plus local check is the appropriate fix for the reported NULL dereference. The Linux kernel CVE team has assigned CVE-2026-89845 to this issue. Affected and fixed versions =========================== Issue introduced in 3.4 with commit a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b and fixed in 5.10.270 with commit c845f2597787ef70159a32566669e308b2807a56 Issue introduced in 3.4 with commit a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b and fixed in 5.15.221 with commit fe04b31e386aee4cc3a18f07462af146037dc389 Issue introduced in 3.4 with commit a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b and fixed in 6.1.188 with commit 1b995cf4157465357d66ba096e7cdaafab9972e7 Issue introduced in 3.4 with commit a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b and fixed in 6.6.157 with commit d79376fbd2a076de82c1cd8aa0b600b300c75a44 Issue introduced in 3.4 with commit a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b and fixed in 6.12.110 with commit 1c90b74e484ba48f31944fe04963d99e01ac3767 Issue introduced in 3.4 with commit a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b and fixed in 6.18.51 with commit 5dd9bec8004ba93cee8b689bf54ce294f59e5e3c Issue introduced in 3.4 with commit a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b and fixed in 7.2.5 with commit 35124cfa9898b2088ee72859e573e0876aff66fc Issue introduced in 3.4 with commit a6fe35c052c4fdd1e8e21251f14eea0bd4bbd25b and fixed in 7.3-rc1 with commit deb8abde83a799d2501f3977f6d6051000253f5e 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-89845 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_isr.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/c845f2597787ef70159a32566669e308b2807a56 https://git.kernel.org/stable/c/fe04b31e386aee4cc3a18f07462af146037dc389 https://git.kernel.org/stable/c/1b995cf4157465357d66ba096e7cdaafab9972e7 https://git.kernel.org/stable/c/d79376fbd2a076de82c1cd8aa0b600b300c75a44 https://git.kernel.org/stable/c/1c90b74e484ba48f31944fe04963d99e01ac3767 https://git.kernel.org/stable/c/5dd9bec8004ba93cee8b689bf54ce294f59e5e3c https://git.kernel.org/stable/c/35124cfa9898b2088ee72859e573e0876aff66fc https://git.kernel.org/stable/c/deb8abde83a799d2501f3977f6d6051000253f5e