===================================================== BUG: KMSAN: uninit-value in do_profile_hits kernel/profile.c:308 [inline] BUG: KMSAN: uninit-value in profile_hits+0xbd1/0x12f0 kernel/profile.c:398 CPU: 1 PID: 16040 Comm: syz-executor.3 Not tainted 5.13.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x24c/0x2e0 lib/dump_stack.c:120 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:121 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197 do_profile_hits kernel/profile.c:308 [inline] profile_hits+0xbd1/0x12f0 kernel/profile.c:398 profile_hit include/linux/profile.h:63 [inline] profile_tick+0x215/0x220 kernel/profile.c:408 tick_sched_handle kernel/time/tick-sched.c:227 [inline] tick_sched_timer+0x472/0x5b0 kernel/time/tick-sched.c:1374 __run_hrtimer+0x48b/0xd20 kernel/time/hrtimer.c:1537 __hrtimer_run_queues kernel/time/hrtimer.c:1601 [inline] hrtimer_interrupt+0x6e2/0x1b50 kernel/time/hrtimer.c:1663 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] __sysvec_apic_timer_interrupt+0xfd/0x470 arch/x86/kernel/apic/apic.c:1106 sysvec_apic_timer_interrupt+0xc1/0xf0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:665 RIP: 0010:_raw_spin_unlock_irqrestore+0x62/0x80 kernel/locking/spinlock.c:192 Code: 00 00 41 c6 04 24 00 81 e3 00 02 00 00 41 81 e7 00 02 00 00 48 85 db 74 0a f7 d3 44 21 fb 48 85 db 74 16 4d 85 ff 74 01 fb 5b <41> 5c 41 5e 41 5f 5d c3 e8 51 d9 a5 f2 eb be 44 89 f7 e8 47 d9 a5 RSP: 0018:ffff8881205b7888 EFLAGS: 00000206 RAX: ffff88809eec87f4 RBX: 0000000000000000 RCX: 000000009f2c87f4 RDX: ffff88809f2c87f4 RSI: 0000000000000130 RDI: ffff88809f6c87f4 RBP: ffff8881205b78a0 R08: ffffea000000000f R09: ffff88813fffa000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88809f6c87f4 R13: ffff88813fcb1c80 R14: 0000000000000000 R15: 0000000000000200 try_to_wake_up+0xb12/0x15a0 kernel/sched/core.c:3490 wake_up_process+0x34/0x40 kernel/sched/core.c:3557 wake_up_q+0x5f/0x90 kernel/sched/core.c:602 futex_wake+0xc25/0xc80 kernel/futex.c:1633 do_futex+0x1ab4/0x6050 kernel/futex.c:3736 __do_sys_futex kernel/futex.c:3804 [inline] __se_sys_futex+0xa08/0xb10 kernel/futex.c:3785 __x64_sys_futex+0x6e/0x90 kernel/futex.c:3785 do_syscall_64+0xb3/0x180 arch/x86/entry/common.c:49 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665d9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:0000000000a9fb98 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004665d9 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 000000000056bf88 RBP: 000000000056bf80 R08: 00000000005680c0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000570370 R13: 0000000000a9fca0 R14: 000000000056bf80 R15: 000000000007e7d1 Local variable ----mmap_event@perf_event_mmap created at: perf_event_mmap+0x66/0x2c20 kernel/events/core.c:8505 perf_event_mmap+0x66/0x2c20 kernel/events/core.c:8505 =====================================================