[PATCH] powerpc/kasan: fix shadow area set up for modules.
Michael Ellerman
patch-notifications at ellerman.id.au
Thu Aug 22 23:08:58 AEST 2019
On Fri, 2019-08-09 at 14:58:10 UTC, Christophe Leroy wrote:
> When loading modules, from time to time an Oops is encountered
> during the init of shadow area for globals. This is due to the
> last page not always being mapped depending on the exact distance
> between the start and the end of the shadow area and the alignment
> with the page addresses.
>
> Fix this by aligning the starting address with the page address.
>
> Reported-by: Erhard F. <erhard_f at mailbox.org>
> Link: https://bugzilla.kernel.org/show_bug.cgi?id=204479
> Fixes: 2edb16efc899 ("powerpc/32: Add KASAN support")
> Cc: stable at vger.kernel.org
> Signed-off-by: Christophe Leroy <christophe.leroy at c-s.fr>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/663c0c9496a69f80011205ba3194049bcafd681d
cheers
More information about the Linuxppc-dev
mailing list