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 CA4EE4FECCA for ; Wed, 16 Sep 2026 10:37:23 +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=1789555059; cv=none; b=dH5CV7sE0p5GRaC9SFJPJmvGqsGJP7QCVPZc1bN+S9odKoXTNUOO2mcJP5IXXyB7gQz9VbpFhI0CGLDtzNWVUe98//Q2aQaWfIG14G+B5hOua72kOLcyqvMhcyO5C5jgy2KF3lz++8wMV37c0XHgCw00smYrHyc5A1jg6EkMWLo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789555059; c=relaxed/simple; bh=DsO7LMYW24J80dljQGN++n8RxACMm0YzBkjoTH96eUA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=rjs7QCW8OXip2UDuH7ZogIZr/hO97EikEFV54zmxBecTHO2gNgtFwd3ImDSAFSNd2DtLgr9ONYtPBrSTSPxVGoxDGo1I7miGop433t/Oha8+4acqFZcao+93KN6o1jVV++1q6n8pyccUkJdOujniNJsu+wOnjULXVDhzeIUb89c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=NBzF4ha3; 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="NBzF4ha3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D1F011F000FF; Wed, 16 Sep 2026 10:37:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789555043; bh=Da14Jo68EOD6FJA55cXfgUmOg1uH/Bqe0ZMqS0Yz4d4=; h=From:To:Cc:Subject:Date:Reply-To; b=NBzF4ha33L8i4u25fcbcWjyU9xDiDCBveUfjcFyCnvSeV6d1AVDaCJIz3z+Ou6zkm gcJH1l+2pTI9bLi3dMiJzXW/3mNZ69Vw4ia/Rs8cSe+r4ml5RyI2GJEEi5HRwzjF4T v9/lJ8PDgYh/UUkrK0g61pJvDi8z2KYoLjf2xqDc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89846: scsi: qla2xxx: Bound rsp_info_len to avoid OOB sense-data read Date: Wed, 16 Sep 2026 11:29:36 +0100 Message-ID: <2026091613-CVE-2026-89846-5740@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=4366; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=eZHKR/RLnlW+5KvdpnaC1iUCc+cI3giSW07wrUZ3bXM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmr8iuFLqnKMnifKpXP3RjKO0GY0cZA579X/PXjYY4WX 1Z8v8ncEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABNpDmFYsIv9sQLLh58WHlYZ ZjNCktMfuH2sY1gwq87rnVTq3p3vdfyNXv283r+lnC8DAA== 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: Bound rsp_info_len to avoid OOB sense-data read In qla2x00_status_entry(), the FWI2 status path advances sense_data and shrinks par_sense_len by rsp_info_len: if (IS_FWI2_CAPABLE(ha)) { sense_data += rsp_info_len; par_sense_len -= rsp_info_len; } rsp_info_len is a 32-bit value taken directly from the target's FCP response (sf.rsp_data_len), while par_sense_len is the IOCB data area size (28 bytes for 24xx, 60 bytes for 29xx). A hostile or buggy target reporting an rsp_info_len larger than par_sense_len makes the unsigned subtraction underflow to a huge value and advances sense_data out of bounds. The underflowed par_sense_len then defeats the cap in qla2x00_handle_sense(): if (sense_len > par_sense_len) sense_len = par_sense_len; memcpy(cp->sense_buffer, sense_data, sense_len); so the memcpy reads up to SCSI_SENSE_BUFFERSIZE bytes from the out-of-bounds sense_data pointer, leaking adjacent response-ring/heap memory into the command's sense buffer. Clamp rsp_info_len to par_sense_len before the subtraction so par_sense_len can never underflow and sense_data stays within the IOCB data area. The fix sits before the comp_status switch, covering both qla2x00_handle_sense() call sites. The Linux kernel CVE team has assigned CVE-2026-89846 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.36 with commit 5544213be7b4fb693730106a6d70a8cc1aa7cdf6 and fixed in 5.10.270 with commit 125b12861c726e58448bb95d55b04851fb131d1f Issue introduced in 2.6.36 with commit 5544213be7b4fb693730106a6d70a8cc1aa7cdf6 and fixed in 5.15.221 with commit e57ace988bda5693f7b3645f652ea4b4220870ee Issue introduced in 2.6.36 with commit 5544213be7b4fb693730106a6d70a8cc1aa7cdf6 and fixed in 6.1.188 with commit 6b08c0cb110a1fba92f99d655020198489699815 Issue introduced in 2.6.36 with commit 5544213be7b4fb693730106a6d70a8cc1aa7cdf6 and fixed in 6.6.157 with commit be75ab791c9b3baca66c70ce03443afebc83acda Issue introduced in 2.6.36 with commit 5544213be7b4fb693730106a6d70a8cc1aa7cdf6 and fixed in 6.12.110 with commit ebc41dfc59d190956e0113e8bd90c28f6f21e8b9 Issue introduced in 2.6.36 with commit 5544213be7b4fb693730106a6d70a8cc1aa7cdf6 and fixed in 6.18.51 with commit d7f7746ff031ae45724881261804f4bf5317c985 Issue introduced in 2.6.36 with commit 5544213be7b4fb693730106a6d70a8cc1aa7cdf6 and fixed in 7.2.5 with commit f6e8977bce887481b2b2b0e2e14a791270741cfb Issue introduced in 2.6.36 with commit 5544213be7b4fb693730106a6d70a8cc1aa7cdf6 and fixed in 7.3-rc1 with commit ca6d880d6c70cb7946e7b3e05d7285f271b6d99e 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-89846 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/125b12861c726e58448bb95d55b04851fb131d1f https://git.kernel.org/stable/c/e57ace988bda5693f7b3645f652ea4b4220870ee https://git.kernel.org/stable/c/6b08c0cb110a1fba92f99d655020198489699815 https://git.kernel.org/stable/c/be75ab791c9b3baca66c70ce03443afebc83acda https://git.kernel.org/stable/c/ebc41dfc59d190956e0113e8bd90c28f6f21e8b9 https://git.kernel.org/stable/c/d7f7746ff031ae45724881261804f4bf5317c985 https://git.kernel.org/stable/c/f6e8977bce887481b2b2b0e2e14a791270741cfb https://git.kernel.org/stable/c/ca6d880d6c70cb7946e7b3e05d7285f271b6d99e