Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - S index
The Linux kernel configuration item CONFIG_SHADOW_CALL_STACK
has multiple definitions:
arch/Kconfig
The configuration item CONFIG_SHADOW_CALL_STACK:
( CONFIG_ARCH_SUPPORTS_SHADOW_CALL_STACK ) && ( CONFIG_DYNAMIC_FTRACE_WITH_ARGS || CONFIG_DYNAMIC_FTRACE_WITH_REGS || ! CONFIG_FUNCTION_GRAPH_TRACER ) && ( CONFIG_MMU )
This option enables the compiler's Shadow Call Stack, which uses a shadow stack to protect function return addresses from being overwritten by an attacker. More information can be found in the compiler's documentation:
- Clang: https://clang.llvm.org/docs/ShadowCallStack.html - GCC: https://gcc.gnu.org/onlinedocs/gcc/Instrumentation-Options.html#Instrumentation-Options
Note that security guarantees in the kernel differ from the ones documented for user space. The kernel must store addresses of shadow stacks in memory, which means an attacker capable of reading and writing arbitrary memory may be able to locate them and hijack control flow by modifying the stacks.
arch/Kconfig
The configuration item CONFIG_SHADOW_CALL_STACK:
( CONFIG_CC_IS_CLANG && CONFIG_ARCH_SUPPORTS_SHADOW_CALL_STACK ) && ( CONFIG_DYNAMIC_FTRACE_WITH_REGS || ! CONFIG_FUNCTION_GRAPH_TRACER )
This option enables Clang's Shadow Call Stack, which uses a shadow stack to protect function return addresses from being overwritten by an attacker. More information can be found in Clang's documentation:
https://clang.llvm.org/docs/ShadowCallStack.html
Note that security guarantees in the kernel differ from the ones documented for user space. The kernel must store addresses of shadow stacks in memory, which means an attacker capable of reading and writing arbitrary memory may be able to locate them and hijack control flow by modifying the stacks.
Raw data from LKDDb:
(none)
This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).
The data is retrived from:
Popular queries:
Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - S index
Automatically generated (in year 2024). See also LKDDb sources on GitLab