{"id":"CVE-2026-99682","aliases":["CVE-2026-99682"],"related":[],"kind":"vulnerability","state":"published","title":"virtio_blk: use synchronous quiesce in virtblk_freeze_priv()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nvirtio_blk: use synchronous quiesce in virtblk_freeze_priv()\n\nblk_mq_run_work_fn() can call blk_mq_sched_dispatch_requests() through\nblk_mq_run_dispatch_ops(). The dispatcher checks QUEUE_FLAG_QUIESCED\nwhile the flag is clear. It can then be preempted before it gets a\nrequest. At that time, it has no queue usage reference, so\nblk_mq_freeze_queue() does not wait for it.\n\nvirtblk_freeze_priv() then calls blk_mq_quiesce_queue_nowait() and\nblk_mq_unfreeze_queue(). A new request can enter the queue. The old\ndispatcher can run again, use its old flag check, get the new request,\nand call virtio_queue_rq(). At the same time, virtblk_freeze_priv() can\nreset the device, delete the virtqueues, and free vblk->vqs. The old\ndispatcher can then use a deleted virtqueue or a NULL vblk->vqs, and the\nkernel can crash.\n\nFix this by using blk_mq_quiesce_queue(), which waits for dispatch code\nthat was already running. Keep the existing freeze and unfreeze order.\nThe queue remains quiesced until virtblk_restore_priv() calls\nblk_mq_unquiesce_queue().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nvirtio_blk: use synchronous quiesce in virtblk_freeze_priv()\n\nblk_mq_run_work_fn() can call blk_mq_sched_dispatch_requests() through\nblk_mq_run_dispatch_ops(). The dispatcher checks QUEUE_FLAG_QUIESCED\nwhile the flag is clear. It can then be preempted before it gets a\nrequest. At that time, it has no queue usage reference, so\nblk_mq_freeze_queue() does not wait for it.\n\nvirtblk_freeze_priv() then calls blk_mq_quiesce_queue_nowait() and\nblk_mq_unfreeze_queue(). A new request can enter the queue. The old\ndispatcher can run again, use its old flag check, get the new request,\nand call virtio_queue_rq(). At the same time, virtblk_freeze_priv() can\nreset the device, delete the virtqueues, and free vblk->vqs. The old\ndispatcher can then use a deleted virtqueue or a NULL vblk->vqs, and the\nkernel can crash.\n\nFix this by using blk_mq_quiesce_queue(), which waits for dispatch code\nthat was already running. Keep the existing freeze and unfreeze order.\nThe queue remains quiesced until virtblk_restore_priv() calls\nblk_mq_unquiesce_queue().","source":"cvelist"}],"published":"2026-11-20T05:50:28.705Z","modified":"2026-11-23T08:18:08.997Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"9ca428c6397abaa8c38f5c69133a2299e1efbbf2","fixed":"9971bc421b3942c2d63f8867fac2780d04610f62","status":"affected"},{"type":"git","introduced":"6dea8e3de59928974bf157dd0499d3958d744ae4","fixed":"18a5462ff15b344e55bf724589b4de55e4ce91cb","status":"affected"},{"type":"git","introduced":"9e323f856cf4963120e0e3892a84ef8bd764a0e4","fixed":"36da437dbc2ea1ae9cbe7cb2441fd8ffb4524504","status":"affected"},{"type":"git","introduced":"12c0ddd6c551c1e438b087f874b4f1223a75f7ea","fixed":"6f15e64dcecbd386badc05189116c18cadd69b74","status":"affected"},{"type":"git","introduced":"92d5139b91147ab372a17daf5dc27a5b9278e516","fixed":"4ad659b3a1f5716cc270bf62f4e79f4f95ca5443","status":"affected"},{"type":"git","introduced":"7678abee0867e6b7fb89aa40f6e9f575f755fb37","fixed":"55cc03a17478e7da75df133a4d94ffa47856fee6","status":"affected"},{"type":"git","introduced":"7678abee0867e6b7fb89aa40f6e9f575f755fb37","fixed":"76f6e24c08a613361fb636d492934cda705d8890","status":"affected"},{"type":"git","introduced":"7678abee0867e6b7fb89aa40f6e9f575f755fb37","fixed":"6c6dec7883f8eb10b326bc9d109a4990c885d949","status":"affected"},{"type":"git","version":"d738f3215bb4f88911ff4579780a44960c8e0ca5","status":"affected"},{"type":"semver","introduced":"5.10.233","fixed":"5.10.275","status":"affected"},{"type":"semver","introduced":"5.15.176","fixed":"5.15.226","status":"affected"},{"type":"semver","introduced":"6.1.123","fixed":"6.1.193","status":"affected"},{"type":"semver","introduced":"6.6.69","fixed":"6.6.163","status":"affected"},{"type":"semver","introduced":"6.12.8","fixed":"6.12.119","status":"affected"},{"type":"semver","introduced":"5.4.289","fixed":"5.5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.13","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.64","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.5","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/9971bc421b3942c2d63f8867fac2780d04610f62","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/18a5462ff15b344e55bf724589b4de55e4ce91cb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/36da437dbc2ea1ae9cbe7cb2441fd8ffb4524504","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6f15e64dcecbd386badc05189116c18cadd69b74","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4ad659b3a1f5716cc270bf62f4e79f4f95ca5443","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/55cc03a17478e7da75df133a4d94ffa47856fee6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/76f6e24c08a613361fb636d492934cda705d8890","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6c6dec7883f8eb10b326bc9d109a4990c885d949","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99682","url":"https://www.cve.org/CVERecord?id=CVE-2026-99682","licence":"CVE Terms of Use","modified":"2026-11-23T08:05:57.081Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99682","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99682","licence":"Public domain","modified":"2026-11-23T08:18:08.997Z"}],"updatedAt":"2026-11-25T22:59:52.306Z","epss":{"score":0.00177,"percentile":0.07612,"date":"2026-12-02T12:00:21.000Z"}}