================================================================== BUG: KMSAN: uninit-value in __rmqueue_pcplist mm/page_alloc.c:2942 [inline] BUG: KMSAN: uninit-value in rmqueue_pcplist mm/page_alloc.c:2971 [inline] BUG: KMSAN: uninit-value in rmqueue mm/page_alloc.c:2993 [inline] BUG: KMSAN: uninit-value in get_page_from_freelist+0x5f24/0xb740 mm/page_alloc.c:3352 CPU: 0 PID: 11438 Comm: udevd Not tainted 4.17.0+ #5 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+0x185/0x1d0 lib/dump_stack.c:113 kmsan_report+0x188/0x2a0 mm/kmsan/kmsan.c:1117 __msan_warning_32+0x70/0xc0 mm/kmsan/kmsan_instr.c:620 __rmqueue_pcplist mm/page_alloc.c:2942 [inline] rmqueue_pcplist mm/page_alloc.c:2971 [inline] rmqueue mm/page_alloc.c:2993 [inline] get_page_from_freelist+0x5f24/0xb740 mm/page_alloc.c:3352 __alloc_pages_nodemask+0x792/0x5cc0 mm/page_alloc.c:4371 alloc_pages_current+0x6b1/0x970 mm/mempolicy.c:2093 alloc_pages include/linux/gfp.h:494 [inline] __get_free_pages mm/page_alloc.c:4423 [inline] get_zeroed_page+0x3f/0xd0 mm/page_alloc.c:4432 pud_alloc_one arch/x86/include/asm/pgalloc.h:150 [inline] __pud_alloc+0xab/0x440 mm/memory.c:4174 pud_alloc include/linux/mm.h:1752 [inline] __handle_mm_fault mm/memory.c:4030 [inline] handle_mm_fault+0xdc2/0x7ec0 mm/memory.c:4126 faultin_page mm/gup.c:502 [inline] __get_user_pages+0x1376/0x25d0 mm/gup.c:702 __get_user_pages_locked mm/gup.c:873 [inline] get_user_pages_remote+0x2a9/0xb30 mm/gup.c:1065 get_arg_page+0x18f/0x850 fs/exec.c:216 copy_strings+0x7f6/0xfc0 fs/exec.c:557 copy_strings_kernel fs/exec.c:602 [inline] do_execveat_common+0x1fa1/0x2db0 fs/exec.c:1802 do_execve fs/exec.c:1862 [inline] __do_sys_execve fs/exec.c:1943 [inline] __se_sys_execve fs/exec.c:1938 [inline] __x64_sys_execve+0x127/0x180 fs/exec.c:1938 do_syscall_64+0x15b/0x230 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7fa5a1e03207 RSP: 002b:00007ffd15871ae8 EFLAGS: 00000206 ORIG_RAX: 000000000000003b RAX: ffffffffffffffda RBX: 00000000ffffffff RCX: 00007fa5a1e03207 RDX: 0000000001b06fd0 RSI: 00007ffd15871be0 RDI: 00007ffd15872bf0 RBP: 0000000000625500 R08: 00000000000019fc R09: 00000000000019fc R10: 0000000000000000 R11: 0000000000000206 R12: 0000000001b06fd0 R13: 0000000000000007 R14: 0000000001af7250 R15: 0000000000000005 Uninit was stored to memory at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:279 [inline] kmsan_save_stack mm/kmsan/kmsan.c:294 [inline] kmsan_internal_chain_origin+0x12b/0x210 mm/kmsan/kmsan.c:685 __msan_chain_origin+0x69/0xc0 mm/kmsan/kmsan_instr.c:464 __write_once_size include/linux/compiler.h:224 [inline] __list_add include/linux/list.h:66 [inline] list_add include/linux/list.h:79 [inline] free_unref_page_commit+0x4bc/0x4d0 mm/page_alloc.c:2774 free_unref_page mm/page_alloc.c:2794 [inline] __free_pages mm/page_alloc.c:4440 [inline] free_pages+0x290/0x320 mm/page_alloc.c:4452 arch_tlb_finish_mmu mm/memory.c:291 [inline] tlb_finish_mmu+0x3f7/0x5c0 mm/memory.c:434 exit_mmap+0x539/0x980 mm/mmap.c:3107 __mmput+0x158/0x600 kernel/fork.c:962 mmput+0xab/0xf0 kernel/fork.c:983 exit_mm+0x6ed/0x7a0 kernel/exit.c:545 do_exit+0xc12/0x3930 kernel/exit.c:854 do_group_exit+0x1a0/0x360 kernel/exit.c:970 __do_sys_exit_group+0x21/0x30 kernel/exit.c:981 __se_sys_exit_group+0x14/0x20 kernel/exit.c:979 __x64_sys_exit_group+0x4c/0x50 kernel/exit.c:979 do_syscall_64+0x15b/0x230 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Local variable description: ----tlb@exit_mmap Variable was created at: exit_mmap+0x47/0x980 mm/mmap.c:3051 __mmput+0x158/0x600 kernel/fork.c:962 ==================================================================