CVE-2026-143297: blk-mq: reset queue state on scheduler teardown
blk-mq: reset queue state on scheduler teardown
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.66 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.7 - Configuration
Reset the queue state in the common scheduler teardown path, including on scheduler exit and failed initialization.
Linux kernel blk-mq QUEUE_FLAG_SQ_SCHED, nr_requests, and async_depth = Clear QUEUE_FLAG_SQ_SCHED and restore nr_requests and async_depth to the driver values
Event History
Frequently Asked Questions
Under what conditions can requests become stalled?
The issue can occur when an elevator switch fails and falls back to no scheduler, leaving QUEUE_FLAG_SQ_SCHED set on a queue that has no elevator. Requests pending in per-CPU software queues can then be skipped during a queue-wide hardware-queue restart when the selected hardware context has no pending requests.
What is the operational impact?
Read and write requests may remain undispatched, causing I/O timeouts. They may stay stalled until another event causes their hardware queues to run.
What state must be restored to prevent the problem?
Scheduler teardown must clear QUEUE_FLAG_SQ_SCHED and restore nr_requests and async_depth to the driver queue depth. The described fix applies this in the common teardown path for both normal scheduler exit and failed scheduler initialization.