Files
linux/drivers/vhost
Michael S. Tsirkin a2a366ebac vhost: validate vhost_get_vq_desc return value
[ Upstream commit a39ee449f9 ]

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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
2014-04-18 11:07:15 +02:00
..
2013-07-07 17:33:44 +03:00
2013-07-07 17:33:44 +03:00
2013-07-11 15:38:40 +03:00
2010-12-09 16:00:21 +02:00
2013-07-11 15:38:40 +03:00