AZL-118526: CVE-2026-143297 affecting package kernel 6.6.161.1-1
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 QUEUEFLAGSQSCHED 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: blkmqrunhwqueues(q) sqhctx = 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 nrrequests and asyncdepth to the driver queue depth in the common scheduler teardown path, covering both scheduler exit and failed initialization.
Affected Software
Event History
Frequently Asked Questions
What conditions can trigger the stalled I/O behavior?
The issue can occur when an elevator (I/O scheduler) switch fails and falls back to no scheduler without clearing QUEUE_FLAG_SQ_SCHED. Requests pending in per-CPU software queues may then be skipped during a queue-wide restart when the selected hardware context has no pending requests.
What is the operational impact?
Read and write requests can remain undispatched, producing I/O timeouts. They may remain stalled until another event causes their hardware queues to run.
Is a queue with no active I/O scheduler affected?
Yes, the described affected queue had no elevator configured, but still retained QUEUE_FLAG_SQ_SCHED after a failed scheduler switch. The problematic state is the stale flag left behind during fallback to no scheduler.
What does the resolution change?
The fix clears the stale scheduler queue flag and restores nr_requests and async_depth to the driver queue depth during common scheduler teardown. This covers both normal scheduler exit and failed scheduler initialization.