Re: [PATCH net V3 0/3] Fix various issue of vhost

From: David Miller
Date: Thu Dec 13 2018 - 00:57:20 EST


From: Jason Wang <jasowang@xxxxxxxxxx>
Date: Thu, 13 Dec 2018 10:53:36 +0800

> This series tries to fix various issues of vhost:
>
> - Patch 1 adds a missing write barrier between used idx updating and
> logging.
> - Patch 2-3 brings back the protection of device IOTLB through vq
> mutex, this fixes possible use after free in device IOTLB entries.
>
> Please consider them for -stable.
>
> Thanks
>
> Changes from V2:
> - drop dirty page fix and make it for net-next
> Changes from V1:
> - silent compiler warning for 32bit.
> - use mutex_trylock() on slowpath instead of mutex_lock() even on fast
> path.

Series applied and queued up for -stable, thanks Jason.