CVE-2026-99682: virtio_blk: use synchronous quiesce in virtblk_freeze_priv()

Published Nov 20, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

virtioblk: use synchronous quiesce in virtblkfreezepriv()

blkmqrunworkfn() can call blkmqscheddispatchrequests() through blkmqrundispatchops(). The dispatcher checks QUEUEFLAGQUIESCED while the flag is clear. It can then be preempted before it gets a request. At that time, it has no queue usage reference, so blkmqfreezequeue() does not wait for it.

virtblkfreezepriv() then calls blkmqquiescequeuenowait() and blkmqunfreezequeue(). A new request can enter the queue. The old dispatcher can run again, use its old flag check, get the new request, and call virtioqueuerq(). At the same time, virtblkfreezepriv() can reset the device, delete the virtqueues, and free vblk->vqs. The old dispatcher can then use a deleted virtqueue or a NULL vblk->vqs, and the kernel can crash.

Fix this by using blkmqquiescequeue(), which waits for dispatch code that was already running. Keep the existing freeze and unfreeze order. The queue remains quiesced until virtblkrestorepriv() calls blkmqunquiescequeue().

Affected Software

12 affected componentsFixes available
linux/kernel>=5.4.289<5.5
5.5
linux/kernel>=5.10.233<5.11
5.11
linux/kernel>=5.15.176<5.16
5.16
linux/kernel>=6.1.123<6.2
6.2
linux/kernel>=6.6.69<6.7
6.7
linux/kernel>=6.12.8<6.13
6.13
linux/kernel>=6.13.0<6.18.64
6.18.64
linux/kernel>=6.19.0<7.3.5
7.3.5
debian/linux*
debian/linux*
debian/linux*
debian/linux<=6.1.176-1, <=6.1.192-2, <=6.12.107-1, <=6.12.117-1, <=7.3.4-1
7.3.5-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.5
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.11
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.16
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.2
  5. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.7
  6. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.13
  7. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.64
  8. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.5
  9. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 7.3.5-1
  10. Compensating control

    In virtblk_freeze_priv(), use synchronous blk_mq_quiesce_queue() instead of blk_mq_quiesce_queue_nowait(); keep the existing freeze and unfreeze order.

Event History

Nov 20, 2026
CVE Published
via MITRE·05:50 AM
Data Sourced
via MITRE·05:50 AM
Description
Data Sourced
via OSV·05:50 AM
DescriptionAffected Software
Data Sourced
via NVD·06:18 AM
Description

Frequently Asked Questions

1

What conditions are required to trigger the crash?

A block-multiqueue dispatch worker must check the queue's quiesced flag before it is set and then be preempted before obtaining a request. During that window, virtblk_freeze_priv() can freeze and unfreeze the queue, allowing a new request to enter while the device is reset and its virtqueues are deleted.

2

What is the impact of the race?

The previously running dispatcher can submit the new request through virtio_queue_rq() after the virtqueues have been deleted or vblk->vqs has been freed. This can dereference a deleted virtqueue or NULL vblk->vqs and crash the kernel.

3

What change resolves the issue?

The fix replaces the non-waiting blk_mq_quiesce_queue_nowait() call in virtblk_freeze_priv() with blk_mq_quiesce_queue(). The synchronous operation waits for dispatch code already in progress, and the queue remains quiesced until virtblk_restore_priv() unquiesces it.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203