[PATCH] powerpc/kasan: Fix KASAN_SHADOW_START on BOOK3S_32
Michael Ellerman
patch-notifications at ellerman.id.au
Tue Aug 18 23:58:19 AEST 2020
On Wed, 5 Aug 2020 15:27:29 +0000 (UTC), Christophe Leroy wrote:
> On BOOK3S_32, when we have modules and strict kernel RWX, modules
> are not in vmalloc space but in a dedicated segment that is
> below PAGE_OFFSET.
>
> So KASAN_SHADOW_START must take it into account.
>
> MODULES_VADDR can't be used because it is not defined yet
> in kasan.h
Applied to powerpc/fixes.
[1/1] powerpc/kasan: Fix KASAN_SHADOW_START on BOOK3S_32
https://git.kernel.org/powerpc/c/48d2f0407be7a36e8f20be37ec9121e021ef3964
cheers
More information about the Linuxppc-dev
mailing list