Subject: [Bug 205283] BUG: KASAN: global-out-of-bounds in _copy_to_iter+0x3d4/0x5a8

From: [email-masked]
Date: Sat, 21 Dec 2019 09:13:29 +0000

https://bugzilla.kernel.org/show_bug.cgi?id=205283

--- Comment #8 from Christophe Leroy ([email-masked]) ---
Thanks for the test.

Looking once more at module_alloc() in arch/powerpc/mm/kasan/kasan_init_32.c, I
think we are missing an initialisation.

In module_alloc(), in the call to  __vmalloc_node_range(), could you try and
replace  GFP_KERNEL  by  GFP_KERNEL | __GFP_ZERO

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.