================================================================== BUG: KMSAN: uninit-value in __list_add_valid+0x1b8/0x450 lib/list_debug.c:23 CPU: 1 PID: 15 Comm: ksoftirqd/1 Not tainted 4.17.0+ #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+0x185/0x1d0 lib/dump_stack.c:113 kmsan_report+0x188/0x2a0 mm/kmsan/kmsan.c:1125 __msan_warning_32+0x70/0xc0 mm/kmsan/kmsan_instr.c:620 __list_add_valid+0x1b8/0x450 lib/list_debug.c:23 __list_add include/linux/list.h:60 [inline] list_add include/linux/list.h:79 [inline] account_entity_enqueue kernel/sched/fair.c:2652 [inline] enqueue_entity kernel/sched/fair.c:4176 [inline] enqueue_task_fair+0xe12/0x4490 kernel/sched/fair.c:5359 enqueue_task kernel/sched/core.c:751 [inline] activate_task kernel/sched/core.c:770 [inline] ttwu_activate kernel/sched/core.c:1658 [inline] ttwu_do_activate kernel/sched/core.c:1717 [inline] ttwu_queue kernel/sched/core.c:1862 [inline] try_to_wake_up+0x162f/0x2260 kernel/sched/core.c:2075 wake_up_process+0x34/0x40 kernel/sched/core.c:2148 swake_up_locked kernel/sched/swait.c:30 [inline] swake_up+0xfb/0x3b0 kernel/sched/swait.c:40 rcu_gp_kthread_wake kernel/rcu/tree.c:1787 [inline] rcu_report_qs_rsp kernel/rcu/tree.c:2366 [inline] rcu_report_qs_rnp+0x767/0x880 kernel/rcu/tree.c:2433 rcu_report_qs_rdp kernel/rcu/tree.c:2516 [inline] rcu_check_quiescent_state kernel/rcu/tree.c:2553 [inline] __rcu_process_callbacks kernel/rcu/tree.c:2881 [inline] rcu_process_callbacks+0x90a/0x2060 kernel/rcu/tree.c:2914 __do_softirq+0x592/0x979 kernel/softirq.c:285 run_ksoftirqd+0x1f/0x40 kernel/softirq.c:646 smpboot_thread_fn+0x4ac/0x9a0 kernel/smpboot.c:164 kthread+0x4db/0x6c0 kernel/kthread.c:241 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:413 Uninit was stored to memory at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:282 [inline] kmsan_save_stack mm/kmsan/kmsan.c:297 [inline] kmsan_internal_chain_origin+0x12b/0x210 mm/kmsan/kmsan.c:689 __msan_chain_origin+0x69/0xc0 mm/kmsan/kmsan_instr.c:464 __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 __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.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 ==================================================================