===================================================== 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: 9514 Comm: syz-executor.3 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:ffff8880aa86b210 EFLAGS: 00000206 RAX: ffff888237a47ac8 RBX: ffff888105460848 RCX: 0000000226440ac8 RDX: ffff888226440ac8 RSI: 0000000000000020 RDI: ffffffff9244eac8 RBP: ffff8880aa86b228 R08: ffffea000000000f R09: ffff88813fffa000 R10: 00000000bd0054cc R11: 0000000000000000 R12: ffffffff9244eac8 R13: ffff888085c08a88 R14: 0000000000000000 R15: 0000000000000200 spin_unlock_irqrestore include/linux/spinlock.h:409 [inline] pcpu_alloc+0x1dc0/0x3d30 mm/percpu.c:1807 __alloc_percpu+0x7a/0x90 mm/percpu.c:1907 xt_percpu_counter_alloc+0x28a/0x400 net/netfilter/x_tables.c:1841 find_check_entry net/ipv4/netfilter/ip_tables.c:527 [inline] translate_table+0x24af/0x3c40 net/ipv4/netfilter/ip_tables.c:717 do_replace net/ipv4/netfilter/ip_tables.c:1135 [inline] do_ipt_set_ctl+0x4e15/0x56a0 net/ipv4/netfilter/ip_tables.c:1627 nf_setsockopt+0x59e/0x600 net/netfilter/nf_sockopt.c:101 ip_setsockopt+0x651f/0x8ab0 net/ipv4/ip_sockglue.c:1435 tcp_setsockopt+0x239/0x270 net/ipv4/tcp.c:3643 sock_common_setsockopt+0x16c/0x1b0 net/core/sock.c:3263 __sys_setsockopt+0x94c/0xd80 net/socket.c:2117 __do_sys_setsockopt net/socket.c:2128 [inline] __se_sys_setsockopt+0xdd/0x100 net/socket.c:2125 __x64_sys_setsockopt+0x62/0x80 net/socket.c:2125 do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x467c1a Code: 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 36 00 00 00 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:0000000000a9f678 EFLAGS: 00000206 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000467c1a RDX: 0000000000000040 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000a9f6a0 R08: 00000000000002d8 R09: 0079746972756365 R10: 0000000000546860 R11: 0000000000000206 R12: 0000000000a9f700 R13: 0000000000000003 R14: 0000000000a9f69c R15: 0000000000546800 Local variable ----indices@truncate_inode_pages_range created at: truncate_inode_pages_range+0xab/0x2760 mm/truncate.c:294 truncate_inode_pages_range+0xab/0x2760 mm/truncate.c:294 =====================================================