All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] XSAs 213-315 followups
@ 2017-05-02 18:05 Andrew Cooper
  2017-05-02 18:05 ` [PATCH 1/7] x86/traps: Drop 32bit fields out of tss_struct Andrew Cooper
                   ` (7 more replies)
  0 siblings, 8 replies; 48+ messages in thread
From: Andrew Cooper @ 2017-05-02 18:05 UTC (permalink / raw)
  To: Xen-devel
  Cc: George Dunlap, Andrew Cooper, Julien Grall, Tim Deegan, Jan Beulich

Various improvements based on observations while investigating and fixing the
aformentioned XSAs.  All are candidate patches for 4.9 at this point, with
patches 2, 3 and 7 being the important ones from an attack-surface-mitigation
point of view.

This is the subset of my intented series, but I haven't had time to finish the
rest of the work I wanted to do, which clearly makes it post 4.9 work at this
point.

Andrew Cooper (7):
  x86/traps: Drop 32bit fields out of tss_struct
  x86/traps: Poison unused stack pointers in the TSS
  x86/mm: Further restrict permissions on some virtual mappings
  x86/traps: Rename compat_hypercall() to entry_int82()
  x86/traps: Lift all non-entrypoint logic in entry_int82() up into C
  x86/asm: Fold LOAD_C_CLOBBERED into RESTORE_ALL
  x86/asm: Clobber %r{8..15} on exit to 32bit PV guests

 xen/arch/x86/cpu/common.c           |  8 +++++++
 xen/arch/x86/domain.c               |  2 +-
 xen/arch/x86/mm.c                   | 10 ++++-----
 xen/arch/x86/mm/hap/hap.c           |  4 ++--
 xen/arch/x86/mm/shadow/multi.c      | 18 +++++++--------
 xen/arch/x86/pv/Makefile            |  2 ++
 xen/arch/x86/pv/traps.c             | 44 +++++++++++++++++++++++++++++++++++++
 xen/arch/x86/traps.c                |  4 ++--
 xen/arch/x86/x86_64/compat/entry.S  | 13 +++--------
 xen/arch/x86/x86_64/mm.c            | 12 +++++-----
 xen/drivers/passthrough/vtd/iommu.c |  4 ++--
 xen/include/asm-x86/apic.h          |  1 +
 xen/include/asm-x86/asm_defns.h     | 38 ++++++++++++++------------------
 xen/include/asm-x86/hypercall.h     |  4 ++++
 xen/include/asm-x86/iommu.h         |  2 ++
 xen/include/asm-x86/processor.h     | 26 +++++++++++-----------
 16 files changed, 121 insertions(+), 71 deletions(-)
 create mode 100644 xen/arch/x86/pv/traps.c

-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 48+ messages in thread

end of thread, other threads:[~2017-05-04 12:52 UTC | newest]

Thread overview: 48+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-02 18:05 [PATCH 0/7] XSAs 213-315 followups Andrew Cooper
2017-05-02 18:05 ` [PATCH 1/7] x86/traps: Drop 32bit fields out of tss_struct Andrew Cooper
2017-05-03  8:10   ` Jan Beulich
2017-05-03 12:33     ` Andrew Cooper
2017-05-03  9:48   ` Wei Liu
2017-05-02 18:05 ` [PATCH 2/7] x86/traps: Poison unused stack pointers in the TSS Andrew Cooper
2017-05-03  8:14   ` Jan Beulich
2017-05-03 12:47     ` Andrew Cooper
2017-05-03 13:29   ` [PATCH v2 " Andrew Cooper
2017-05-03 13:45     ` Jan Beulich
2017-05-02 18:05 ` [PATCH 3/7] x86/mm: Further restrict permissions on some virtual mappings Andrew Cooper
2017-05-03  8:49   ` Jan Beulich
2017-05-03 13:38     ` Andrew Cooper
2017-05-03 13:48       ` Jan Beulich
2017-05-03  9:48   ` Wei Liu
2017-05-03 10:11   ` Tim Deegan
2017-05-03 11:13   ` George Dunlap
2017-05-02 18:05 ` [PATCH 4/7] x86/traps: Rename compat_hypercall() to entry_int82() Andrew Cooper
2017-05-03  8:55   ` Jan Beulich
2017-05-03 13:41     ` Andrew Cooper
2017-05-02 18:05 ` [PATCH 5/7] x86/traps: Lift all non-entrypoint logic in entry_int82() up into C Andrew Cooper
2017-05-03  9:02   ` Jan Beulich
2017-05-03 11:26     ` Wei Liu
2017-05-03 11:38       ` Andrew Cooper
2017-05-03 11:43         ` Wei Liu
2017-05-03 12:02         ` Jan Beulich
2017-05-03 12:18           ` Andrew Cooper
2017-05-03 12:37             ` Jan Beulich
2017-05-03 18:29               ` Andrew Cooper
2017-05-04  7:27                 ` Jan Beulich
2017-05-04  9:27                   ` Andrew Cooper
2017-05-04  9:36                     ` Jan Beulich
2017-05-04  9:57                       ` Andrew Cooper
2017-05-03 12:00       ` Jan Beulich
2017-05-04 10:01     ` [PATCH v2 " Andrew Cooper
2017-05-04 10:16       ` Andrew Cooper
2017-05-04 10:28         ` Jan Beulich
2017-05-04 11:09           ` Andrew Cooper
2017-05-04 10:22       ` Jan Beulich
2017-05-02 18:05 ` [PATCH 6/7] x86/asm: Fold LOAD_C_CLOBBERED into RESTORE_ALL Andrew Cooper
2017-05-03  9:08   ` Jan Beulich
2017-05-03  9:48   ` Wei Liu
2017-05-02 18:05 ` [PATCH 7/7] x86/asm: Clobber %r{8..15} on exit to 32bit PV guests Andrew Cooper
2017-05-03  9:13   ` Jan Beulich
2017-05-03 17:51     ` [PATCH v2 " Andrew Cooper
2017-05-04  8:50       ` Jan Beulich
2017-05-04 11:11 ` [RFC for 4.9] [PATCH 0/7] XSAs 213-315 followups Andrew Cooper
2017-05-04 12:52   ` Julien Grall

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.