[PATCH 22.11] vhost: fix virtqueue access check in vhost-user setup

Luca Boccassi bluca at debian.org
Thu Mar 7 13:45:33 CET 2024


On Thu, 7 Mar 2024 at 08:06, David Marchand <david.marchand at redhat.com> wrote:
>
> [ upstream commit b3e42d92362bcc75df21c5b86ba7c0685b40a3bf ]
>
> Calling vring_invalidate must be done with a (write) lock taken on the
> virtqueue.
>
> Fixes: 72d002b3ebda ("vhost: fix vring address handling during live migration")
>
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> Acked-by: Eelco Chaudron <echaudro at redhat.com>
> Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
> ---
>  lib/vhost/vhost_user.c | 2 ++
>  1 file changed, 2 insertions(+)

Thanks, applied


More information about the stable mailing list