================================================================== BUG: KMSAN: uninit-value in __list_del_entry_valid+0x23a/0x440 lib/list_debug.c:48 CPU: 0 PID: 4534 Comm: syz-executor1 Not tainted 4.17.0+ #17 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:1368 __msan_warning_32+0x70/0xc0 mm/kmsan/kmsan_instr.c:634 __list_del_entry_valid+0x23a/0x440 lib/list_debug.c:48 __list_del_entry include/linux/list.h:117 [inline] list_del_init include/linux/list.h:159 [inline] account_entity_dequeue kernel/sched/fair.c:2667 [inline] dequeue_entity kernel/sched/fair.c:4267 [inline] dequeue_task_fair+0xad7/0x3300 kernel/sched/fair.c:5407 dequeue_task kernel/sched/core.c:762 [inline] deactivate_task+0x560/0x7d0 kernel/sched/core.c:778 __schedule+0x164/0x770 kernel/sched/core.c:3474 schedule+0x1cc/0x2f0 kernel/sched/core.c:3568 freezable_schedule include/linux/freezer.h:172 [inline] do_nanosleep+0x2c3/0x9c0 kernel/time/hrtimer.c:1689 hrtimer_nanosleep kernel/time/hrtimer.c:1743 [inline] __do_sys_nanosleep kernel/time/hrtimer.c:1775 [inline] __se_sys_nanosleep+0x4b3/0x6a0 kernel/time/hrtimer.c:1762 __x64_sys_nanosleep+0x92/0xc0 kernel/time/hrtimer.c:1762 do_syscall_64+0x15b/0x230 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x4811c0 RSP: 002b:0000000000a3ea98 EFLAGS: 00000246 ORIG_RAX: 0000000000000023 RAX: ffffffffffffffda RBX: 000000000004f674 RCX: 00000000004811c0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000a3eaa0 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000001f01940 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 R13: 0000000000000438 R14: 0000000000a3f160 R15: 000000000004f659 Uninit was stored to memory at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:287 [inline] kmsan_save_stack mm/kmsan/kmsan.c:302 [inline] kmsan_internal_chain_origin+0x12b/0x210 mm/kmsan/kmsan.c:692 __msan_chain_origin+0x69/0xc0 mm/kmsan/kmsan_instr.c:478 __list_add include/linux/list.h:65 [inline] list_add include/linux/list.h:79 [inline] list_move include/linux/list.h:171 [inline] pick_next_task_fair+0x2474/0x2530 kernel/sched/fair.c:6968 pick_next_task+0x1ba/0x420 kernel/sched/core.c:3368 __schedule+0x20f/0x770 kernel/sched/core.c:3498 preempt_schedule_common kernel/sched/core.c:3648 [inline] _cond_resched+0x5e/0xd0 kernel/sched/core.c:4999 zap_pmd_range mm/memory.c:1444 [inline] zap_pud_range mm/memory.c:1471 [inline] zap_p4d_range mm/memory.c:1492 [inline] unmap_page_range+0x35e0/0x3be0 mm/memory.c:1513 unmap_single_vma+0x445/0x5e0 mm/memory.c:1558 unmap_vmas+0x1f4/0x360 mm/memory.c:1588 exit_mmap+0x4d7/0x980 mm/mmap.c:3105 __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 get_signal+0x1405/0x1ec0 kernel/signal.c:2482 do_signal+0xb8/0x1d20 arch/x86/kernel/signal.c:810 exit_to_usermode_loop arch/x86/entry/common.c:162 [inline] prepare_exit_to_usermode+0x271/0x3a0 arch/x86/entry/common.c:196 syscall_return_slowpath+0xe9/0x710 arch/x86/entry/common.c:265 do_syscall_64+0x1ad/0x230 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x63/0xe7 Local variable description: ----tlb.i@ldt_arch_exit_mmap Variable was created at: ldt_arch_exit_mmap+0x46/0x160 arch/x86/kernel/ldt.c:302 arch_exit_mmap arch/x86/include/asm/mmu_context.h:245 [inline] exit_mmap+0x410/0x980 mm/mmap.c:3094 ==================================================================