Description
In the Linux kernel, the following vulnerability has been resolved: virtio_blk: Reset device on probe error paths after DRIVER_OK virtblk_probe() marks the device ready before revalidating zones and adding the disk, and either of those can fail. The out_cleanup_disk path they take goes on to delete the virtqueues, but nothing tells the device to stop first, so it is still live when the rings are freed. Reset the device at out_cleanup_disk, which is only reachable after virtio_device_ready(). virtblk_remove() and virtblk_freeze_priv() both reset before deleting the virtqueues for the same reason.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
dbb301f91fc855dccf9bc42fbc4281d89365906d to < 475d310202fdb0f73dccfc1dd7a5d6a02b3377e9affecteddbb301f91fc855dccf9bc42fbc4281d89365906d to < 8cd9a096158f21d21e2e9cdc4f92bc93b6a5c0b8affecteddbb301f91fc855dccf9bc42fbc4281d89365906d to < fc9fa365deac82a40fbc44863e62366f25af5f96affecteddbb301f91fc855dccf9bc42fbc4281d89365906d to < f4f6e9a9cb349003d333f0776de94f12ac95b8d2affected
Linux Linux
Default version status: affected
5.15affected0 to < 5.15unaffected6.12.120 to ≤ 6.12.*unaffected6.18.66 to ≤ 6.18.*unaffected7.3.7 to ≤ 7.3.*unaffected7.4-rc2 to ≤ *unaffected