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 6E4364FC8D4 for ; Wed, 16 Sep 2026 10:36:13 +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=1789554998; cv=none; b=YlX8ZX0rN5Q9hv/943gfhOblxfWWDFvdPcmTknjyMWCGm2J2bJNUgU4gc18rJFQnmUTc8EjHAqZtrd/1nnqGeaUboswkesmBAb14UYmASXOiIoghVH1Cr62+LvcmfbFOBpP/HsGkkNm8opSJblFutwr+uSrF/SjCJFTU10L/ff0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789554998; c=relaxed/simple; bh=9Spb6Eqm8vX1SNNW/RzjdilfUiKMFsHmruv4JewqkxI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ZTra58iyYjxv0qr9tjT5pxBJ3oD6aPK/25RAqwZUWr2ipRaHgaRkqK0r07e9kfQ5aXYeosK/fB88W3Oi5wk4aLetS5GRphIjQtLHniw0DW41Wl6uvMo8MKkdheTjWXK5C+h/kTxxiC4v8dNkLBq2d7XpaWp9iS4c+6CrgKmR3cs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wRQULP1W; 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="wRQULP1W" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 364781F00893; Wed, 16 Sep 2026 10:36:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789554968; bh=w/XVo7x9eEsrDxe2YE9ULccRS1EfhAfWWn2WLbiMiik=; h=From:To:Cc:Subject:Date:Reply-To; b=wRQULP1WOxHIQLZAyUwhD+6EFuS8YdPig5tuG7XKXJJO8iZ8ncvCAmsUhIS4BoK2E h5qwwdm2wlRSp4WmOSHQFr5a+5rzbdlspFrVDARwr4az63fAmxLRSEh8y/6MzwNbtc UJr+r9WW0mo/JC6Vcy8HyXOpg/0Nqetz2VSW3YU0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89863: scsi: qla2xxx: edif: Fix NULL pointer deref in RX SA delete check Date: Wed, 16 Sep 2026 11:29:53 +0100 Message-ID: <2026091622-CVE-2026-89863-c810@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=3625; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=h3MpcZ17LH0elUDV52cm+hjRWb4C48rSUaA34Gbw0Ls=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmr8pvSH/2MmcB4aw1zQ8r1W1tCnws1s640/6ZtNNFcw mkp25WkjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZgIBwvDgglfq5/Ztv4Le/bY RSlkZe+fs+brDRjmys3TljvUaeGwlvdi3ukZDGqrOV0XAAA= 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: edif: Fix NULL pointer deref in RX SA delete check qla_chk_edif_rx_sa_delete_pending() obtains the SCSI command via GET_CMD_SP(sp) and immediately dereferences cmd->sc_data_direction. That command pointer can be NULL: the firmware may post a status completion for a command that has already been returned or aborted. The caller qla2x00_status_entry() acknowledges this on the very same status path, re-fetching GET_CMD_SP(sp) and bailing out with the "Command already returned" message when it is NULL -- but that check runs only after qla_chk_edif_rx_sa_delete_pending() has already dereferenced the pointer, so a NULL cmd crashes the kernel in interrupt context. Return early when cmd is NULL, before touching cmd->sc_data_direction. The Linux kernel CVE team has assigned CVE-2026-89863 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15 with commit dd30706e73b70d67e88fdaca688db7a3374fd5de and fixed in 5.15.221 with commit e479e9b148456905d12711411484b94083c8ff58 Issue introduced in 5.15 with commit dd30706e73b70d67e88fdaca688db7a3374fd5de and fixed in 6.1.188 with commit 2191b0034a2f1307d421782e6eceddf8eec9e7f6 Issue introduced in 5.15 with commit dd30706e73b70d67e88fdaca688db7a3374fd5de and fixed in 6.6.157 with commit de0c8ef3b900c5e971c82ef38c6f5c22c5f3d8c1 Issue introduced in 5.15 with commit dd30706e73b70d67e88fdaca688db7a3374fd5de and fixed in 6.12.110 with commit 96eb8a3fc9f7fe7ba32679fcf1d2fd7d251e7a8b Issue introduced in 5.15 with commit dd30706e73b70d67e88fdaca688db7a3374fd5de and fixed in 6.18.51 with commit 94bfb61478bcb207d27f8cd24fd231421059519f Issue introduced in 5.15 with commit dd30706e73b70d67e88fdaca688db7a3374fd5de and fixed in 7.2.5 with commit 75fd6d041c4a325ae37f4683e6678d3015988bb0 Issue introduced in 5.15 with commit dd30706e73b70d67e88fdaca688db7a3374fd5de and fixed in 7.3-rc1 with commit c20ee380ca59c5a8646750c4849969a815924e2e 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-89863 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_edif.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/e479e9b148456905d12711411484b94083c8ff58 https://git.kernel.org/stable/c/2191b0034a2f1307d421782e6eceddf8eec9e7f6 https://git.kernel.org/stable/c/de0c8ef3b900c5e971c82ef38c6f5c22c5f3d8c1 https://git.kernel.org/stable/c/96eb8a3fc9f7fe7ba32679fcf1d2fd7d251e7a8b https://git.kernel.org/stable/c/94bfb61478bcb207d27f8cd24fd231421059519f https://git.kernel.org/stable/c/75fd6d041c4a325ae37f4683e6678d3015988bb0 https://git.kernel.org/stable/c/c20ee380ca59c5a8646750c4849969a815924e2e