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

Catalin Marinas catalin.marinas at arm.com
Tue May 17 01:38:55 PDT 2022


On Fri, 29 Apr 2022 15:13:45 +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
> 
> [...]

Applied to arm64 (for-next/misc), thanks!

I modified the first patch for the rodata alignment, it now boots fine.

[1/2] arm64: lds: move special code sections out of kernel exec segment
      https://git.kernel.org/arm64/c/6ee3cf6a209f
[2/2] arm64: mm: avoid writable executable mappings in kexec/hibernate code
      https://git.kernel.org/arm64/c/01142791b0d1

-- 
Catalin




More information about the linux-arm-kernel mailing list