Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - G index
The Linux kernel configuration item CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF
has multiple definitions:
security/Kconfig.hardening
The configuration item CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF:
( CONFIG_GCC_PLUGINS && ! CONFIG_CC_HAS_AUTO_VAR_INIT_ZERO ) && (!( CONFIG_KASAN && CONFIG_KASAN_STACK ))
Zero-initialize any structures on the stack that may be passed by reference and had not already been explicitly initialized. This can prevent most classes of uninitialized stack variable exploits and information exposures, like CVE-2017-1000410: https://git.kernel.org/linus/06e7e776ca4d3654
As a side-effect, this keeps a lot of variables on the stack that can otherwise be optimized out, so combining this with KASAN_STACK can lead to a stack overflow and is disallowed.
scripts/gcc-plugins/Kconfig
The configuration item CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF:
(none)
Zero-initialize any structures on the stack that may be passed by reference and had not already been explicitly initialized. This can prevent most classes of uninitialized stack variable exploits and information exposures, like CVE-2017-1000410: https://git.kernel.org/linus/06e7e776ca4d3654
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 - G index
Automatically generated (in year 2024). See also LKDDb sources on GitLab