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

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Sat Dec 21 20:13:29 AEDT 2019


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

--- Comment #8 from Christophe Leroy (christophe.leroy at c-s.fr) ---
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.


More information about the Linuxppc-dev mailing list