CONFIG_RISCV_USER_CFI is not available for the selected architecture x86.
Result is shown for architecture 64BIT or riscv

riscv userspace control flow integrity

modulename: usercfi.ko

configname: CONFIG_RISCV_USER_CFI

Linux Kernel Configuration
└─>Kernel features
└─>riscv userspace control flow integrity
In linux kernel since version 6.19.5 (release Date: 2026-02-27)
Provides CPU-assisted control flow integrity to userspace tasks.
Control flow integrity is provided by implementing shadow stack for
backward edge and indirect branch tracking for forward edge.
Shadow stack protection is a hardware feature that detects function
return address corruption. This helps mitigate ROP attacks.
Indirect branch tracking enforces that all indirect branches must land
on a landing pad instruction else CPU will fault. This mitigates against
JOP / COP attacks. Applications must be enabled to use it, and old userspace
does not get protection "for free".
default y.
source code: