AZL-118517: CVE-2026-143293 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
virtioblk: freeze the virtqueue layout at probe time
initvq() reads the writable numrequestqueues and pollqueues module parameters both at probe and when recreating virtqueues after suspend or reset. However, virtio-blk does not update the blk-mq hardware queue count or queue maps on restore.
Increasing pollqueues can therefore remove the completion callback from a virtqueue still used for interrupt-driven I/O, leaving requests uncompleted. Reducing the effective request queue count through numrequestqueues can instead leave existing hardware contexts indexing beyond the reallocated vblk->vqs array.
Determine the virtqueue count and the split between interrupt-driven and polling queues once at probe, and reuse this layout when recreating the virtqueues. Changes to these module parameters then affect only subsequently probed devices.
Affected Software
Event History
Frequently Asked Questions
What conditions are required for this issue to occur?
The virtio-blk device must be suspended or reset after it has been probed, and the writable num_request_queues or poll_queues module parameter must be changed before virtqueues are recreated. The problem arises because the recreated virtqueue layout no longer matches the existing block multi-queue configuration.
Who is realistically exposed?
Systems using virtio-blk devices are exposed if an administrator or other entity able to modify kernel module parameters changes num_request_queues or poll_queues while a device remains active and later undergoes suspend or reset. Devices probed after a parameter change use the new values and are not affected by the mismatch described.
What can happen if the issue is triggered?
Increasing poll_queues can leave interrupt-driven I/O requests without a completion callback, causing requests to remain uncompleted. Reducing the effective request queue count can cause existing hardware contexts to index beyond the reallocated virtqueue array.
What can be done if patching is not immediately possible?
Do not change the num_request_queues or poll_queues module parameters for already-probed virtio-blk devices. If different settings are needed, apply them only before probing subsequently used devices and avoid changing them across suspend or reset events for active devices.