===================================================== 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: 0 PID: 12989 Comm: syz-executor.5 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:ffff88806c62bc10 EFLAGS: 00000206 RAX: ffff8881035407f4 RBX: ffff88813fc95840 RCX: 00000001039407f4 RDX: ffff8881039407f4 RSI: 0000000000000200 RDI: ffff888103d407f4 RBP: ffff88806c62bc28 R08: ffffea000000000f R09: ffff88813fffa000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888103d407f4 R13: ffff8880a1b76848 R14: 0000000000000000 R15: 0000000000000200 task_rq_unlock kernel/sched/sched.h:1298 [inline] wake_up_new_task+0xb90/0x1270 kernel/sched/core.c:3862 kernel_clone+0x889/0x1350 kernel/fork.c:2526 __do_sys_clone kernel/fork.c:2619 [inline] __se_sys_clone+0x225/0x350 kernel/fork.c:2603 __x64_sys_clone+0x62/0x80 kernel/fork.c:2603 do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x467a01 Code: 48 85 ff 74 3d 48 85 f6 74 38 48 83 ee 10 48 89 4e 08 48 89 3e 48 89 d7 4c 89 c2 4d 89 c8 4c 8b 54 24 08 b8 38 00 00 00 0f 05 <48> 85 c0 7c 13 74 01 c3 31 ed 58 5f ff d0 48 89 c7 b8 3c 00 00 00 RSP: 002b:0000000000a9fa68 EFLAGS: 00000206 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007ff7e84c5700 RCX: 0000000000467a01 RDX: 00007ff7e84c59d0 RSI: 00007ff7e84c52f0 RDI: 00000000003d0f00 RBP: 0000000000a9fca0 R08: 00007ff7e84c5700 R09: 00007ff7e84c5700 R10: 00007ff7e84c59d0 R11: 0000000000000206 R12: 0000000000a9fb1e R13: 0000000000a9fb1f R14: 00007ff7e84c5300 R15: 0000000000022000 Local variable ----filename@ima_file_mprotect created at: ima_file_mprotect+0xad/0x790 security/integrity/ima/ima_main.c:418 ima_file_mprotect+0xad/0x790 security/integrity/ima/ima_main.c:418 =====================================================