===================================================== 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: 4687 Comm: systemd-udevd Not tainted 5.12.0-rc6-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:64 [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:1369 __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:650 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 21 ca b6 f2 eb be 44 89 f7 e8 17 ca b6 RSP: 0018:ffff888114787868 EFLAGS: 00000206 RAX: ffff888113f87a38 RBX: ffff8881115d0a88 RCX: 0000000114387a38 RDX: ffff888114387a38 RSI: 0000000000000220 RDI: ffff888114787a38 RBP: ffff888114787880 R08: ffffea000000000f R09: ffff88813fffa000 R10: 000000009139edcd R11: 0000000000000000 R12: ffff888114787a38 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000200 spin_unlock_irqrestore include/linux/spinlock.h:409 [inline] __wake_up_common_lock kernel/sched/wait.c:140 [inline] __wake_up+0x1ef/0x250 kernel/sched/wait.c:157 __d_lookup_done+0x3b7/0x600 fs/dcache.c:2683 d_lookup_done include/linux/dcache.h:372 [inline] __lookup_slow+0x737/0x810 fs/namei.c:1627 lookup_slow fs/namei.c:1643 [inline] walk_component+0x70a/0xbb0 fs/namei.c:1939 lookup_last fs/namei.c:2396 [inline] path_lookupat+0x34f/0x1120 fs/namei.c:2420 filename_lookup+0x312/0xc60 fs/namei.c:2453 user_path_at_empty+0x123/0x140 fs/namei.c:2733 user_path_at include/linux/namei.h:60 [inline] do_faccessat+0x779/0xfa0 fs/open.c:425 __do_sys_access fs/open.c:484 [inline] __se_sys_access+0x7d/0x90 fs/open.c:482 __x64_sys_access+0x3e/0x60 fs/open.c:482 do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f82fb2b59c7 Code: 83 c4 08 48 3d 01 f0 ff ff 73 01 c3 48 8b 0d c8 d4 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 b8 15 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a1 d4 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007ffff9dc0ca8 EFLAGS: 00000246 ORIG_RAX: 0000000000000015 RAX: ffffffffffffffda RBX: 0000564a9c5f9be0 RCX: 00007f82fb2b59c7 RDX: 00746e657665752f RSI: 0000000000000000 RDI: 00007ffff9dc0cb0 RBP: 00007ffff9dc0d20 R08: 000000000000c520 R09: 0000000000001010 R10: 00007f82fb573b58 R11: 0000000000000246 R12: 0000564a9b4a4856 R13: 0000564a9c5f1180 R14: 00007ffff9dc0cb0 R15: 0000564a9c5d48d0 Local variable ----filename@process_measurement created at: process_measurement+0x1b9/0x37b0 security/integrity/ima/ima_main.c:204 process_measurement+0x1b9/0x37b0 security/integrity/ima/ima_main.c:204 =====================================================