summary refs log tree commit diff stats
path: root/util/qemu-thread-win32.c
diff options
context:
space:
mode:
authorPranith Kumar <bobby.prani@gmail.com>2017-03-23 13:58:51 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2017-03-24 11:49:38 +0100
commit30663fd26c0307e414622c7a8607fbc04f92ec14 (patch)
tree68fdff3693c9c025e32cd01d03ca96274ecf90f1 /util/qemu-thread-win32.c
parent71407786054cad26de7ef66718b2a57a4bcb49b5 (diff)
downloadfocaccia-qemu-30663fd26c0307e414622c7a8607fbc04f92ec14.tar.gz
focaccia-qemu-30663fd26c0307e414622c7a8607fbc04f92ec14.zip
tcg/i386: Check the size of instruction being translated
This fixes the bug: 'user-to-root privesc inside VM via bad translation
caching' reported by Jann Horn here:
https://bugs.chromium.org/p/project-zero/issues/detail?id=1122

Reviewed-by: Richard Henderson <rth@twiddle.net>
CC: Peter Maydell <peter.maydell@linaro.org>
CC: Paolo Bonzini <pbonzini@redhat.com>
Reported-by: Jann Horn <jannh@google.com>
Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
Message-Id: <20170323175851.14342-1-bobby.prani@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util/qemu-thread-win32.c')
0 files changed, 0 insertions, 0 deletions