================================================================== BUG: KMSAN: uninit-value in __list_add_valid+0x1a2/0x450 lib/list_debug.c:23 CPU: 0 PID: 12161 Comm: udevd 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+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+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 hrtimer_wakeup+0xac/0x100 kernel/time/hrtimer.c:1647 __run_hrtimer kernel/time/hrtimer.c:1398 [inline] __hrtimer_run_queues+0xc54/0x1630 kernel/time/hrtimer.c:1460 hrtimer_interrupt+0x451/0x13c0 kernel/time/hrtimer.c:1518 local_apic_timer_interrupt+0x6b/0x250 arch/x86/kernel/apic/apic.c:1025 smp_apic_timer_interrupt+0x5a/0x90 arch/x86/kernel/apic/apic.c:1053 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:866 RIP: 0010:test_and_set_bit arch/x86/include/asm/bitops.h:220 [inline] RIP: 0010:test_and_set_bit_lock arch/x86/include/asm/bitops.h:234 [inline] RIP: 0010:trylock_page include/linux/pagemap.h:473 [inline] RIP: 0010:do_wp_page+0xf5a/0x2fa0 mm/memory.c:2737 RSP: 0000:ffff88009c54fba0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: ffff88007e2ffc1f RBX: 0000000000000000 RCX: ffff880000000000 RDX: ffff88008601fc1c RSI: aaaaaaaaaaaab000 RDI: ffffea0000000000 RBP: ffff88009c54fc60 R08: 0000000000000001 R09: 0000000000000002 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88009c54fd10 R13: 0000000000000000 R14: ffffea00004394a0 R15: 0000000000000000 handle_pte_fault mm/memory.c:3981 [inline] __handle_mm_fault mm/memory.c:4089 [inline] handle_mm_fault+0x33a9/0x7ed0 mm/memory.c:4126 __do_page_fault+0xec6/0x1a10 arch/x86/mm/fault.c:1400 do_page_fault+0xb7/0x250 arch/x86/mm/fault.c:1477 page_fault+0x1e/0x30 arch/x86/entry/entry_64.S:1163 RIP: 0033:0x407cc0 RSP: 002b:00007ffdc817ef70 EFLAGS: 00010202 RAX: 0000000000000000 RBX: 000000000100de80 RCX: 0000000000000000 RDX: 000000000100de34 RSI: 0000000000ffb350 RDI: 000000000100de80 RBP: 0000000000ff5460 R08: 0000000000000000 R09: 0000000000000000 R10: 00007ff571594dc0 R11: 00007ff5715d6c10 R12: 0000000000ffae10 R13: 0000000000625500 R14: 0000000000ff5250 R15: 000000000000000b 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 __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] list_move include/linux/list.h:171 [inline] pick_next_task_fair+0x249e/0x2530 kernel/sched/fair.c:6968 pick_next_task+0x1ba/0x420 kernel/sched/core.c:3368 __schedule+0x20f/0x770 kernel/sched/core.c:3498 do_task_dead+0xc8/0xf0 kernel/sched/core.c:3541 do_exit+0x347e/0x3930 kernel/exit.c:924 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 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 set_next_buddy kernel/sched/fair.c:6764 [inline] check_preempt_wakeup+0xdc9/0x1550 kernel/sched/fair.c:6836 check_preempt_curr kernel/sched/core.c:865 [inline] ttwu_do_wakeup+0x2f0/0x9a0 kernel/sched/core.c:1672 ttwu_do_activate kernel/sched/core.c:1718 [inline] ttwu_queue kernel/sched/core.c:1862 [inline] try_to_wake_up+0x1726/0x2260 kernel/sched/core.c:2075 default_wake_function+0x92/0xb0 kernel/sched/core.c:3762 __pollwake fs/select.c:207 [inline] pollwake+0x23f/0x300 fs/select.c:217 __wake_up_common+0x45a/0xa50 kernel/sched/wait.c:90 __wake_up_common_lock+0x196/0x370 kernel/sched/wait.c:119 __wake_up+0x4a/0x60 kernel/sched/wait.c:143 signalfd_notify include/linux/signalfd.h:22 [inline] __send_signal+0x14c7/0x1520 kernel/signal.c:1097 send_signal kernel/signal.c:1115 [inline] __group_send_sig_info kernel/signal.c:1154 [inline] do_notify_parent+0xd34/0xe30 kernel/signal.c:1816 exit_notify kernel/exit.c:720 [inline] do_exit+0x2911/0x3930 kernel/exit.c:887 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: ----dummy_wait.i@pollwake Variable was created at: pollwake+0x85/0x300 fs/select.c:211 __wake_up_common+0x45a/0xa50 kernel/sched/wait.c:90 ==================================================================