[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20181031.123953.2258610601885351617.davem@davemloft.net>
Date: Wed, 31 Oct 2018 12:39:53 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jasowang@...hat.com
Cc: mst@...hat.com, kvm@...r.kernel.org,
virtualization@...ts.linux-foundation.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, jpoimboe@...hat.com,
aarcange@...hat.com
Subject: Re: [PATCH net] vhost: Fix Spectre V1 vulnerability
From: Jason Wang <jasowang@...hat.com>
Date: Tue, 30 Oct 2018 14:10:49 +0800
> The idx in vhost_vring_ioctl() was controlled by userspace, hence a
> potential exploitation of the Spectre variant 1 vulnerability.
>
> Fixing this by sanitizing idx before using it to index d->vqs.
>
> Cc: Michael S. Tsirkin <mst@...hat.com>
> Cc: Josh Poimboeuf <jpoimboe@...hat.com>
> Cc: Andrea Arcangeli <aarcange@...hat.com>
> Signed-off-by: Jason Wang <jasowang@...hat.com>
Applied and queued up for -stable.
Powered by blists - more mailing lists