Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - Z index
The Linux kernel configuration item CONFIG_ZERO_CALL_USED_REGS
:
CONFIG_CC_HAS_ZERO_CALL_USED_REGS
At the end of functions, always zero any caller-used register contents. This helps ensure that temporary values are not leaked beyond the function boundary. This means that register contents are less likely to be available for side channels and information exposures. Additionally, this helps reduce the number of useful ROP gadgets by about 20% (and removes compiler generated "write-what-where" gadgets) in the resulting kernel image. This has a less than 1% performance impact on most workloads. Image size growth depends on architecture, and should be evaluated for suitability. For example, x86_64 grows by less than 1%, and arm64 grows by about 5%.
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 - Z index
Automatically generated (in year 2024). See also LKDDb sources on GitLab