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 796FF4E80B6 for ; Wed, 16 Sep 2026 10:37:15 +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=1789555042; cv=none; b=QET2pmt0V9bxeuZOQWsPxPZO8IfgqmAk54QT6h9gNBnv1j19Kyp8Rfw/RGNE9cOF9cwLiVlz/1Q4mPCKNeh4xmZRSHEmh0hP80B/B2TxQHf8+v18v5+6koYwKGZ+8PG+PK9Hg2oTKdPTb0kEAg174uh1yQEN1xufw2RcUGhILCQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789555042; c=relaxed/simple; bh=TyUbMaZ75DK4RSekfSGUhWJecCLHw/jCSdwlJbMn7OA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=N5NrSwDENycfsYSKQ1g3yZeHl0J9iXN9M+Ip/bKCGcFmO6ZquT2o223fCm26XlzRro30mnBeqG/WetdM1bh8PEyGB03a/HilNm25wCkQHnHtmz+MxX7AXubpaJ3n9+KFYavxK3UocjbRZANxiZgKrEJ2W1W5YpwCSLLbNnII2Nk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=FWSVLhYb; 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="FWSVLhYb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4DD5D1F000FF; Wed, 16 Sep 2026 10:37:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789555032; bh=yfpSTpY9BU0/zlsReTHXTyaAvpeqUYVlsuDEmqCXvaQ=; h=From:To:Cc:Subject:Date:Reply-To; b=FWSVLhYb04xYbtE/bSQK9UH738c4BbAILay68VwsYz9cud09GD5/3zqpW8ntudBa3 FZFNbuuho0fGN4jUpSCcD6xYxKSXJkBcwY+JEH9Ho+fCj6g1AfA1UoFwfU3/SUtOt+ Cxdq2U9xTPCSgTxRs4pGMcHtTtH5JZydemTPEh0I= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89843: scsi: qla2xxx: Zero-init bsg stack buffers to avoid info leak Date: Wed, 16 Sep 2026 11:29:33 +0100 Message-ID: <2026091612-CVE-2026-89843-2410@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=3935; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ILMGqvcL1B+kjV7SwDPpQk9keWZnWGz10rHalZhRD4w=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmr8isyWryCzmxrzinwvRjp8FB1VlXjXS25C5os7Vq7t SSXVL3uiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgImkzmeYXyC+coPa44kmDzJ7 k1v2blOY0tcSzDA/+8fph84nJSOmHj9ju/bPCr4733cvBwA= 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-init bsg stack buffers to avoid info leak Several bsg handlers stage their request/reply in an uninitialized 256-byte on-stack buffer (uint8_t bsg[DMA_POOL_SIZE]) and fill it via sg_copy_to_buffer(), which only copies as many bytes as the user-supplied request payload. When the request is shorter than the structure, the remainder of the buffer is left holding stale stack data. qla2x00_read_fru_status() and qla2x00_read_i2c() then copy the full structure back to the reply payload with sg_copy_from_buffer(), leaking the uninitialized stack bytes to user space. The write/update paths do not copy the buffer back, but can feed uninitialized fields to the device. Zero the stack buffer at declaration in all five handlers, mirroring the heap kzalloc() approach, so short requests can no longer expose stale memory. The Linux kernel CVE team has assigned CVE-2026-89843 to this issue. Affected and fixed versions =========================== Issue introduced in 3.2 with commit 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 and fixed in 5.10.270 with commit 1c820d0900e4aacd5020b989159f6b4b2f7d0d6a Issue introduced in 3.2 with commit 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 and fixed in 5.15.221 with commit 26bc6a2c235a70bfc9b6de412600208aca820e20 Issue introduced in 3.2 with commit 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 and fixed in 6.1.188 with commit 5ab32dff910291b5e6bf6223f8a4003536c1800a Issue introduced in 3.2 with commit 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 and fixed in 6.6.157 with commit 947c6bfcf7f5ec924995bec43e3108b98c75b44e Issue introduced in 3.2 with commit 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 and fixed in 6.12.110 with commit 708c0ec1e09c52fee24b74ce9398bf3f8d1c83fd Issue introduced in 3.2 with commit 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 and fixed in 6.18.51 with commit 4fe5790674097897a1af1367d1e384f7e5a62fb7 Issue introduced in 3.2 with commit 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 and fixed in 7.2.5 with commit 7881faf862ee301ecfe3adc0725bd2fa0021cd95 Issue introduced in 3.2 with commit 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 and fixed in 7.3-rc1 with commit b93d3bb3afe1b44489927de1eb4e66e8536a5935 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-89843 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/1c820d0900e4aacd5020b989159f6b4b2f7d0d6a https://git.kernel.org/stable/c/26bc6a2c235a70bfc9b6de412600208aca820e20 https://git.kernel.org/stable/c/5ab32dff910291b5e6bf6223f8a4003536c1800a https://git.kernel.org/stable/c/947c6bfcf7f5ec924995bec43e3108b98c75b44e https://git.kernel.org/stable/c/708c0ec1e09c52fee24b74ce9398bf3f8d1c83fd https://git.kernel.org/stable/c/4fe5790674097897a1af1367d1e384f7e5a62fb7 https://git.kernel.org/stable/c/7881faf862ee301ecfe3adc0725bd2fa0021cd95 https://git.kernel.org/stable/c/b93d3bb3afe1b44489927de1eb4e66e8536a5935