diff options
author | 2016-12-16 10:51:05 +0800 | |
---|---|---|
committer | 2016-12-26 09:45:29 +0800 | |
commit | faaaa53bdc6750c438887d44f99b60ad97ec74b4 (patch) | |
tree | 5e1a0e43d3b4f64416770d2800fe98adf228e6f8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915/gvt/kvmgt: dereference the pointer within lock (diff) | |
download | linux-dev-faaaa53bdc6750c438887d44f99b60ad97ec74b4.tar.xz linux-dev-faaaa53bdc6750c438887d44f99b60ad97ec74b4.zip |
drm/i915/gvt/kvmgt: check returned slot for gfn
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions