Re: [PATCH net] vhost_net: stop device during reset owner
From: David Miller
Date: Mon Jan 29 2018 - 12:36:03 EST
From: Jason Wang <jasowang@xxxxxxxxxx>
Date: Thu, 25 Jan 2018 22:03:52 +0800
> We don't stop device before reset owner, this means we could try to
> serve any virtqueue kick before reset dev->worker. This will result a
> warn since the work was pending at llist during owner resetting. Fix
> this by stopping device during owner reset.
>
> Reported-by: syzbot+eb17c6162478cc50632c@xxxxxxxxxxxxxxxxxxxxxxxxx
> Fixes: 3a4d5c94e9593 ("vhost_net: a kernel-level virtio server")
> Signed-off-by: Jason Wang <jasowang@xxxxxxxxxx>
Applied and queued up for -stable.