x86: Kernel IBT
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
- v4 Latest45 patches 53 repliesApplied
- v339 patches 23 repliesApplied
- v239 patches 143 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 29 patches | 64 replies | Superseded |
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/45 | static_call: Avoid building empty .static_call_sitesinclude/ | +4 | 0 replies | |
| 2/45 | objtool: Add --dry-runtools/ tools/ tools/ | +6 | 0 replies | |
| 3/45 | objtool: Default ignore INT3 for unreachabletools/ | +5 | 0 replies | |
| 4/45 | objtool,efi: Update __efi64_thunk annotationarch/ arch/ | +4 | 1 reply | |
| 5/45 | objtool: Have WARN_FUNC fall back to sym+offtools/ | +2 | 0 replies | |
| 6/45 | x86/ibt: Base IBT bitsarch/ arch/ arch/ | +121 | 0 replies | |
| 7/45 | x86/ibt: Add ANNOTATE_NOENDBRinclude/ tools/ | +32 | 0 replies | |
| 8/45 | x86/text-patching: Make text_gen_insn() play nice with ANNOTATE_NOENDBRarch/ | +9 | 0 replies | |
| 9/45 | x86/ibt,paravirt: Use text_gen_insn() for paravirt_patch()arch/ arch/ | +17 | 0 replies | |
| 10/45 | x86/entry: Cleanup PARAVIRTarch/ | +2 | 0 replies | |
| 11/45 | x86/entry,xen: Early rewrite of restore_regs_and_return_to_kernel()arch/ arch/ arch/ +4 more | +17 | 0 replies | |
| 12/45 | x86/ibt,xen: Sprinkle the ENDBRarch/ arch/ arch/ +3 more | +21 | 0 replies | |
| 13/45 | x86/ibt,entry: Sprinkle ENDBR dustarch/ arch/ arch/ +3 more | +28 | 0 replies | |
| 14/45 | x86/linkage: Add ENDBR to SYM_FUNC_START*()arch/ | +31 | 0 replies | |
| 15/45 | x86/ibt,paravirt: Sprinkle ENDBRarch/ arch/ arch/ +1 more | +8 | 0 replies | |
| 16/45 | x86/ibt,crypto: Add ENDBR for the jump-table entriesarch/ | +3 | 0 replies | |
| 17/45 | x86/ibt,kvm: Add ENDBR to fastopsarch/ | +4 | 0 replies | |
| 18/45 | x86/ibt,ftrace: Search for __fentry__ locationarch/ kernel/ kernel/ +1 more | +43 | 0 replies | |
| 19/45 | x86/livepatch: Validate __fentry__ locationarch/ kernel/ | +2 | 1 reply | |
| 20/45 | x86/ibt,ftrace: Make function-graph play nicearch/ arch/ | +19 | 0 replies | |
| 21/45 | x86/ibt,kprobes: Cure sym+0 equals fentry woesarch/ arch/ include/ +1 more | +92 | 0 replies | |
| 22/45 | x86/ibt,bpf: Add ENDBR instructions to prologue and trampolinearch/ | +14 | 0 replies | |
| 23/45 | x86/ibt,ftrace: Add ENDBR to samples/ftracesamples/ samples/ samples/ +2 more | +22 | 0 replies | |
| 24/45 | x86/ibt: Add IBT feature, MSR and #CP handlingarch/ arch/ arch/ +6 more | +132 | 1 reply | |
| 25/45 | x86/ibt,kexec: Disable CET on kexecarch/ arch/ arch/ +1 more | +20 | 0 replies | |
| 26/45 | x86/alternative: Simplify int3_selftest_iparch/ | +3 | 0 replies | |
| 27/45 | x86/ibt: Disable IBT around firmwarearch/ arch/ arch/ +1 more | +48 | 0 replies | |
| 28/45 | x86/bugs: Disable Retpoline when IBTarch/ | +13 | 0 replies | |
| 29/45 | x86/ibt: Annotate text referencesarch/ arch/ arch/ +5 more | +25 | 2 replies | |
| 30/45 | x86/ibt,ftrace: Annotate ftrace code patchingarch/ | +7 | 0 replies | |
| 31/45 | x86/ibt,sev: Annotationsarch/ arch/ arch/ | +4 | 0 replies | |
| 32/45 | x86/ibt: Dont generate ENDBR in .discard.textarch/ | +2 | 0 replies | |
| 33/45 | x86/ibt: Ensure module init/exit points have referencesinclude/ | +10 | 0 replies | |
| 34/45 | objtool: Rename --duplicate to --ltoscripts/ tools/ tools/ +1 more | +10 | 0 replies | |
| 35/45 | objtool: Ignore extra-symbol codetools/ tools/ tools/ | +104 | 0 replies | |
| 36/45 | x86: Mark stop_this_cpu() __noreturnarch/ arch/ tools/ | +3 | 0 replies | |
| 37/45 | exit: Mark do_group_exit() __noreturninclude/ kernel/ tools/ | +3 | 0 replies | |
| 38/45 | objtool: Rework ASM_REACHABLEtools/ | +20 | 0 replies | |
| 39/45 | x86: Annotate call_on_stack()arch/ | +2 | 0 replies | |
| 40/45 | Kbuild: Allow whole module objtool runsscripts/ scripts/ scripts/ | +48 | 0 replies | |
| 41/45 | objtool: Read the NOENDBR annotationtools/ tools/ | +37 | 0 replies | |
| 42/45 | objtool: Add IBT/ENDBR decodingtools/ tools/ | +30 | 0 replies | |
| 43/45 | objtool: Validate IBT assumptionstools/ tools/ tools/ +1 more | +215 | 0 replies | |
| 44/45 | objtool: Find unused ENDBR instructionsarch/ tools/ tools/ +1 more | +78 | 3 replies | |
| 45/45 | x86/alternative: Use .ibt_endbr_seal to seal indirect callsarch/ arch/ arch/ +5 more | +90 | 0 replies |
Reviews trailers per patch
8 of 45 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Kees Cook | Miroslav Benes | Masami Hiramatsu | Josh Poimboeuf | Nick Desaulniers |
|---|---|---|---|---|---|
| Series | A-b | R-b T-b | |||
| 1/45 | |||||
| 2/45 | R-b | R-b | |||
| 3/45 | |||||
| 4/45 | |||||
| 5/45 | |||||
| 6/45 | |||||
| 7/45 | R-b | ||||
| 8/45 | |||||
| 9/45 | |||||
| 10/45 | |||||
| 11/45 | |||||
| 12/45 | |||||
| 13/45 | |||||
| 14/45 | R-b | ||||
| 15/45 | R-b | ||||
| 16/45 | |||||
| 17/45 | |||||
| 18/45 | A-b | ||||
| 19/45 | A-b | ||||
| 20/45 | |||||
| 21/45 | A-b | ||||
| 22/45 | |||||
| 23/45 | |||||
| 24/45 | |||||
| 25/45 | |||||
| 26/45 | |||||
| 27/45 | R-b | ||||
| 28/45 | |||||
| 29/45 | |||||
| 30/45 | |||||
| 31/45 | |||||
| 32/45 | |||||
| 33/45 | |||||
| 34/45 | |||||
| 35/45 | |||||
| 36/45 | |||||
| 37/45 | |||||
| 38/45 | |||||
| 39/45 | |||||
| 40/45 | |||||
| 41/45 | |||||
| 42/45 | |||||
| 43/45 | |||||
| 44/45 | |||||
| 45/45 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.
Cover letter [PATCH v4 00/45] x86: Kernel IBT
Hopefully last posting...
Since last time:
- updated the ftrace_location() patch (naveen, rostedt)
- added a few comments and clarifications (bpetkov)
- disable jump-tables (joao)
- verified clang-14-rc2 works
- fixed a whole bunch of objtool unreachable insn issue
- picked up a few more tags
Patches go on top of tip/master + arm64/for-next/linkage. Also available here:
git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git x86/wip.ibt
Enjoy!