================================================================== BUG: KMSAN: uninit-value in slab_alloc_node mm/slub.c:2719 [inline] BUG: KMSAN: uninit-value in slab_alloc mm/slub.c:2762 [inline] BUG: KMSAN: uninit-value in kmem_cache_alloc+0x60b/0xb60 mm/slub.c:2767 CPU: 1 PID: 11201 Comm: syz-executor.2 Not tainted 5.0.0-rc1+ #9 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x173/0x1d0 lib/dump_stack.c:113 kmsan_report+0x12e/0x2a0 mm/kmsan/kmsan.c:600 __msan_warning+0x82/0xf0 mm/kmsan/kmsan_instr.c:313 slab_alloc_node mm/slub.c:2719 [inline] slab_alloc mm/slub.c:2762 [inline] kmem_cache_alloc+0x60b/0xb60 mm/slub.c:2767 vm_area_dup kernel/fork.c:341 [inline] dup_mmap kernel/fork.c:526 [inline] dup_mm kernel/fork.c:1321 [inline] copy_mm kernel/fork.c:1376 [inline] copy_process+0x6485/0xafe0 kernel/fork.c:1920 _do_fork+0x384/0x1050 kernel/fork.c:2219 __do_sys_clone kernel/fork.c:2326 [inline] __se_sys_clone+0xf6/0x110 kernel/fork.c:2320 __x64_sys_clone+0x62/0x80 kernel/fork.c:2320 do_syscall_64+0xbc/0xf0 arch/x86/entry/common.c:291 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x4563fa Code: f7 d8 64 89 04 25 d4 02 00 00 64 4c 8b 0c 25 10 00 00 00 31 d2 4d 8d 91 d0 02 00 00 31 f6 bf 11 00 20 01 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 f5 00 00 00 85 c0 41 89 c5 0f 85 fc 00 00 RSP: 002b:0000000000a4fd50 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000a4fd50 RCX: 00000000004563fa RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000a4fd90 R08: 0000000000000001 R09: 000000000285e940 R10: 000000000285ec10 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000002 Uninit was stored to memory at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:205 [inline] kmsan_save_stack mm/kmsan/kmsan.c:220 [inline] kmsan_internal_chain_origin+0x134/0x230 mm/kmsan/kmsan.c:426 __msan_chain_origin+0x70/0xe0 mm/kmsan/kmsan_instr.c:200 ___slab_alloc+0x1d41/0x2060 mm/slub.c:2604 __slab_alloc mm/slub.c:2657 [inline] slab_alloc_node mm/slub.c:2720 [inline] slab_alloc mm/slub.c:2762 [inline] kmem_cache_alloc+0xae8/0xb60 mm/slub.c:2767 dup_mm kernel/fork.c:1312 [inline] copy_mm kernel/fork.c:1376 [inline] copy_process+0x42b4/0xafe0 kernel/fork.c:1920 _do_fork+0x384/0x1050 kernel/fork.c:2219 __do_sys_clone kernel/fork.c:2326 [inline] __se_sys_clone+0xf6/0x110 kernel/fork.c:2320 __x64_sys_clone+0x62/0x80 kernel/fork.c:2320 do_syscall_64+0xbc/0xf0 arch/x86/entry/common.c:291 entry_SYSCALL_64_after_hwframe+0x63/0xe7 Uninit was created at: kmsan_save_stack_with_flags+0x7a/0x130 mm/kmsan/kmsan.c:205 kmsan_internal_alloc_meta_for_pages+0x113/0x580 mm/kmsan/kmsan_hooks.c:98 kmsan_alloc_page+0x7e/0x100 mm/kmsan/kmsan_hooks.c:396 __alloc_pages_nodemask+0x137b/0x5e30 mm/page_alloc.c:4572 alloc_pages_current+0x69d/0x9b0 mm/mempolicy.c:2106 alloc_pages include/linux/gfp.h:511 [inline] alloc_slab_page mm/slub.c:1492 [inline] allocate_slab mm/slub.c:1637 [inline] new_slab+0x3c6/0x20b0 mm/slub.c:1711 new_slab_objects mm/slub.c:2465 [inline] ___slab_alloc+0x1577/0x2060 mm/slub.c:2617 __slab_alloc mm/slub.c:2657 [inline] slab_alloc_node mm/slub.c:2720 [inline] slab_alloc mm/slub.c:2762 [inline] kmem_cache_alloc+0xae8/0xb60 mm/slub.c:2767 dup_mm kernel/fork.c:1312 [inline] copy_mm kernel/fork.c:1376 [inline] copy_process+0x42b4/0xafe0 kernel/fork.c:1920 _do_fork+0x384/0x1050 kernel/fork.c:2219 __do_sys_clone kernel/fork.c:2326 [inline] __se_sys_clone+0xf6/0x110 kernel/fork.c:2320 __x64_sys_clone+0x62/0x80 kernel/fork.c:2320 do_syscall_64+0xbc/0xf0 arch/x86/entry/common.c:291 entry_SYSCALL_64_after_hwframe+0x63/0xe7 ==================================================================