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 5B6793F0774 for ; Wed, 4 Feb 2026 16:20:40 +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=1770222040; cv=none; b=pq40se8MjNFd7T2DD975oCoyA3qUdoB8nBv7sH/cNNfDSxKN6/lu7IhsD3z3BMS4ZLIPdL3Oqj8KgyCIoX06zVJNk/evfrpZzy4VZOXV+DDUa5ufwN9xf3S39pADpuTCBghV2rd3k5F9vdxJG4N4rzzp5R64DRw7iz9fZTsfyYE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770222040; c=relaxed/simple; bh=cbkbvklM+aAAa1X2/aR5QGNFArRJxY7ctfw2lVOJ9po=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=GeAiKugnF7WStnfF5F+hEShjy6BuUiKFlERTyAz1pKBUfL68jksCEHt9yKx/70ljmSLNz54TXxlN9Agpg6Tgwut6G4ukn8idjppEuxd8Y6ou6DGqWZJunVsxrFXtFPvxRJOctOdBzxB07qosg1BL7Zw+2vMMh1KKL7IYPKShm18= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=A1oMhvYk; 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="A1oMhvYk" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AB3F7C4CEF7; Wed, 4 Feb 2026 16:20:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1770222040; bh=cbkbvklM+aAAa1X2/aR5QGNFArRJxY7ctfw2lVOJ9po=; h=From:To:Cc:Subject:Date:Reply-To:From; b=A1oMhvYkJ3OAm8ceymkGfUn/hvdMSsUOdiu3o8YpjpqtOnmictGa2JiJNPcZqbkvY rih4ZDujLeRPuL/V6Wcogo1WdB4bSc5ciC0Kx/T/lpGQpEjKQJP9FIAm+h5tcqyLJQ D8EME9JwyXEXFoeyjzz/7Mm4vs+pG5ey83g8uhOU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23059: scsi: qla2xxx: Sanitize payload size to prevent member overflow Date: Wed, 4 Feb 2026 17:14:18 +0100 Message-ID: <2026020414-CVE-2026-23059-152f@gregkh> X-Mailer: git-send-email 2.53.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=2914; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=O3uHoPt44avZeqexzwf+2x/YTTOz6zTvEosvCRHxSOI=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnNBWEzY+uWV31jv7bG7yXflzlWG1uyLLp5qz7/XK0gK sH1+NzjjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjI3p8MCzo//v21Rya20JUj sqe1S72Bk71mHcM8XaEz2cfX/3EuSY2YdKH/9bFPjt92AwA= 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: Sanitize payload size to prevent member overflow In qla27xx_copy_fpin_pkt() and qla27xx_copy_multiple_pkt(), the frame_size reported by firmware is used to calculate the copy length into item->iocb. However, the iocb member is defined as a fixed-size 64-byte array within struct purex_item. If the reported frame_size exceeds 64 bytes, subsequent memcpy calls will overflow the iocb member boundary. While extra memory might be allocated, this cross-member write is unsafe and triggers warnings under CONFIG_FORTIFY_SOURCE. Fix this by capping total_bytes to the size of the iocb member (64 bytes) before allocation and copying. This ensures all copies remain within the bounds of the destination structure member. The Linux kernel CVE team has assigned CVE-2026-23059 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6 with commit 875386b98857822b77ac7f95bdf367b70af5b78c and fixed in 6.6.122 with commit 408bfa8d70f79ac696cec1bdbdfb3bf43a02e6d0 Issue introduced in 6.6 with commit 875386b98857822b77ac7f95bdf367b70af5b78c and fixed in 6.12.68 with commit 1922468a4a80424e5a69f7ba50adcee37f4722e9 Issue introduced in 6.6 with commit 875386b98857822b77ac7f95bdf367b70af5b78c and fixed in 6.18.8 with commit aa14451fa5d5f2de919384c637e2a8c604e1a1fe Issue introduced in 6.6 with commit 875386b98857822b77ac7f95bdf367b70af5b78c and fixed in 6.19-rc7 with commit 19bc5f2a6962dfaa0e32d0e0bc2271993d85d414 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-23059 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/408bfa8d70f79ac696cec1bdbdfb3bf43a02e6d0 https://git.kernel.org/stable/c/1922468a4a80424e5a69f7ba50adcee37f4722e9 https://git.kernel.org/stable/c/aa14451fa5d5f2de919384c637e2a8c604e1a1fe https://git.kernel.org/stable/c/19bc5f2a6962dfaa0e32d0e0bc2271993d85d414