From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47001) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4qB6-0001Ll-Fx for qemu-devel@nongnu.org; Mon, 23 May 2016 09:45:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b4qB2-0001DO-9c for qemu-devel@nongnu.org; Mon, 23 May 2016 09:45:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54139) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4qB2-0001DJ-3b for qemu-devel@nongnu.org; Mon, 23 May 2016 09:45:48 -0400 References: <1464000485-27041-1-git-send-email-ppandit@redhat.com> From: Paolo Bonzini Message-ID: Date: Mon, 23 May 2016 15:45:33 +0200 MIME-Version: 1.0 In-Reply-To: <1464000485-27041-1-git-send-email-ppandit@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] scsi: pvscsi: check command descriptor ring buffer size List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: P J P , Qemu Developers Cc: Shmulik Ladkani , Dmitry Fleytman , Li Qiang , Idan Brown , Prasad J Pandit On 23/05/2016 12:48, P J P wrote: > From: Prasad J Pandit > > Vmware Paravirtual SCSI emulation uses command descriptors to > process SCSI commands. These descriptors come with their ring > buffers. A guest could set the ring buffer size to an arbitrary > value leading to OOB access issue. Add check to avoid it. > > Reported-by: Li Qiang > Signed-off-by: Prasad J Pandit > --- > hw/scsi/vmw_pvscsi.c | 24 ++++++++++++++++++++---- > 1 file changed, 20 insertions(+), 4 deletions(-) Is there a CVE number? Thanks, Paolo