RFC draft of stack clearing for arm64
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | stackleak: Update for arm64scripts/ | +20 | 0 replies | |
| 2/2 | arm64: Clear the stackarch/ arch/ arch/ +4 more | +123 | 9 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [kernel-hardening] [RFC][PATCH 0/2] draft of stack clearing for arm64
I made an attempt at implementing stack clearing for arm64 using roughly the same algorithm as x86. It passes some level of basic tests but it definitely needs more careful review and thought ("submit early and often").
As an added follow up, self-protection.rst should also be updated with some details about how stackleak actually works for people who want to follow on for other arches.
Laura Abbott (2):
stackleak: Update for arm64
arm64: Clear the stack
arch/arm64/Kconfig | 1 + arch/arm64/include/asm/processor.h | 3 ++ arch/arm64/kernel/asm-offsets.c | 3 ++ arch/arm64/kernel/entry.S | 92 ++++++++++++++++++++++++++++++++++ arch/arm64/kernel/process.c | 18 +++++++ drivers/firmware/efi/libstub/Makefile | 3 +- scripts/Makefile.gcc-plugins | 5 +- scripts/gcc-plugins/stackleak_plugin.c | 25 +++++++-- 8 files changed, 143 insertions(+), 7 deletions(-)
Signature · 1 line
2.7.5