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 EBB203A3812 for ; Sun, 19 Jul 2026 15:03: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=1784473397; cv=none; b=WUB6a2kw3xFdYb3G/K91BbLB2Meuu0SIDnuPXH8Iwnf2Bf5aDcq9D109BGbSaK7AVHDjK7XpeEU3M+mbdFUs6O7h/htx5ecIRQFLoVKsK9pNwggsJmtVrA1chnmbB7xNTxBTKeLssUodLiJPTvsRJXEt5nXfzSoxA0LqCWVZqhc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784473397; c=relaxed/simple; bh=xddjXhSqZrZvMz72ul6eCfo5Wz0Y+vaIJqHp169M4v8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=sh6YTSKjIbPcm+FvD7FZwyC3gNJVr/O4PSEnX6KjX8TTjBjkwFrDY2O6iBzd4lRJTrmLpsNoziuDDHVqtOOxcpjaj2ibnYqLfnPeyZKDsDK2pWS2C6oR+ErHiHDb3ijHsE4vCpH81DfoyDpPoBog+4k0UgNvXNc3XbhNvYYDmaQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=O1aMfb1P; 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="O1aMfb1P" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5BDF41F000E9; Sun, 19 Jul 2026 15:03:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784473395; bh=qwPCOulBqD6N/M+0agrFZrqI+ARyDeGsQV0047IMMNk=; h=From:To:Cc:Subject:Date:Reply-To; b=O1aMfb1P5zO/Rvpl2xIHIW7i703ibXpM27BGwtUIzjnkskEsWRT0U1+4Pw1MtbOQL ThtKS2H9dyYFhzrRsmUHR9bSws+UTd6eZLJELHC2iKC/PiKuPyfUCZYb4M9PsXpxlx vXfe03JfsVcDdxvlDu2iswQr3krQc94eIq3w9V9c= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64003: scsi: core: Run queues for all non-SDEV_DEL devices from scsi_run_host_queues Date: Sun, 19 Jul 2026 16:57:43 +0200 Message-ID: <2026071907-CVE-2026-64003-a0d3@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=3396; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=dusDKlzVaKhtHNk3NJDjMESvHSFZj9tAPzY3y4zOo4o=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkxT9vPv9vqNO31mdXbVxSrSHIskH371cp+9u67/Ft75 Jfnvezx6IhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJNC1gmB+prTK9b4VT5LLw 6r5ZF9a0iFQqhDMs2CGgeSPymf76Ockm74Tvf2ArZO7qBgA= 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: core: Run queues for all non-SDEV_DEL devices from scsi_run_host_queues While a SCSI host is in a recovery state, scsi_mq_requeue_cmd() will not set the requeue list for a requeued command to be kicked in the future. The expectation is a call to scsi_run_host_queues() will kick all SCSI devices once the recovery state is cleared. However, scsi_run_host_queues() uses shost_for_each_device() which uses scsi_device_get() and so will ignore devices in a partially removed state like SDEV_CANCEL. But these devices may also have requeued requests, leaving their requests stuck from not being kicked and causing the removal process of the device to hang. scsi_run_host_queues() needs to run against more devices than the macro shost_for_each_device() allows. Instead of using the too limiting scsi_device_get() state checks, only ignore devices in SDEV_DEL state or when unable to acquire a reference. Attempt to run the queues for all other devices when scsi_run_host_queues() is called. The Linux kernel CVE team has assigned CVE-2026-64003 to this issue. Affected and fixed versions =========================== Issue introduced in 6.5 with commit 8b566edbdbfb5cde31a322c57932694ff48125ed and fixed in 6.6.143 with commit 15fb19af49f2073ed77fad16aaabc648b0ca6800 Issue introduced in 6.5 with commit 8b566edbdbfb5cde31a322c57932694ff48125ed and fixed in 6.12.93 with commit d4dddfecdbb5467bef158d4e1486459808357fef Issue introduced in 6.5 with commit 8b566edbdbfb5cde31a322c57932694ff48125ed and fixed in 6.18.35 with commit 475f2b37a78f4c698967a7f14f325f04e24c9175 Issue introduced in 6.5 with commit 8b566edbdbfb5cde31a322c57932694ff48125ed and fixed in 7.0.12 with commit c740e13e7fe32d8e4d9a1699f65b8daf6709895a Issue introduced in 6.5 with commit 8b566edbdbfb5cde31a322c57932694ff48125ed and fixed in 7.1 with commit 7205b58702273baf21d6ba7992e6ba15852325f7 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-64003 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/scsi_lib.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/15fb19af49f2073ed77fad16aaabc648b0ca6800 https://git.kernel.org/stable/c/d4dddfecdbb5467bef158d4e1486459808357fef https://git.kernel.org/stable/c/475f2b37a78f4c698967a7f14f325f04e24c9175 https://git.kernel.org/stable/c/c740e13e7fe32d8e4d9a1699f65b8daf6709895a https://git.kernel.org/stable/c/7205b58702273baf21d6ba7992e6ba15852325f7