From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Xen-devel <xen-devel@lists.xen.org>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>,
Julien Grall <julien.grall@arm.com>,
Jan Beulich <JBeulich@suse.com>
Subject: [PATCH v2 for-4.9 0/6] x86/emul: Fixes
Date: Wed, 5 Apr 2017 18:32:58 +0100 [thread overview]
Message-ID: <1491413584-8410-1-git-send-email-andrew.cooper3@citrix.com> (raw)
This series started out as patches 4 and 5, to aid the userspace fuzzing
harness, but ended up discovering the bug in patch 3, which is security
relevant.
Patch 3 is a must-fix for Xen 4.9, before the bug needs an XSA. Patches 4-6
are nice-to-have.
The main change from v1 is reworking of patch 3.
Andrew Cooper (6):
x86/hvm: Correct some address space terminology
x86/hvm: Correct long mode predicate
x86/hvm: Fix segmentation logic for system segments
x86/svm: Introduce svm_emul_swint_injection()
x86/emul: Drop swint_emulate infrastructure
x86/emul: Require callers to provide LMA in the emulation context
tools/fuzz/x86_instruction_emulator/fuzz-emul.c | 20 +-
tools/tests/x86_emulator/test_x86_emulator.c | 4 +
xen/arch/x86/cpuid.c | 2 +-
xen/arch/x86/hvm/emulate.c | 25 +--
xen/arch/x86/hvm/hvm.c | 77 ++++----
xen/arch/x86/hvm/svm/svm.c | 139 +++++++++++++-
xen/arch/x86/hvm/vmx/vmx.c | 6 +-
xen/arch/x86/hvm/vmx/vvmx.c | 8 +-
xen/arch/x86/mm.c | 4 +-
xen/arch/x86/mm/hap/hap.c | 8 +-
xen/arch/x86/mm/shadow/common.c | 25 ++-
xen/arch/x86/oprofile/backtrace.c | 2 +-
xen/arch/x86/traps.c | 1 +
xen/arch/x86/x86_emulate/x86_emulate.c | 238 ++++--------------------
xen/arch/x86/x86_emulate/x86_emulate.h | 56 +-----
xen/include/asm-x86/hvm/hvm.h | 5 +-
16 files changed, 266 insertions(+), 354 deletions(-)
--
2.1.4
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
next reply other threads:[~2017-04-05 17:32 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-05 17:32 Andrew Cooper [this message]
2017-04-05 17:32 ` [PATCH v2 for-4.9 1/6] x86/hvm: Correct some address space terminology Andrew Cooper
2017-04-06 8:35 ` Tim Deegan
2017-04-06 8:47 ` Jan Beulich
2017-04-05 17:33 ` [PATCH v2 for-4.9 2/6] x86/hvm: Correct long mode predicate Andrew Cooper
2017-04-05 18:55 ` Boris Ostrovsky
2017-04-05 17:33 ` [PATCH v2 for-4.9 3/6] x86/hvm: Fix segmentation logic for system segments Andrew Cooper
2017-04-06 8:56 ` Jan Beulich
2017-04-06 9:06 ` Andrew Cooper
2017-04-05 17:33 ` [PATCH v2 for-4.9 4/6] x86/svm: Introduce svm_emul_swint_injection() Andrew Cooper
2017-04-05 18:58 ` Boris Ostrovsky
2017-04-05 18:59 ` Andrew Cooper
2017-04-06 9:00 ` Jan Beulich
2017-04-05 17:33 ` [PATCH v2 for-4.9 5/6] x86/emul: Drop swint_emulate infrastructure Andrew Cooper
2017-04-06 7:30 ` Jan Beulich
2017-04-06 9:07 ` Andrew Cooper
2017-04-05 17:33 ` [PATCH v2 for-4.9 6/6] x86/emul: Require callers to provide LMA in the emulation context Andrew Cooper
2017-04-06 9:08 ` Jan Beulich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1491413584-8410-1-git-send-email-andrew.cooper3@citrix.com \
--to=andrew.cooper3@citrix.com \
--cc=JBeulich@suse.com \
--cc=julien.grall@arm.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).