diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2014-03-27 10:53:37 (GMT) |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-04-18 09:07:15 (GMT) |
commit | a2a366ebac39dbb437b893b8705d4b6ce04e062e (patch) | |
tree | ee7bf8ba00b2828be3a2fe545d6394098eada0ad /net/lapb | |
parent | c66635949a08858e6d588b8a32489bca7972cf87 (diff) | |
download | linux-fsl-qoriq-a2a366ebac39dbb437b893b8705d4b6ce04e062e.tar.xz |
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: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'net/lapb')
0 files changed, 0 insertions, 0 deletions