From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796290571; b=O+NeQcKqR3lfRZPZtxWS8ekkbd3tPZauuxmkkuwEUn/AVpwPf7AiXnGujuw+OhYrO7gz 3K2Nv55O1kz2pqpM58Sg3a8aYeMBvXnoAL+I14lRsCwWwTR8WpBMjzKU/4hJ/iwUXrt6E Epqt10ZStohTvlRr3KjMUESJIS1v/gayhp1PFYonrslomHwrpGKX2nz11XaPFFY0N4j0k t70m6jFRH5cxG0IDKRvCvBbMBCoVoVhzxBVdwGNp/efgKcyYZTzijs+obl2uXJLwvyuVD BJoI5jbLfHEOU7gphMKOVtOVNl65FA8QvwkIdDUBRPx2xZa6xR+foo5X95h6Wm8DwXg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796290571; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=J7iZKvT1m23KWlIYMmm+pOJEloNGRxWdExrpLUpcOew=; b=mW+35KhTpyC1SfhSjN269B1+CcGxG/sI54HS3zDgPP6EDmAQs+wUA7Wei2yiYKA5VU/s TFkQ868w0T1pdLlpKOF9AgJszEYt87hQhU4rqzx9lWwW3z3Y58xYvYyliHhGFVzpdCYCe dW4aX/mEW6Z+OTbzaLywPCgUorEsZPVE6MWOBn7qmK3ZardMIwM4FbKvs7Obrv/lTlwxi Wd2znglBu+dIr3Hl6rVMERIVX2ZQigq0dx4SGdE7LT72FxYS+FSXXNGkRDJ1tKtGZpKRa jFxmZNs04bwA1R/if2VW7aYROdxnpX22dhAgkacWHqnO+8qxwdMhqGTYQkIBzcbSIUg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=hkt7XTiu; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EE766606A322 for ; Thu, 3 Dec 2026 09:36:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=hkt7XTiu Received: by smtp.kernel.org (Postfix) with ESMTPSA id 46F461F00893; Thu, 3 Dec 2026 09:36:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796290570; bh=J7iZKvT1m23KWlIYMmm+pOJEloNGRxWdExrpLUpcOew=; h=From:To:Cc:Subject:Date:Reply-To; b=hkt7XTiuNzF1gDCQDGbCho7q9z11qqXl6wFylQTeqYVfFG8OgbMzTSQAhsTlDI0D1 7jMLkcYvJkOubQkyNRMU6y3K94opq5EV9/eQsaDrfYzvHBaizfjC0CiCO9uWMUTB4F h+bff5tFtxHPPiJWCJNK3lGegKboFK8ijYFh4DrU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-143297: blk-mq: reset queue state on scheduler teardown Date: Thu, 3 Dec 2026 10:22:13 +0100 Message-ID: <2026120332-CVE-2026-143297-e652@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2801; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=2lfp0A+WHousYsnJ5rJqtFDSbpVZe3KctLW0KvBAgV8=; b=owGbwMvMwCRo6H6F97bub03G02pJDNmCxmvu6Au8bXzqrTTh+mnZ5Ws0a6QfbzvWICOvWnPAb X7YeXnhjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIaDTDgj0HMroDLUSc0y41 TOudv/iZfaV+O8N8T36Lttxo5ZI3t3uTav4u4V6a0X0FAA== 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: blk-mq: reset queue state on scheduler teardown We observed I/O timeouts with requests stalled in per-CPU software queues. The affected queue had no elevator, but QUEUE_FLAG_SQ_SCHED remained set. A failed elevator switch can leave this state when falling back to none without clearing the flag. With empty hctx dispatch lists, a queue-wide restart on CPU4 would skip requests pending in ctx5/ctx7: CPU4: blk_mq_run_hw_queues(q) sq_hctx = hctx4 hctx4: no pending requests -> selected hctx5: 9 reads in ctx5 -> skipped hctx7: 3 writes in ctx7 -> skipped The pending requests may remain undispatched until another event runs their hardware queues. Clear the flag and restore nr_requests and async_depth to the driver queue depth in the common scheduler teardown path, covering both scheduler exit and failed initialization. The Linux kernel CVE team has assigned CVE-2026-143297 to this issue. Affected and fixed versions =========================== Issue introduced in 5.19 with commit 4d337cebcb1c27d9b48c48b9a98e939d4552d584 and fixed in 6.18.66 with commit c1680f84fff9a0d4ca4ba8c459b3e14c46f1b016 Issue introduced in 5.19 with commit 4d337cebcb1c27d9b48c48b9a98e939d4552d584 and fixed in 7.3.7 with commit 98bf8743f89b64e90cf57f41339b704ce7196ccd Issue introduced in 5.19 with commit 4d337cebcb1c27d9b48c48b9a98e939d4552d584 and fixed in 7.4-rc2 with commit 3a9892bca4dd0182db61702e131cad569b1d71e6 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-143297 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: block/blk-mq-sched.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/c1680f84fff9a0d4ca4ba8c459b3e14c46f1b016 https://git.kernel.org/stable/c/98bf8743f89b64e90cf57f41339b704ce7196ccd https://git.kernel.org/stable/c/3a9892bca4dd0182db61702e131cad569b1d71e6