kernel_optimize_test/drivers/vhost
Michael S. Tsirkin a39ee449f9 vhost: validate vhost_get_vq_desc return value
vhost fails to validate negative error code
from vhost_get_vq_desc causing
a crash: we are using -EFAULT which is 0xfffffff2
as vector size, which exceeds the allocated size.

The code in question was introduced in commit
8dd014adfe
    vhost-net: mergeable buffers support

CVE-2014-0055

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-03-28 16:10:35 -04:00
..
Kconfig
Makefile
net.c vhost: validate vhost_get_vq_desc return value 2014-03-28 16:10:35 -04:00
scsi.c vhost/scsi: Check LUN structure byte 0 is set to 1, per spec 2014-02-24 16:19:43 -08:00
test.c
test.h
vhost.c
vhost.h
vringh.c