On 2026-10-15T11:13:15, Bin Meng <[email protected]> wrote: > virtio: pci: Fix legacy private data lookup when deleting queues > > The virtqueue's vdev points to the functional device, while the PCI I/O > register mapping belongs to its parent transport. The current lookup > therefore treats the functional driver's private data as transport data > and uses a queue pointer as the register base. > > Queue deletion can overwrite the queue's list links and crash when > unlinking it. Fetch the parent transport's private data instead. > > Fixes: 4135e10732a0 ("virtio: Add virtio over pci transport driver") > Signed-off-by: Bin Meng <[email protected]> > > drivers/virtio/virtio_pci_legacy.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass <[email protected]>
