{"id":"CVE-2026-143297","state":"PUBLISHED","title":"blk-mq: reset queue state on scheduler teardown","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nblk-mq: reset queue state on scheduler teardown\n\nWe observed I/O timeouts with requests stalled in per-CPU software\nqueues.\n\nThe affected queue had no elevator, but QUEUE_FLAG_SQ_SCHED remained\nset. A failed elevator switch can leave this state when falling back to\nnone without clearing the flag. With empty hctx dispatch lists, a\nqueue-wide restart on CPU4 would skip requests pending in ctx5/ctx7:\n\nCPU4: blk_mq_run_hw_queues(q)\n  sq_hctx = hctx4\n  hctx4: no pending requests   -> selected\n  hctx5: 9 reads in ctx5       -> skipped\n  hctx7: 3 writes in ctx7      -> skipped\n\nThe pending requests may remain undispatched until another event runs\ntheir hardware queues.\n\nClear the flag and restore nr_requests and async_depth to the driver\nqueue depth in the common scheduler teardown path, covering both\nscheduler exit and failed initialization.","publishedAt":"2026-12-03T09:21:30.422Z","updatedAt":"2026-12-03T09:21:30.422Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4d337cebcb1c27d9b48c48b9a98e939d4552d584","status":"affected","lessThan":"c1680f84fff9a0d4ca4ba8c459b3e14c46f1b016","versionType":"git"},{"version":"4d337cebcb1c27d9b48c48b9a98e939d4552d584","status":"affected","lessThan":"98bf8743f89b64e90cf57f41339b704ce7196ccd","versionType":"git"},{"version":"4d337cebcb1c27d9b48c48b9a98e939d4552d584","status":"affected","lessThan":"3a9892bca4dd0182db61702e131cad569b1d71e6","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["block/blk-mq-sched.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.19","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["block/blk-mq-sched.c"]}],"references":["https://git.kernel.org/stable/c/c1680f84fff9a0d4ca4ba8c459b3e14c46f1b016","https://git.kernel.org/stable/c/98bf8743f89b64e90cf57f41339b704ce7196ccd","https://git.kernel.org/stable/c/3a9892bca4dd0182db61702e131cad569b1d71e6"],"weaknesses":[],"ingestedAt":"2026-12-03T09:42:04.348Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143297.json","commit":"9e309c7c0f08856e2558a1df33f75dca027fab70","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143297","state":"PUBLISHED","datePublished":"2026-12-03T09:21:30.422Z","dateUpdated":"2026-12-03T09:21:30.422Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.365Z"},"containers":{"cna":{"title":"blk-mq: reset queue state on scheduler teardown","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nblk-mq: reset queue state on scheduler teardown\n\nWe observed I/O timeouts with requests stalled in per-CPU software\nqueues.\n\nThe affected queue had no elevator, but QUEUE_FLAG_SQ_SCHED remained\nset. A failed elevator switch can leave this state when falling back to\nnone without clearing the flag. With empty hctx dispatch lists, a\nqueue-wide restart on CPU4 would skip requests pending in ctx5/ctx7:\n\nCPU4: blk_mq_run_hw_queues(q)\n  sq_hctx = hctx4\n  hctx4: no pending requests   -> selected\n  hctx5: 9 reads in ctx5       -> skipped\n  hctx7: 3 writes in ctx7      -> skipped\n\nThe pending requests may remain undispatched until another event runs\ntheir hardware queues.\n\nClear the flag and restore nr_requests and async_depth to the driver\nqueue depth in the common scheduler teardown path, covering both\nscheduler exit and failed initialization."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4d337cebcb1c27d9b48c48b9a98e939d4552d584","status":"affected","lessThan":"c1680f84fff9a0d4ca4ba8c459b3e14c46f1b016","versionType":"git"},{"version":"4d337cebcb1c27d9b48c48b9a98e939d4552d584","status":"affected","lessThan":"98bf8743f89b64e90cf57f41339b704ce7196ccd","versionType":"git"},{"version":"4d337cebcb1c27d9b48c48b9a98e939d4552d584","status":"affected","lessThan":"3a9892bca4dd0182db61702e131cad569b1d71e6","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["block/blk-mq-sched.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.19","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["block/blk-mq-sched.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/c1680f84fff9a0d4ca4ba8c459b3e14c46f1b016"},{"url":"https://git.kernel.org/stable/c/98bf8743f89b64e90cf57f41339b704ce7196ccd"},{"url":"https://git.kernel.org/stable/c/3a9892bca4dd0182db61702e131cad569b1d71e6"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:21:30.422Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"7.4-rc2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}