[PATCH 0/2] arm64: pair of minor hardening tweaks

Ard Biesheuvel ardb at kernel.org
Fri Apr 29 06:13:45 PDT 2022


A couple of tweaks to the way we handle the kexec and hibernate helper
code, so that it no longer gets mapped with attributes it doesn't need.

Ard Biesheuvel (2):
  arm64: lds: move special code sections out of kernel exec segment
  arm64: mm: avoid writable executable mappings in kexec/hibernate code

 arch/arm64/kernel/vmlinux.lds.S | 20 +++++++++++---------
 arch/arm64/mm/trans_pgd.c       |  2 +-
 2 files changed, 12 insertions(+), 10 deletions(-)

-- 
2.30.2




More information about the linux-arm-kernel mailing list