================================================================== BUG: KMSAN: uninit-value in __list_add_valid+0x1a2/0x450 lib/list_debug.c:23 CPU: 0 PID: 31149 Comm: syz-executor276 Not tainted 4.17.0-rc5+ #103 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+0x149/0x260 mm/kmsan/kmsan.c:1084 __msan_warning_32+0x6e/0xc0 mm/kmsan/kmsan_instr.c:686 __list_add_valid+0x1a2/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+0xe02/0x4470 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:1641 [inline] ttwu_do_activate kernel/sched/core.c:1700 [inline] ttwu_queue kernel/sched/core.c:1845 [inline] try_to_wake_up+0x1430/0x20b0 kernel/sched/core.c:2058 wake_up_process+0x34/0x40 kernel/sched/core.c:2131 wake_up_q+0x5f/0xa0 kernel/sched/core.c:448 futex_wake+0x955/0xba0 kernel/futex.c:1556 do_futex+0x28d1/0x6ad0 kernel/futex.c:3531 __do_sys_futex kernel/futex.c:3587 [inline] __se_sys_futex+0x3fe/0x820 kernel/futex.c:3555 __x64_sys_futex+0x1a2/0x200 kernel/futex.c:3555 do_syscall_64+0x152/0x230 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x4468d9 RSP: 002b:00007ffeb65e8238 EFLAGS: 00000202 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 00000000006dcc20 RCX: 00000000004468d9 RDX: 00000000004468d9 RSI: 0000000000000001 RDI: 00000000006dcc24 RBP: 0000000000000000 R08: 0000000000000455 R09: 0000000000000455 R10: 0000000000000455 R11: 0000000000000202 R12: 00000000006dcc24 R13: 00000000006dcda0 R14: 0000000000000001 R15: 0000000000000004 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:529 __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] account_entity_enqueue kernel/sched/fair.c:2652 [inline] enqueue_entity kernel/sched/fair.c:4176 [inline] enqueue_task_fair+0x2932/0x4470 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:1641 [inline] ttwu_do_activate kernel/sched/core.c:1700 [inline] ttwu_queue kernel/sched/core.c:1845 [inline] try_to_wake_up+0x1430/0x20b0 kernel/sched/core.c:2058 wake_up_process+0x34/0x40 kernel/sched/core.c:2131 hrtimer_wakeup+0xac/0x100 kernel/time/hrtimer.c:1647 __run_hrtimer kernel/time/hrtimer.c:1398 [inline] __hrtimer_run_queues+0xc03/0x15d0 kernel/time/hrtimer.c:1460 hrtimer_interrupt+0x451/0x13c0 kernel/time/hrtimer.c:1518 local_apic_timer_interrupt+0x66/0x230 arch/x86/kernel/apic/apic.c:1025 smp_apic_timer_interrupt+0x5a/0x90 arch/x86/kernel/apic/apic.c:1053 Local variable description: ----t.i.i@__se_sys_nanosleep Variable was created at: __se_sys_nanosleep+0x5f/0x6a0 kernel/time/hrtimer.c:1762 __x64_sys_nanosleep+0x92/0xc0 kernel/time/hrtimer.c:1762 ==================================================================