aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorNadav Amit <[email protected]>2014-09-18 22:39:39 +0300
committerPaolo Bonzini <[email protected]>2014-10-24 13:21:16 +0200
commitd1442d85cc30ea75f7d399474ca738e0bc96f715 (patch)
treeabee3c5d2d0c427e87d76299536e4af37a9a17dc /tools/perf/scripts/python/bin/export-to-postgresql-report
parent234f3ce485d54017f15cf5e0699cff4100121601 (diff)
KVM: x86: Handle errors when RIP is set during far jumps
Far jmp/call/ret may fault while loading a new RIP. Currently KVM does not handle this case, and may result in failed vm-entry once the assignment is done. The tricky part of doing so is that loading the new CS affects the VMCS/VMCB state, so if we fail during loading the new RIP, we are left in unconsistent state. Therefore, this patch saves on 64-bit the old CS descriptor and restores it if loading RIP failed. This fixes CVE-2014-3647. Cc: [email protected] Signed-off-by: Nadav Amit <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions