- Accueil
- Vulnérabilités
- CVE-2026-99682
CVE-2026-99682
virtio_blk: use synchronous quiesce in virtblk_freeze_priv()
Résumé
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().
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Linux (7 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Linux | de 5.10.233 (inclus) à 5.10.275 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 5.15.176 (inclus) à 5.15.226 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 6.1.123 (inclus) à 6.1.193 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 6.6.69 (inclus) à 6.6.163 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 6.12.8 (inclus) à 6.12.119 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 5.4.289 (inclus) à 5.5 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | 6.13 |
— | CNA (éditeur ou attributeur) |
Correctif
Non renseigné par l’éditeur.
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Références
- https://git.kernel.org/stable/c/55cc03a17478e7da75df133a4d94ffa47856fee6
- https://git.kernel.org/stable/c/76f6e24c08a613361fb636d492934cda705d8890
- https://git.kernel.org/stable/c/6c6dec7883f8eb10b326bc9d109a4990c885d949
- https://git.kernel.org/stable/c/9971bc421b3942c2d63f8867fac2780d04610f62
- https://git.kernel.org/stable/c/18a5462ff15b344e55bf724589b4de55e4ce91cb
- https://git.kernel.org/stable/c/36da437dbc2ea1ae9cbe7cb2441fd8ffb4524504
- https://git.kernel.org/stable/c/6f15e64dcecbd386badc05189116c18cadd69b74
- https://git.kernel.org/stable/c/4ad659b3a1f5716cc270bf62f4e79f4f95ca5443
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)