KSPP / linux

Linux kernel source tree (Kernel Self Protection Project)
https://kernsec.org/wiki/index.php/Kernel_Self_Protection_Project
Other
81 stars 5 forks source link

Add call-used-regs wiping attribute and users #179

Open kees opened 2 years ago

kees commented 2 years ago

While the global config CONFIG_ZERO_CALL_USED_REGS can be used to enable wiping everywhere, we should explicitly add the call-used-regs wiping attribute, and add markings to various security boundary interfaces where we might expect potential side-channel leakage having an impact on potential speculation gadgets, etc.