[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
Sun Dec 22 02:18:14 AEDT 2019
https://bugzilla.kernel.org/show_bug.cgi?id=205283
--- Comment #9 from Erhard F. (erhard_f at mailbox.org) ---
module_alloc() in arch/powerpc/mm/kasan/kasan_init_32.c now is:
#if defined(CONFIG_MODULES) && !defined(CONFIG_KASAN_VMALLOC)
void *module_alloc(unsigned long size)
{
void *base;
base = __vmalloc_node_range(size, MODULE_ALIGN, VMALLOC_START,
VMALLOC_END,
GFP_KERNEL | __GFP_ZERO, PAGE_KERNEL_EXEC,
VM_FLUSH_RESET_PERMS,
NUMA_NO_NODE, __builtin_return_address(0));
if (!base)
return NULL;
if (!kasan_init_region(base, size))
return base;
vfree(base);
return NULL;
}
#endif
The change does not seem to influence this bug however. Still a KASAN hit
without KASAN_VMALLOC and no hit with KASAN_VMALLOC enabled.
(bug #205099 does not show any change with KASAN_VMALLOC + modification).
--
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