Re: [REGRESSION] 07ec51480b5e ("virtio_pci: use shared interrupts for virtqueues") causes crashes in guest

From: Thorsten Leemhuis
Date: Thu Mar 23 2017 - 13:15:22 EST


On 23.03.2017 17:41, Michael S. Tsirkin wrote:
> On Thu, Mar 23, 2017 at 03:19:07PM +0000, Richard W.M. Jones wrote:
>> On Thu, Mar 23, 2017 at 01:13:50PM +0800, Jason Wang wrote:
>>> >From 312859b596e83a2164a8430343d31fce2a5ad808 Mon Sep 17 00:00:00 2001
>>> From: Jason Wang <jasowang@xxxxxxxxxx>
>>> Date: Thu, 23 Mar 2017 13:07:16 +0800
>>> Subject: [PATCH] virtio_pci: fix out of bound access for msix_names
>>> Signed-off-by: Jason Wang <jasowang@xxxxxxxxxx>
>> I tested this, and it does appear to fix the crashes in
>> vp_modern_find_vqs. Therefore:
>> Tested-by: Richard W.M. Jones <rjones@xxxxxxxxxx>
> I've queued the fix, thanks everyone!

Thx. Feel free to add

Tested-by: Thorsten Leemhuis <linux@xxxxxxxxxxxxx>

as a kernel with that patch works well in my reboot tests so far.
Ciao, Thorsten