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

Mark Rutland mark.rutland at arm.com
Wed May 4 04:52:54 PDT 2022


On Fri, Apr 29, 2022 at 03:13:45PM +0200, Ard Biesheuvel wrote:
> 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(-)

These both look reasonable to me, so FWIW:

Acked-by: Mark Rutland <mark.rutland at arm.com>

Mark.

> 
> -- 
> 2.30.2
> 



More information about the linux-arm-kernel mailing list