Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - G index

CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF: zero-init structs passed by reference (strong)

General informations

The Linux kernel configuration item CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF has multiple definitions:

zero-init structs passed by reference (strong) found in security/Kconfig.hardening

The configuration item CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF:

Help text

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.

structs passed by reference found in scripts/gcc-plugins/Kconfig

The configuration item CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF:

Help text

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

Hardware

LKDDb

Raw data from LKDDb:

Sources

This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).

The data is retrived from:

Automatic links from Google (and ads)

Custom Search

Popular queries:

Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - G index

Automatically generated (in year 2024). See also LKDDb sources on GitLab