Michael S. Tsirkin
f0213f63e1
vhost: validate vhost_get_vq_desc return value
...
[ Upstream commit a39ee449f96a2cd44ce056d8a0a112211a9b1a1f ]
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
8dd014adfea6f173c1ef6378f7e5e7924866c923
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-04-14 06:47:21 -07:00
..
2014-03-23 21:44:12 -07:00
2014-03-23 21:44:10 -07:00
2013-11-19 15:53:02 -05:00
2014-03-06 22:06:29 -08:00
2013-11-13 17:40:34 +09:00
2014-04-03 12:02:37 -07:00
2013-12-04 11:11:49 -02:00
2013-11-14 08:51:29 +09:00
2014-02-22 13:34:46 -08:00
2014-01-08 08:33:12 -08:00
2014-03-31 10:05:13 -07:00
2013-11-14 17:19:20 -05:00
2014-03-23 21:44:19 -07:00
2013-12-30 11:55:20 +01:00
2014-01-01 14:06:23 +08:00
2014-03-06 22:06:29 -08:00
2014-03-06 22:06:29 -08:00
2014-02-13 13:55:27 -08:00
2014-01-29 05:06:18 -08:00
2014-03-23 21:44:10 -07:00
2013-12-29 13:35:04 -08:00
2013-12-17 11:47:40 -08:00
2014-04-03 12:02:36 -07:00
2014-03-31 10:05:13 -07:00
2014-02-22 13:34:53 -08:00
2014-03-06 22:06:25 -08:00
2014-04-03 12:02:36 -07:00
2013-11-20 13:25:04 -08:00
2014-01-10 03:06:06 +01:00
2014-03-06 22:06:26 -08:00
2014-03-23 21:44:13 -07:00
2014-04-03 12:02:35 -07:00
2014-03-06 22:06:26 -08:00
2014-03-06 22:06:29 -08:00
2014-01-06 15:50:51 -05:00
2014-01-10 14:48:07 -08:00
2013-11-27 11:35:47 +11:00
2014-03-23 21:44:17 -07:00
2014-03-31 10:05:14 -07:00
2013-11-15 09:32:21 +09:00
2013-11-13 12:09:26 +09:00
2014-03-06 22:06:18 -08:00
2014-03-06 22:06:24 -08:00
2014-03-31 10:05:15 -07:00
2014-03-06 22:06:25 -08:00
2014-04-14 06:47:21 -07:00
2013-11-26 11:15:12 -08:00
2014-02-22 13:34:45 -08:00
2014-02-06 11:34:01 -08:00
2014-03-23 21:44:16 -07:00
2013-11-12 16:52:17 +09:00
2013-12-10 12:53:30 -08:00
2014-03-23 21:44:07 -07:00
2014-02-06 11:34:06 -08:00
2014-03-23 21:44:20 -07:00
2014-02-22 13:34:59 -08:00
2013-12-22 01:27:51 +01:00
2013-11-13 12:09:35 +09:00
2014-03-23 21:43:59 -07:00
2014-03-31 10:05:15 -07:00
2014-02-13 13:55:46 -08:00
2013-12-18 17:35:30 +01:00
2014-03-31 10:05:15 -07:00
2014-03-23 21:44:11 -07:00
2014-03-23 21:43:58 -07:00
2014-03-23 21:44:13 -07:00
2014-03-23 21:44:08 -07:00
2014-02-22 13:34:49 -08:00
2014-02-06 11:34:00 -08:00
2014-03-31 10:05:16 -07:00
2014-04-03 12:02:37 -07:00
2014-04-14 06:47:21 -07:00
2014-02-13 13:55:28 -08:00
2013-12-05 13:12:39 +10:30
2014-02-22 13:34:53 -08:00
2013-11-15 09:32:21 +09:00
2013-12-10 08:48:15 +01:00
2014-04-03 12:02:35 -07:00
2013-11-14 13:41:48 +09:00
2013-11-14 13:41:48 +09:00