structs marked for userspace
configname: CONFIG_GCC_PLUGIN_STRUCTLEAK_USER
Coverage
└─>structs marked for userspace
In linux kernel since version 5.1 (release Date: 2019-05-05)
Zero-initialize any structures on the stack containing
a __user attribute. This can prevent some classes of
uninitialized stack variable exploits and information
exposures, like CVE-2013-2141:
https://git.kernel.org/linus/b9e146d8eb3b9eca
a __user attribute. This can prevent some classes of
uninitialized stack variable exploits and information
exposures, like CVE-2013-2141:
https://git.kernel.org/linus/b9e146d8eb3b9eca