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
File Mode Size
00-INDEX -rw-r--r-- 930 bytes
biodoc.txt -rw-r--r-- 52.7 KB
biovecs.txt -rw-r--r-- 5.9 KB
capability.txt -rw-r--r-- 618 bytes
cfq-iosched.txt -rw-r--r-- 12.5 KB
cmdline-partition.txt -rw-r--r-- 1.3 KB
data-integrity.txt -rw-r--r-- 11.9 KB
deadline-iosched.txt -rw-r--r-- 2.8 KB
ioprio.txt -rw-r--r-- 4.6 KB
null_blk.txt -rw-r--r-- 2.6 KB
pr.txt -rw-r--r-- 3.6 KB
queue-sysfs.txt -rw-r--r-- 7.3 KB
request.txt -rw-r--r-- 2.0 KB
stat.txt -rw-r--r-- 3.2 KB
switching-sched.txt -rw-r--r-- 1.4 KB
writeback_cache_control.txt -rw-r--r-- 3.9 KB

back to top