Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - I index
The Linux kernel configuration item CONFIG_INIT_STACK_ALL_ZERO
has multiple definitions:
security/Kconfig.hardening
The configuration item CONFIG_INIT_STACK_ALL_ZERO:
( CONFIG_CC_HAS_AUTO_VAR_INIT_ZERO ) && (! CONFIG_KMSAN )
Initializes everything on the stack (including padding) with a zero value. This is intended to eliminate all classes of uninitialized stack variable exploits and information exposures, even variables that were warned about having been left uninitialized.
Zero initialization provides safe defaults for strings (immediately NUL-terminated), pointers (NULL), indices (index 0), and sizes (0 length), so it is therefore more suitable as a production security mitigation than pattern initialization.
security/Kconfig.hardening
The configuration item CONFIG_INIT_STACK_ALL_ZERO:
CONFIG_CC_HAS_AUTO_VAR_INIT_ZERO
Initializes everything on the stack with a zero value. This is intended to eliminate all classes of uninitialized stack variable exploits and information exposures, even variables that were warned to have been left uninitialized.
Zero initialization provides safe defaults for strings, pointers, indices and sizes, and is therefore more suitable as a security mitigation measure.
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 - I index
Automatically generated (in year 2024). See also LKDDb sources on GitLab