Description
In the Linux kernel, the following vulnerability has been resolved: virtio_pci_modern: move avq cleanup from reset to del_vqs vp_modern_avq_cleanup() detaches unused buffers from the admin virtqueue. Calling it from vp_reset() is incorrect: virtqueue_get_buf in the avq interrupt handler can race with virtqueue_detach_unused_buf in cleanup, and get_buf after detach is not documented as valid. The root cause is that detaching buffers does not belong in reset at all - reset quiesces the device, while cleanup belongs where the virtqueue is about to be destroyed, from del_vqs.
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
4c3b54af907e709609d3d8beca92d65e2f0cfd83 to < 62a12571c144cc551ada72847c2b3c4c78fc14d1affected4c3b54af907e709609d3d8beca92d65e2f0cfd83 to < 70e410a3a64bd8c5643763a9613a3c87e4c8b3b1affected4c3b54af907e709609d3d8beca92d65e2f0cfd83 to < 91a626e5479464fb4fa6c5bd649568458c5c588faffected4c3b54af907e709609d3d8beca92d65e2f0cfd83 to < 2a12d96dd863cb23eadf07d8845e961580b5fcdfaffected
Linux Linux
Default version status: affected
6.11affected0 to < 6.11unaffected6.12.119 to ≤ 6.12.*unaffected6.18.65 to ≤ 6.18.*unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected