x86/ibt: FineIBT-BHI
Status from this message: The following commit has been merged into the x86/core branch of tip:
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | x86/cfi: Add warn optionarch/ include/ kernel/ | +8 | 1 reply | |
| 2/10 | x86/ibt: Add exact_endbr() helperarch/ | +13 | 0 replies | |
| 3/10 | x86/traps: Decode 0xEA #UDarch/ arch/ | +18 | 1 reply | |
| 4/10 | x86/traps: Allow custom fixups in handle_bug()arch/ arch/ | +17 | 2 replies | |
| 5/10 | x86/ibt: Optimize FineIBT sequencearch/ arch/ | +42 | 0 replies | |
| 6/10 | x86/traps: Decode LOCK Jcc.d8 #UDarch/ arch/ | +25 | 2 replies | |
| 7/10 | x86/ibt: Add paranoid FineIBT modearch/ | +138 | 1 reply | |
| 8/10 | x86: BHI stubsarch/ arch/ arch/ | +152 | 3 replies | |
| 9/10 | x86/ibt: Implement FineIBT-BHI mitigationMakefile arch/ arch/ +2 more | +134 | 12 replies | |
| 10/10 | x86/ibt: Optimize fineibt-bhi arity 1 casearch/ arch/ | +54 | 0 replies |
Reviews trailers per patch
All 10 patches have a Reviewed-by or Acked-by.
| Patch | Kees Cook |
|---|---|
| 1/10 | R-b |
| 2/10 | R-b |
| 3/10 | R-b |
| 4/10 | R-b |
| 5/10 | R-b |
| 6/10 | R-b |
| 7/10 | R-b |
| 8/10 | R-b |
| 9/10 | R-b |
| 10/10 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 00/10] x86/ibt: FineIBT-BHI
Hi all!
Hopefully final version of these here patches.
As reported, these patches include the cfi=paranoid flag for dealing with the FineIBT SYSCALL pivot and cfi=bhi for further hardering FineIBT.
Biggest difference since last time is the reworking (vastly simplifying) of cfi=warn, and getting rid of the ud_type propagation in favour of using is_cfi_trap().
As reported earlier, available at:
git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git x86/fineibt-bhi2
Previous version at:
https://lkml.kernel.org/r/[email protected]
--- Makefile | 3 + arch/x86/Kconfig | 8 + arch/x86/include/asm/bug.h | 3 + arch/x86/include/asm/cfi.h | 10 ++ arch/x86/include/asm/ibt.h | 4 + arch/x86/kernel/alternative.c | 370 +++++++++++++++++++++++++++++++++++++----- arch/x86/kernel/cfi.c | 8 +- arch/x86/kernel/traps.c | 54 +++++- arch/x86/lib/Makefile | 3 +- arch/x86/lib/bhi.S | 146 +++++++++++++++++ arch/x86/net/bpf_jit_comp.c | 30 ++-- include/linux/cfi.h | 2 + kernel/cfi.c | 4 +- 13 files changed, 585 insertions(+), 60 deletions(-)