CVE-2026-99682
virtio_blk: use synchronous quiesce in virtblk_freeze_priv()
- CVSS
- —
- EPSS
- 0.18% (p8)
- Published
- 2026-11-20
- Age
- 14d old
- Modified
- 2026-11-23
- Product
- Linux Linux
Description
In the Linux kernel, the following vulnerability has been resolved: virtio_blk: use synchronous quiesce in virtblk_freeze_priv() blk_mq_run_work_fn() can call blk_mq_sched_dispatch_requests() through blk_mq_run_dispatch_ops(). The dispatcher checks QUEUE_FLAG_QUIESCED 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 blk_mq_freeze_queue() does not wait for it. virtblk_freeze_priv() then calls blk_mq_quiesce_queue_nowait() and blk_mq_unfreeze_queue(). A new request can enter the queue. The old dispatcher can run again, use its old flag check, get the new request, and call virtio_queue_rq(). At the same time, virtblk_freeze_priv() 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 blk_mq_quiesce_queue(), which waits for dispatch code that was already running. Keep the existing freeze and unfreeze order. The queue remains quiesced until virtblk_restore_priv() calls blk_mq_unquiesce_queue().
Fixed in
18a5462ff15b344e55bf724589b4de55e4ce91cb · 36da437dbc2ea1ae9cbe7cb2441fd8ffb4524504 · 4ad659b3a1f5716cc270bf62f4e79f4f95ca5443 · 5.10.275 · 5.11 · 5.15.226 · 5.16 · 5.5 · 55cc03a17478e7da75df133a4d94ffa47856fee6 · 6.1.193 · 6.12.119 · 6.13 · 6.18.64 · 6.2 · 6.6.163 · 6.7 · 6c6dec7883f8eb10b326bc9d109a4990c885d949 · 6f15e64dcecbd386badc05189116c18cadd69b74 · 7.3.5 · 76f6e24c08a613361fb636d492934cda705d8890 · 9971bc421b3942c2d63f8867fac2780d04610f62
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5.10.233, <5.10.275 | 5.10.275 |
| Linux | Kernel | >=5.10.233, <5.11 | 5.11 |
| Linux | Kernel | >=5.15.176, <5.15.226 | 5.15.226 |
| Linux | Kernel | >=5.15.176, <5.16 | 5.16 |
| Linux | Kernel | >=5.4.289, <5.5 | 5.5 |
| Linux | Kernel | >=6.1.123, <6.1.193 | 6.1.193 |
| Linux | Kernel | >=6.1.123, <6.2 | 6.2 |
| Linux | Kernel | >=6.12.8, <6.12.119 | 6.12.119 |
| 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 |
| Linux | Kernel | >=6.6.69, <6.6.163 | 6.6.163 |
| Linux | Kernel | >=6.6.69, <6.7 | 6.7 |
| vendor | Linux | >=12c0ddd6c551c1e438b087f874b4f1223a75f7ea, <6f15e64dcecbd386badc05189116c18cadd69b74 | 6f15e64dcecbd386badc05189116c18cadd69b74 |
| vendor | Linux | >=5.10.233, <5.10.275 | 5.10.275 |
| vendor | Linux | >=5.10.233, <5.11 | 5.11 |
| vendor | Linux | >=5.15.176, <5.15.226 | 5.15.226 |
| vendor | Linux | >=5.15.176, <5.16 | 5.16 |
| vendor | Linux | >=5.4.289, <5.5 | 5.5 |
| vendor | Linux | >=6.1.123, <6.1.193 | 6.1.193 |
| vendor | Linux | >=6.1.123, <6.2 | 6.2 |
| vendor | Linux | >=6.12.8, <6.12.119 | 6.12.119 |
| vendor | Linux | >=6.12.8, <6.13 | 6.13 |
| vendor | Linux | >=6.6.69, <6.6.163 | 6.6.163 |
| vendor | Linux | >=6.6.69, <6.7 | 6.7 |
| vendor | Linux | >=6dea8e3de59928974bf157dd0499d3958d744ae4, <18a5462ff15b344e55bf724589b4de55e4ce91cb | 18a5462ff15b344e55bf724589b4de55e4ce91cb |
| vendor | Linux | >=7678abee0867e6b7fb89aa40f6e9f575f755fb37, <55cc03a17478e7da75df133a4d94ffa47856fee6 | 55cc03a17478e7da75df133a4d94ffa47856fee6 |
| vendor | Linux | >=7678abee0867e6b7fb89aa40f6e9f575f755fb37, <6c6dec7883f8eb10b326bc9d109a4990c885d949 | 6c6dec7883f8eb10b326bc9d109a4990c885d949 |
| vendor | Linux | >=7678abee0867e6b7fb89aa40f6e9f575f755fb37, <76f6e24c08a613361fb636d492934cda705d8890 | 76f6e24c08a613361fb636d492934cda705d8890 |
| vendor | Linux | >=92d5139b91147ab372a17daf5dc27a5b9278e516, <4ad659b3a1f5716cc270bf62f4e79f4f95ca5443 | 4ad659b3a1f5716cc270bf62f4e79f4f95ca5443 |
| vendor | Linux | >=9ca428c6397abaa8c38f5c69133a2299e1efbbf2, <9971bc421b3942c2d63f8867fac2780d04610f62 | 9971bc421b3942c2d63f8867fac2780d04610f62 |
| vendor | Linux | >=9e323f856cf4963120e0e3892a84ef8bd764a0e4, <36da437dbc2ea1ae9cbe7cb2441fd8ffb4524504 | 36da437dbc2ea1ae9cbe7cb2441fd8ffb4524504 |
Sources
- NVD · first seen 14d ago · NVD terms of use
- OSV · first seen 14d ago · CC-BY 4.0
- CVE List · first seen 14d ago · CVE Terms of Use
References
- https://git.kernel.org/stable/c/55cc03a17478e7da75df133a4d94ffa47856fee6 other
- https://git.kernel.org/stable/c/76f6e24c08a613361fb636d492934cda705d8890 other
- https://git.kernel.org/stable/c/6c6dec7883f8eb10b326bc9d109a4990c885d949 other
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git package
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99682.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-99682 advisory
- https://git.kernel.org/stable/c/9971bc421b3942c2d63f8867fac2780d04610f62 other
- https://git.kernel.org/stable/c/18a5462ff15b344e55bf724589b4de55e4ce91cb other
- https://git.kernel.org/stable/c/36da437dbc2ea1ae9cbe7cb2441fd8ffb4524504 other
- https://git.kernel.org/stable/c/6f15e64dcecbd386badc05189116c18cadd69b74 other
- https://git.kernel.org/stable/c/4ad659b3a1f5716cc270bf62f4e79f4f95ca5443 other