Skip to content

Stackleak for arm64

Laura Abbott kernel-hardening linux-arm-kernel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2stackleak: Update for arm64scripts/gcc-plugins/stackleak_plugin.c+5 -07 replies
2/2arm64: Clear the stackarch/arm64/Kconfig arch/arm64/include/asm/processor.h arch/arm64/kernel/asm-offsets.c +4 more+140 -23 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Stackleak for arm64

This is the arm64 version of the STACKLEAK plugin originall from grsecurity. See
https://marc.info/?l=kernel-hardening&m=151880470609808 for the full x86 version. This is based on top of Kees' branch for stackleak and has been cleaned up to use a few macros from that branch.

Comments welcome, if there are no major objections Kees will queue this up to get some CI testing. This passed both of the LKDTM tests.

Laura Abbott (2):
stackleak: Update for arm64
arm64: Clear the stack

 arch/arm64/Kconfig                     |   1 +
 arch/arm64/include/asm/processor.h     |   6 ++
 arch/arm64/kernel/asm-offsets.c        |   3 +
 arch/arm64/kernel/entry.S              | 108 +++++++++++++++++++++++++++++++++
 arch/arm64/kernel/process.c            |  16 +++++
 drivers/firmware/efi/libstub/Makefile  |   3 +-
 scripts/Makefile.gcc-plugins           |   5 +-
 scripts/gcc-plugins/stackleak_plugin.c |   5 ++
 8 files changed, 145 insertions(+), 2 deletions(-)
Signature · 1 line
2.14.3