summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/kvm_page_track.h
diff options
context:
space:
mode:
authorOwen Hofmann <osh@google.com>2016-10-27 21:25:52 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2016-11-02 23:31:53 +0300
commitd9092f52d7e61dd1557f2db2400ddb430e85937e (patch)
tree500459709e876c59ff397a7692b93f1e8854c162 /arch/x86/include/asm/kvm_page_track.h
parent355f4fb1405ec29d0fac49b4d41fcd78cbd455d5 (diff)
downloadlinux-d9092f52d7e61dd1557f2db2400ddb430e85937e.tar.xz
kvm: x86: Check memopp before dereference (CVE-2016-8630)
Commit 41061cdb98 ("KVM: emulate: do not initialize memopp") removes a check for non-NULL under incorrect assumptions. An undefined instruction with a ModR/M byte with Mod=0 and R/M-5 (e.g. 0xc7 0x15) will attempt to dereference a null pointer here. Fixes: 41061cdb98a0bec464278b4db8e894a3121671f5 Message-Id: <1477592752-126650-2-git-send-email-osh@google.com> Signed-off-by: Owen Hofmann <osh@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/kvm_page_track.h')
0 files changed, 0 insertions, 0 deletions