https://github.com/torvalds/linux
Revision faaaa53bdc6750c438887d44f99b60ad97ec74b4 authored by Jike Song on 16 December 2016, 02:51:05 UTC, committed by Zhenyu Wang on 26 December 2016, 01:45:29 UTC
gfn_to_memslot() may return NULL if the gfn is mmio
or invalid. A malicious user might input a bad gfn
to panic the host if we don't check it.

Signed-off-by: Jike Song <jike.song@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
1 parent bfeca3e
History
Tip revision: faaaa53bdc6750c438887d44f99b60ad97ec74b4 authored by Jike Song on 16 December 2016, 02:51:05 UTC
drm/i915/gvt/kvmgt: check returned slot for gfn
Tip revision: faaaa53
File Mode Size
Documentation
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitattributes -rw-r--r-- 30 bytes
.gitignore -rw-r--r-- 1.3 KB
.mailmap -rw-r--r-- 7.5 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 96.0 KB
Kbuild -rw-r--r-- 2.8 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 381.7 KB
Makefile -rw-r--r-- 57.6 KB
README -rw-r--r-- 722 bytes

README

back to top