All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/7] x86: Further harden function pointers
@ 2022-02-14 12:56 Andrew Cooper
  2022-02-14 12:56 ` [PATCH v2 1/7] xen/altcall: Use __ro_after_init now that it exists Andrew Cooper
                   ` (8 more replies)
  0 siblings, 9 replies; 39+ messages in thread
From: Andrew Cooper @ 2022-02-14 12:56 UTC (permalink / raw)
  To: Xen-devel
  Cc: Andrew Cooper, Jan Beulich, Roger Pau Monné, Wei Liu,
	Daniel De Graaf, Daniel Smith, Marek Marczykowski-Górecki

Additional runtime hardning of indirect branches.  Depends on the CET-IBT
series.

Andrew Cooper (7):
  xen/altcall: Use __ro_after_init now that it exists
  x86/altcall: Check and optimise altcall targets
  x86/altcall: Optimise away endbr64 instruction where possible
  xsm: Use __initconst_cf_clobber for xsm_ops
  x86/hvm: Use __initdata_cf_clobber for hvm_funcs
  x86/ucode: Use altcall, and __initconst_cf_clobber
  x86/vpmu: Harden indirect branches

 xen/arch/x86/alternative.c         | 61 ++++++++++++++++++++++++++++++++++++++
 xen/arch/x86/cpu/microcode/amd.c   |  2 +-
 xen/arch/x86/cpu/microcode/core.c  | 38 +++++++++++++-----------
 xen/arch/x86/cpu/microcode/intel.c |  2 +-
 xen/arch/x86/cpu/vpmu_amd.c        |  2 +-
 xen/arch/x86/cpu/vpmu_intel.c      |  2 +-
 xen/arch/x86/hvm/hvm.c             |  2 +-
 xen/arch/x86/hvm/svm/svm.c         |  2 +-
 xen/arch/x86/hvm/vmx/vmx.c         |  2 +-
 xen/arch/x86/xen.lds.S             |  6 ++++
 xen/include/xen/alternative-call.h |  2 +-
 xen/include/xen/init.h             |  3 ++
 xen/xsm/dummy.c                    |  2 +-
 xen/xsm/flask/hooks.c              |  2 +-
 xen/xsm/silo.c                     |  2 +-
 15 files changed, 101 insertions(+), 29 deletions(-)

-- 
2.11.0



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

end of thread, other threads:[~2022-03-02 19:58 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-14 12:56 [PATCH v2 0/7] x86: Further harden function pointers Andrew Cooper
2022-02-14 12:56 ` [PATCH v2 1/7] xen/altcall: Use __ro_after_init now that it exists Andrew Cooper
2022-02-14 12:59   ` Jan Beulich
2022-02-14 12:56 ` [PATCH v2 2/7] x86/altcall: Check and optimise altcall targets Andrew Cooper
2022-02-14 12:56 ` [PATCH v2 3/7] x86/altcall: Optimise away endbr64 instruction where possible Andrew Cooper
2022-02-14 13:06   ` Jan Beulich
2022-02-14 13:31     ` Andrew Cooper
2022-02-14 13:51       ` Jan Beulich
2022-02-14 16:03         ` Andrew Cooper
2022-02-14 16:16           ` Jan Beulich
2022-03-01 11:59   ` Jan Beulich
2022-03-01 14:51     ` Andrew Cooper
2022-03-01 14:58       ` Jan Beulich
2022-02-14 12:56 ` [PATCH v2 4/7] xsm: Use __initconst_cf_clobber for xsm_ops Andrew Cooper
2022-02-14 12:56 ` [PATCH v2 5/7] x86/hvm: Use __initdata_cf_clobber for hvm_funcs Andrew Cooper
2022-02-14 13:10   ` Jan Beulich
2022-02-14 13:35     ` Andrew Cooper
2022-02-14 16:39       ` Andrew Cooper
2022-02-14 16:45         ` Jan Beulich
2022-02-14 12:56 ` [PATCH v2 6/7] x86/ucode: Use altcall, and __initconst_cf_clobber Andrew Cooper
2022-02-14 13:13   ` Jan Beulich
2022-02-14 12:56 ` [PATCH v2 7/7] x86/vpmu: Harden indirect branches Andrew Cooper
2022-02-14 13:14   ` Jan Beulich
2022-02-21 18:03 ` [PATCH v2.1 8/7] x86/IOMMU: Use altcall, and __initconst_cf_clobber Andrew Cooper
2022-02-22  9:29   ` Jan Beulich
2022-02-22 10:54     ` Andrew Cooper
2022-02-22 11:02       ` Andrew Cooper
2022-02-22 11:06         ` Jan Beulich
2022-02-22 11:34         ` Andrew Cooper
2022-02-22 11:04       ` Jan Beulich
2022-02-22 11:47 ` [PATCH v2.2 " Andrew Cooper
2022-02-22 12:10   ` Jan Beulich
2022-02-25  8:24   ` Jan Beulich
2022-03-01 14:58     ` Andrew Cooper
2022-03-02  8:10       ` Jan Beulich
2022-03-02 10:12         ` Andrew Cooper
2022-03-02 10:34           ` Jan Beulich
2022-03-02 13:39             ` Andrew Cooper
2022-03-02 19:57               ` Andrew Cooper

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.