https://github.com/torvalds/linux
Revision a39ee449f96a2cd44ce056d8a0a112211a9b1a1f authored by Michael S. Tsirkin on 27 March 2014, 10:53:37 UTC, committed by David S. Miller on 28 March 2014, 20:10:35 UTC
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>
1 parent d8316f3
History
Tip revision: a39ee449f96a2cd44ce056d8a0a112211a9b1a1f authored by Michael S. Tsirkin on 27 March 2014, 10:53:37 UTC
vhost: validate vhost_get_vq_desc return value
Tip revision: a39ee44
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.3 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 267.3 KB
Makefile -rw-r--r-- 49.1 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top