===================================================== 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: 8227 Comm: syz-executor.0 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:ffff888099793200 EFLAGS: 00000206 RAX: ffff888237a92a48 RBX: 0000000000000000 RCX: 000000022648ba48 RDX: ffff88822648ba48 RSI: 0000000000000020 RDI: ffffffff92499a48 RBP: ffff888099793218 R08: ffffea000000000f R09: ffff88813fffa000 R10: 0000000063299559 R11: 0000000000000000 R12: ffffffff92499a48 R13: ffff8881297ae908 R14: 0000000000000000 R15: 0000000000000200 spin_unlock_irqrestore include/linux/spinlock.h:409 [inline] pcpu_alloc+0x1dff/0x3e90 mm/percpu.c:1807 __alloc_percpu+0x7a/0x90 mm/percpu.c:1907 xt_percpu_counter_alloc+0x28a/0x400 net/netfilter/x_tables.c:1869 find_check_entry net/ipv4/netfilter/arp_tables.c:412 [inline] translate_table+0x2f0e/0x3c10 net/ipv4/netfilter/arp_tables.c:577 do_replace net/ipv4/netfilter/arp_tables.c:980 [inline] do_arpt_set_ctl+0x153e/0x4a10 net/ipv4/netfilter/arp_tables.c:1420 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:3656 sock_common_setsockopt+0x16c/0x1b0 net/core/sock.c:3265 __sys_setsockopt+0x94c/0xd80 net/socket.c:2104 __do_sys_setsockopt net/socket.c:2115 [inline] __se_sys_setsockopt+0xdd/0x100 net/socket.c:2112 __x64_sys_setsockopt+0x62/0x80 net/socket.c:2112 do_syscall_64+0xb3/0x180 arch/x86/entry/common.c:49 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:0000000000a9f6b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000a9f6cc RCX: 0000000000467c1a RDX: 0000000000000060 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000000000000408 R09: 0000000000a9f730 R10: 00000000005424f0 R11: 0000000000000246 R12: 0000000000a9f720 R13: 0000000000042f4a R14: 0000000000000000 R15: 0000000000a9fe40 Local variable ----tmp@number created at: number+0xb2/0x2540 lib/vsprintf.c:426 number+0xb2/0x2540 lib/vsprintf.c:426 =====================================================