summaryrefslogtreecommitdiffstats
path: root/arch/mn10300
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2014-10-23 14:54:14 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2014-10-24 13:30:35 +0200
commita430c9166312e1aa3d80bce32374233bdbfeba32 (patch)
tree33b03640ee6fa653470485c4e7691e0ea7fe3004 /arch/mn10300
parent08da44aedba0f493e10695fa334348a7a4f72eb3 (diff)
downloadlinux-a430c9166312e1aa3d80bce32374233bdbfeba32.tar.bz2
KVM: emulate: avoid accessing NULL ctxt->memopp
A failure to decode the instruction can cause a NULL pointer access. This is fixed simply by moving the "done" label as close as possible to the return. This fixes CVE-2014-8481. Reported-by: Andy Lutomirski <luto@amacapital.net> Cc: stable@vger.kernel.org Fixes: 41061cdb98a0bec464278b4db8e894a3121671f5 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/mn10300')
0 files changed, 0 insertions, 0 deletions