Skip to content

x86/altp2m: Fix multiple security issues

Andrew Cooper xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4xen/common: Break domain_unmap_resources() out of domain_kill()xen/common/domain.c xen/include/xen/domain.h+17 -33 replies
2/4x86/altp2m: Rework #VE enable/disable pathsxen/arch/x86/hvm/hvm.c xen/arch/x86/mm/altp2m.c xen/include/asm-x86/altp2m.h+32 -302 replies
3/4x86/vmx: Fix security issue when a guest balloons out the #VE info pagexen/arch/x86/domain.c xen/arch/x86/hvm/vmx/vmx.c xen/arch/x86/mm/altp2m.c +2 more+82 -279 replies
4/4x86/vmx: Properly flush the TLB when an altp2m is modifiedxen/arch/x86/hvm/vmx/vmx.c+31 -53 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchRazvan CojocaruJan BeulichJuergen GrossKevin Tian
SeriesRelease-acked-by
1/4R-b
2/4R-b A-b
3/4T-b T-b R-b Release-acked-by R-b
4/4R-b R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH tentitively for-4.12 0/4] x86/altp2m: Fix multiple security issues

There are no XSAs because altp2m isn't security supported. However, it would be very nice to have it in a less broken state for 4.12.

Overall the risk of regression to other parts of Xen is minimal, as most of these changes are only in altp2m-enabled paths.

Andrew Cooper (4):
xen/common: Break domain_unmap_resources() out of domain_kill() x86/altp2m: Rework #VE enable/disable paths
x86/vmx: Fix security issue when a guest balloons out the #VE info page x86/vmx: Properly flush the TLB when an altp2m is modified

 xen/arch/x86/domain.c          |  7 ++++
 xen/arch/x86/hvm/hvm.c         | 19 ++--------
 xen/arch/x86/hvm/vmx/vmx.c     | 69 ++++++++++++++++++++++++------------
 xen/arch/x86/mm/altp2m.c       | 80 +++++++++++++++++++++++++++++++++++-------
 xen/common/domain.c            | 16 +++++++--
 xen/include/asm-x86/altp2m.h   |  4 ++-
 xen/include/asm-x86/domain.h   |  3 ++
 xen/include/asm-x86/hvm/vcpu.h |  7 +++-
 xen/include/xen/domain.h       |  4 +++
 9 files changed, 153 insertions(+), 56 deletions(-)
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel