Skip to content

Commit 24452d9

Browse files
keesPeter Zijlstra
authored andcommitted
x86/cfi: Document the "cfi=" bootparam options
The kernel-parameters.txt didn't have a section for the cfi= options. Add it. Signed-off-by: Kees Cook <kees@kernel.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Nathan Chancellor <nathan@kernel.org> Link: https://lore.kernel.org/r/20250904034656.3670313-3-kees@kernel.org
1 parent 628a15e commit 24452d9

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Documentation/admin-guide/kernel-parameters.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -608,6 +608,23 @@
608608
ccw_timeout_log [S390]
609609
See Documentation/arch/s390/common_io.rst for details.
610610

611+
cfi= [X86-64] Set Control Flow Integrity checking features
612+
when CONFIG_FINEIBT is enabled.
613+
Format: feature[,feature...]
614+
Default: auto
615+
616+
auto: Use FineIBT if IBT available, otherwise kCFI.
617+
Under FineIBT, enable "paranoid" mode when
618+
FRED is not available.
619+
off: Turn off CFI checking.
620+
kcfi: Use kCFI (disable FineIBT).
621+
fineibt: Use FineIBT (even if IBT not available).
622+
norand: Do not re-randomize CFI hashes.
623+
paranoid: Add caller hash checking under FineIBT.
624+
bhi: Enable register poisoning to stop speculation
625+
across FineIBT. (Disabled by default.)
626+
warn: Do not enforce CFI checking: warn only.
627+
611628
cgroup_disable= [KNL] Disable a particular controller or optional feature
612629
Format: {name of the controller(s) or feature(s) to disable}
613630
The effects of cgroup_disable=foo are:

0 commit comments

Comments
 (0)