Prasad J Pandit 3e831b40e0 scsi: pvscsi: check command descriptor ring buffer size (CVE-2016-4952)
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 <liqiang6-s@360.cn>
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Cc: qemu-stable@nongnu.org
Message-Id: <1464000485-27041-1-git-send-email-ppandit@redhat.com>
Reviewed-by: Shmulik Ladkani <shmulik.ladkani@ravellosystems.com>
Reviewed-by: Dmitry Fleytman <dmitry@daynix.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-05-29 09:11:10 +02:00
..
2016-05-19 16:42:28 +02:00
2016-05-19 16:42:29 +02:00
2016-05-29 09:11:10 +02:00
2016-05-19 16:42:27 +02:00
2016-05-29 09:11:10 +02:00
2016-05-23 14:28:25 +02:00
2016-05-19 16:42:29 +02:00
2016-05-19 16:42:30 +02:00
2016-05-19 16:42:29 +02:00
2016-05-19 16:42:29 +02:00
2016-05-18 15:04:27 +03:00
2016-05-19 16:42:27 +02:00
2016-05-29 09:11:10 +02:00
2016-05-18 15:04:27 +03:00
2016-05-19 16:42:29 +02:00
2016-05-19 16:42:29 +02:00
2016-05-20 13:09:22 +01:00
2016-05-23 13:30:03 +02:00