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 C46524D9911 for ; Wed, 16 Sep 2026 10:35:20 +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=1789554952; cv=none; b=mS4aHxSVV/KYuwmm//qfZTmfXp57gN+bqcgX03TMEC8AUzjideY1wUhQCu4kQgjyIt5A9ugy6ADOdsYf9YyZm7A2wUgE+hnnFOvRMsneX+8Kql0gwZoYWfaLZfs0x6WoLOJReU7+0kKqTmj0z8mU2Xlyc3t8sFfEVzFWUknA0tg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789554952; c=relaxed/simple; bh=YPeJm2MwHuUW+QBKA8ut35upmaQSO1S6LGrnqNQRS7A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CRKBNlUDqMyOIiAxty61zY0ille91ag2MvbzLmNwEBOjmtakkMSpkntsnStvSYhXZ2PQ7YZH5NdL/ve4IHvSJWm/O3d7hVJFZhL+SE3NITalG4tjuXMPEHT2uWlkg/ZevALEw/g5bObF4KC6zfQsvv7mZw+6YFwmhpIwLT3XFZM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=nIHeBhPe; 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="nIHeBhPe" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 61F8C1F00899; Wed, 16 Sep 2026 10:35:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789554917; bh=40C0xY+qcNPEWhDQe/IE1xvzL0EVFxVdJWKW7jCJaNY=; h=From:To:Cc:Subject:Date:Reply-To; b=nIHeBhPetsAVOCrr+O2zPZvU4+X9bwsK5BOU77mv4buYOHP/A7hFOsqpmm7vdqyNT TGY82421M6+70xG1nusfQD9FjPVs0k3Povrs1wW0I/kRwehrnC/tke30BP0GzYrzr7 84JKbRQx5TyIHLQlme8e1yVNXnyvQvsvEEhUJqv8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89848: scsi: qla2xxx: Quiesce response IRQ before freeing request queue Date: Wed, 16 Sep 2026 11:29:38 +0100 Message-ID: <2026091614-CVE-2026-89848-faf5@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=3599; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=vSt+nGVEmeovtaRWNMKGUSW14zDxFePoqluCEXMfTxo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmr8qvKWyU3KNQr95q8nsdUO9Ev7McRLl0NiQndCueNU hU2G1R0xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwER2/GaYp7ckQnHB6Vjrt9Ix 7R7iFd+2vTyfxjBX5LjyzddfXUTcS+5kMB/SDWOwn58DAA== 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: Quiesce response IRQ before freeing request queue qla2xxx_delete_qpair() deletes the request queue before the response queue. qla25xx_delete_req_que() frees the request queue memory (kfree(req) in qla25xx_free_req_que()), but the response-queue MSI-X is only released later, in qla25xx_free_rsp_que(). In that window the response interrupt can still fire, qla2xxx_msix_rsp_q() queues qpair->q_work, and qla_do_work() -> qla24xx_process_response_queue() dereferences the now-freed rsp->req (LOGINOUT/CT/ELS entries and the status path), a use-after-free. The cancel_work_sync() added for the qpair teardown lives in the response free path, which runs after the request queue is already freed, so it does not protect rsp->req. Release the response-queue interrupt and flush qpair->q_work before deleting the request queue, so no late completion can reach the freed request queue. Clearing have_irq makes the subsequent qla25xx_free_rsp_que() skip its free_irq(), and the firmware queue-delete order (request then response) is preserved; the request-delete mailbox completes on the default vector and is unaffected by dropping the qpair response interrupt early. The Linux kernel CVE team has assigned CVE-2026-89848 to this issue. Affected and fixed versions =========================== Issue introduced in 4.10 with commit d74595278f4ab192af66d9e60a9087464638beee and fixed in 6.6.157 with commit 7ac5be2a8609679fc6bbfea881360444a5ce8202 Issue introduced in 4.10 with commit d74595278f4ab192af66d9e60a9087464638beee and fixed in 6.12.110 with commit 1486cc18be3e2b4c2a730f4a1b0448d009381b3d Issue introduced in 4.10 with commit d74595278f4ab192af66d9e60a9087464638beee and fixed in 6.18.51 with commit 10e9f05f7fd0a103886a867ec8afe621fe4b906a Issue introduced in 4.10 with commit d74595278f4ab192af66d9e60a9087464638beee and fixed in 7.2.5 with commit 157ca7d1af45f87aa14a286754f19c3f72386988 Issue introduced in 4.10 with commit d74595278f4ab192af66d9e60a9087464638beee and fixed in 7.3-rc1 with commit 505753ec2594c6af09a601f0dd60be7d840c1d2d 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-89848 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_init.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/7ac5be2a8609679fc6bbfea881360444a5ce8202 https://git.kernel.org/stable/c/1486cc18be3e2b4c2a730f4a1b0448d009381b3d https://git.kernel.org/stable/c/10e9f05f7fd0a103886a867ec8afe621fe4b906a https://git.kernel.org/stable/c/157ca7d1af45f87aa14a286754f19c3f72386988 https://git.kernel.org/stable/c/505753ec2594c6af09a601f0dd60be7d840c1d2d