x86: Further harden function pointers
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest7 patches 31 repliesIn review
- v14 patches 11 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | xen/altcall: Use __ro_after_init now that it existsxen/ | +1 | 1 reply | |
| 2/7 | x86/altcall: Check and optimise altcall targetsxen/ | +23 | 0 replies | |
| 3/7 | x86/altcall: Optimise away endbr64 instruction where possiblexen/ xen/ xen/ | +47 | 8 replies | |
| 4/7 | xsm: Use __initconst_cf_clobber for xsm_opsxen/ xen/ xen/ | +3 | 0 replies | |
| 5/7 | x86/hvm: Use __initdata_cf_clobber for hvm_funcsxen/ xen/ xen/ | +3 | 4 replies | |
| 6/7 | x86/ucode: Use altcall, and __initconst_cf_clobberxen/ xen/ xen/ | +22 | 1 reply | |
| 7/7 | x86/vpmu: Harden indirect branchesxen/ xen/ | +2 | 1 reply |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Jan Beulich | Daniel P. Smith |
|---|---|---|
| Series | R-b R-b | |
| 1/7 | A-b | |
| 2/7 | R-b | |
| 3/7 | R-b | |
| 4/7 | R-b | R-b |
| 5/7 | R-b | |
| 6/7 | R-b | |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/7] x86: Further harden function pointers
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(-)
Signature · 1 line
2.11.0