watchdog: BUG: soft lockup - CPU#0 stuck for 123s! [syz-executor.0:22862] Modules linked in: irq event stamp: 0 hardirqs last enabled at (0): [<0000000000000000>] 0x0 hardirqs last disabled at (0): [] copy_process+0x21e7/0x7400 kernel/fork.c:2442 softirqs last enabled at (0): [] copy_process+0x2228/0x7400 kernel/fork.c:2446 softirqs last disabled at (0): [<0000000000000000>] 0x0 CPU: 0 PID: 22862 Comm: syz-executor.0 Not tainted 6.5.0-syzkaller-12676-g7182e56411b9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:write_comp_data+0x21/0x90 kernel/kcov.c:236 Code: 2e 0f 1f 84 00 00 00 00 00 65 8b 05 e1 f0 7b 7e 49 89 f1 89 c6 49 89 d2 81 e6 00 01 00 00 49 89 f8 65 48 8b 14 25 c0 bc 03 00 00 01 ff 00 74 0e 85 f6 74 59 8b 82 04 16 00 00 85 c0 74 4f 8b RSP: 0018:ffffc900000075b0 EFLAGS: 00000206 RAX: 0000000000000102 RBX: ffffc90000007638 RCX: ffffffff813a599c RDX: ffff888026df9dc0 RSI: 0000000000000100 RDI: 0000000000000006 RBP: ffffc9000398ff58 R08: 0000000000000006 R09: ffffc9000398ff40 R10: ffffc9000398ff58 R11: 0200000000000000 R12: ffffc90003988000 R13: ffffc90003990000 R14: ffffc9000398ff60 R15: ffffc9000398ff40 FS: 00007f65b39856c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30923000 CR3: 00000000590da000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: unwind_next_frame+0x122c/0x2390 arch/x86/kernel/unwind_orc.c:665 arch_stack_walk+0xfa/0x170 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x96/0xd0 kernel/stacktrace.c:122 kasan_save_stack+0x33/0x50 mm/kasan/common.c:45 kasan_set_track+0x25/0x30 mm/kasan/common.c:52 ____kasan_kmalloc mm/kasan/common.c:374 [inline] __kasan_kmalloc+0xa2/0xb0 mm/kasan/common.c:383 kmalloc include/linux/slab.h:599 [inline] dst_cow_metrics_generic+0x4c/0x1f0 net/core/dst.c:180 dst_metrics_write_ptr include/net/dst.h:133 [inline] dst_metric_set include/net/dst.h:194 [inline] icmp6_dst_alloc+0x4a2/0x620 net/ipv6/route.c:3276 ndisc_send_skb+0x100c/0x1430 net/ipv6/ndisc.c:489 ndisc_send_rs+0x133/0x690 net/ipv6/ndisc.c:719 addrconf_rs_timer+0x412/0x840 net/ipv6/addrconf.c:3973 call_timer_fn+0x1a0/0x580 kernel/time/timer.c:1700 expire_timers kernel/time/timer.c:1751 [inline] __run_timers+0x764/0xb10 kernel/time/timer.c:2022 run_timer_softirq+0x58/0xd0 kernel/time/timer.c:2035 __do_softirq+0x218/0x965 kernel/softirq.c:553 invoke_softirq kernel/softirq.c:427 [inline] __irq_exit_rcu kernel/softirq.c:632 [inline] irq_exit_rcu+0xb7/0x120 kernel/softirq.c:644 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1074 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:generic_exec_single+0xb4/0x380 kernel/smp.c:396 Code: c2 c4 51 0d 41 0f 92 c4 31 ff 44 89 e6 e8 d4 6f 0b 00 45 84 e4 0f 84 12 02 00 00 e8 96 74 0b 00 48 89 ee 89 df e8 ec fb ff ff <31> db e8 85 74 0b 00 89 d8 5b 5d 41 5c 41 5d 41 5e c3 e8 75 74 0b RSP: 0018:ffffc9000398fab0 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888026df9dc0 RSI: ffffffff817c5ef0 RDI: 0000000000000007 RBP: ffffc9000398fb60 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff81adc5c0 R13: ffffc9000398fc30 R14: ffffc9000398fb68 R15: ffff888026df9dd4 smp_call_function_single+0x1da/0x650 kernel/smp.c:636 task_function_call+0xe9/0x170 kernel/events/core.c:120 perf_install_in_context+0x2da/0x580 kernel/events/core.c:2871 __do_sys_perf_event_open+0x16c0/0x2b30 kernel/events/core.c:12673 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f65b2c7cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f65b39850c8 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 00007f65b2d9bf80 RCX: 00007f65b2c7cae9 RDX: ffefffffffffffff RSI: 0000000000000000 RDI: 0000000020000700 RBP: 00007f65b2cc847a R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f65b2d9bf80 R15: 00007ffdba39feb8 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 18984 Comm: kworker/u4:13 Not tainted 6.5.0-syzkaller-12676-g7182e56411b9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:rep_nop arch/x86/include/asm/vdso/processor.h:13 [inline] RIP: 0010:cpu_relax arch/x86/include/asm/vdso/processor.h:18 [inline] RIP: 0010:csd_lock_wait kernel/smp.c:300 [inline] RIP: 0010:smp_call_function_many_cond+0x4d4/0x1570 kernel/smp.c:844 Code: 72 88 0b 00 85 ed 74 4d 48 b8 00 00 00 00 00 fc ff df 4d 89 fc 4c 89 fd 49 c1 ec 03 83 e5 07 49 01 c4 83 c5 03 e8 dc 8c 0b 00 90 41 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 3c 0e 00 00 8b 43 RSP: 0018:ffffc900059d7928 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b9844180 RCX: 0000000000000000 RDX: ffff888062d65940 RSI: ffffffff817c44e4 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffed1017308831 R13: 0000000000000001 R14: ffff8880b993d8c0 R15: ffff8880b9844188 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f65b2d98000 CR3: 000000000c976000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1012 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1998 [inline] text_poke_bp_batch+0x2ce/0x960 arch/x86/kernel/alternative.c:2208 text_poke_flush arch/x86/kernel/alternative.c:2399 [inline] text_poke_flush arch/x86/kernel/alternative.c:2396 [inline] text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2406 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x32e/0x410 kernel/jump_label.c:829 static_key_disable_cpuslocked+0x154/0x1b0 kernel/jump_label.c:235 static_key_disable+0x1a/0x20 kernel/jump_label.c:243 toggle_allocation_gate mm/kfence/core.c:834 [inline] toggle_allocation_gate+0x13f/0x250 mm/kfence/core.c:821 process_one_work+0x887/0x15d0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8bb/0x1290 kernel/workqueue.c:2784 kthread+0x33a/0x430 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304