watchdog: BUG: soft lockup - CPU#0 stuck for 123s! [syz.4.25:5984] Modules linked in: irq event stamp: 10695723 hardirqs last enabled at (10695722): [] irqentry_exit+0x63/0x90 kernel/entry/common.c:357 hardirqs last disabled at (10695723): [] sysvec_apic_timer_interrupt+0xe/0xc0 arch/x86/kernel/apic/apic.c:1049 softirqs last enabled at (10604980): [] __do_softirq kernel/softirq.c:588 [inline] softirqs last enabled at (10604980): [] invoke_softirq kernel/softirq.c:428 [inline] softirqs last enabled at (10604980): [] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 softirqs last disabled at (10604983): [] __do_softirq kernel/softirq.c:588 [inline] softirqs last disabled at (10604983): [] invoke_softirq kernel/softirq.c:428 [inline] softirqs last disabled at (10604983): [] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 CPU: 0 UID: 0 PID: 5984 Comm: syz.4.25 Not tainted 6.12.0-rc4-syzkaller-gf2daa5a577e9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:fib6_check_expired include/net/ip6_fib.h:270 [inline] RIP: 0010:__find_rr_leaf+0x195/0x8e0 net/ipv6/route.c:806 Code: 00 e8 df 3e 28 f7 eb 05 e8 d8 3e 28 f7 49 8d 5c 24 64 49 89 dd 49 c1 ed 03 43 0f b6 44 3d 00 84 c0 0f 85 3e 04 00 00 44 8b 33 <44> 89 f6 81 e6 00 00 40 00 31 ff e8 eb 42 28 f7 44 89 f0 25 00 00 RSP: 0018:ffffc90000006fe0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff888024a8ec64 RCX: ffff888032be0000 RDX: 0000000000000100 RSI: 0000000000000100 RDI: 0000000000000100 RBP: ffffc90000007158 R08: ffffffff8a6c98d3 R09: ffffc90000007290 R10: ffffc90000007280 R11: fffff52000000e1e R12: ffff888024a8ec00 R13: 1ffff11004951d8c R14: 0000000000000001 R15: dffffc0000000000 FS: 00007f10e8eda6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f75853062d8 CR3: 000000002a0b4000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: find_rr_leaf net/ipv6/route.c:853 [inline] rt6_select net/ipv6/route.c:897 [inline] fib6_table_lookup+0x413/0xbb0 net/ipv6/route.c:2195 ip6_pol_route+0x273/0x15d0 net/ipv6/route.c:2231 pol_lookup_func include/net/ip6_fib.h:616 [inline] fib6_rule_lookup+0x58c/0x790 net/ipv6/fib6_rules.c:117 ip6_route_input_lookup net/ipv6/route.c:2300 [inline] ip6_route_input+0x859/0xd90 net/ipv6/route.c:2596 ip6_rcv_finish+0x144/0x180 net/ipv6/ip6_input.c:77 NF_HOOK+0x3a4/0x450 include/linux/netfilter.h:314 __netif_receive_skb_one_core net/core/dev.c:5666 [inline] __netif_receive_skb+0x1ea/0x650 net/core/dev.c:5779 process_backlog+0x662/0x15b0 net/core/dev.c:6111 __napi_poll+0xcb/0x490 net/core/dev.c:6775 napi_poll net/core/dev.c:6844 [inline] net_rx_action+0x89b/0x1240 net/core/dev.c:6966 handle_softirqs+0x2c5/0x980 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 irq_exit_rcu+0x9/0x30 kernel/softirq.c:649 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:27 [inline] RIP: 0010:static_key_false include/linux/jump_label.h:207 [inline] RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:149 [inline] RIP: 0010:wrmsrl arch/x86/include/asm/msr.h:264 [inline] RIP: 0010:native_x2apic_icr_write arch/x86/include/asm/apic.h:233 [inline] RIP: 0010:__x2apic_send_IPI_dest arch/x86/kernel/apic/x2apic_phys.c:113 [inline] RIP: 0010:x2apic_send_IPI+0x7a/0xe0 arch/x86/kernel/apic/x2apic_phys.c:50 Code: d8 48 c1 e8 03 42 0f b6 04 38 84 c0 75 29 8b 13 0f ae f0 0f ae e8 41 83 fe 02 b8 00 04 00 00 41 0f 45 c6 b9 30 08 00 00 0f 30 <66> 90 5b 41 5e 41 5f 5d c3 cc cc cc cc 89 d9 80 e1 07 80 c1 03 38 RSP: 0018:ffffc90004717558 EFLAGS: 00000206 RAX: 00000000000000fb RBX: ffff8880b8721168 RCX: 0000000000000830 RDX: 0000000000000001 RSI: 00000000000000fb RDI: 0000000000000001 RBP: ffffffff8e31fa58 R08: ffffffff8188e2ca R09: 1ffffffff2039fe5 R10: dffffc0000000000 R11: ffffffff813ed230 R12: dffffc0000000000 R13: ffff8880b863fcc0 R14: 00000000000000fb R15: dffffc0000000000 arch_send_call_function_single_ipi arch/x86/include/asm/smp.h:94 [inline] send_call_function_single_ipi kernel/smp.c:118 [inline] smp_call_function_many_cond+0x15c6/0x2ca0 kernel/smp.c:866 on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1051 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2085 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2295 text_poke_flush arch/x86/kernel/alternative.c:2486 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2493 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 tracepoint_add_func+0x953/0x9e0 kernel/tracepoint.c:361 tracepoint_probe_register_prio kernel/tracepoint.c:511 [inline] tracepoint_probe_register+0x105/0x160 kernel/tracepoint.c:531 perf_trace_event_reg kernel/trace/trace_event_perf.c:129 [inline] perf_trace_event_init+0x478/0x930 kernel/trace/trace_event_perf.c:202 perf_trace_init+0x243/0x2e0 kernel/trace/trace_event_perf.c:226 perf_tp_event_init+0x8d/0x110 kernel/events/core.c:10357 perf_try_init_event+0x146/0x810 kernel/events/core.c:11891 perf_init_event kernel/events/core.c:11977 [inline] perf_event_alloc+0x135f/0x2310 kernel/events/core.c:12259 __do_sys_perf_event_open kernel/events/core.c:12766 [inline] __se_sys_perf_event_open+0xb1f/0x3870 kernel/events/core.c:12657 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f10e817e719 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f10e8eda038 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 00007f10e8335f80 RCX: 00007f10e817e719 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000040 RBP: 00007f10e81f139e R08: 0000000000000001 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f10e8335f80 R15: 00007ffc13ed3588 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 5982 Comm: syz.0.23 Not tainted 6.12.0-rc4-syzkaller-gf2daa5a577e9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:constant_test_bit arch/x86/include/asm/bitops.h:206 [inline] RIP: 0010:arch_test_bit arch/x86/include/asm/bitops.h:238 [inline] RIP: 0010:tif_need_resched include/linux/thread_info.h:184 [inline] RIP: 0010:tracing_gen_ctx_irq_test+0x95/0x150 kernel/trace/trace.c:2543 Code: 04 83 e0 10 09 e8 89 c5 81 cd 80 00 00 00 44 89 e6 81 e6 00 fe 00 00 0f 44 e8 31 ff e8 24 96 fb ff 65 48 8b 1c 25 00 d8 03 00 <48> 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 35 66 65 00 RSP: 0018:ffffc90004646b88 EFLAGS: 00000097 RAX: 0000000000000002 RBX: ffff88802aa7bc00 RCX: ffff88802aa7bc00 RDX: ffff88802aa7bc00 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffffffff819945dc R09: 0000000000000000 R10: ffffc90004646d80 R11: fffff520008c8dd0 R12: 0000000080000002 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000001 FS: 00007f472bf2f6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9c50467d60 CR3: 0000000030f8a000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: tracing_gen_ctx_flags include/linux/trace_events.h:201 [inline] tracing_gen_ctx include/linux/trace_events.h:208 [inline] perf_trace_buf_update+0xbd/0x230 kernel/trace/trace_event_perf.c:423 perf_tp_event+0x2ab/0x22c0 kernel/events/core.c:10481 perf_trace_run_bpf_submit+0x100/0x180 kernel/events/core.c:10421 perf_trace_preemptirq_template+0x2d2/0x3f0 include/trace/events/preemptirq.h:14 trace_irq_enable+0xf1/0x120 include/trace/events/preemptirq.h:40 trace_hardirqs_on+0x18/0x40 kernel/trace/trace_preemptirq.c:56 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] _raw_spin_unlock_irqrestore+0x8f/0x140 kernel/locking/spinlock.c:194 debug_object_activate+0x3e4/0x510 lib/debugobjects.c:726 debug_rcu_head_queue kernel/rcu/rcu.h:224 [inline] kvfree_call_rcu+0x99/0x790 kernel/rcu/tree.c:3801 sctp_bind_addr_clean net/sctp/bind_addr.c:131 [inline] sctp_bind_addr_free+0x135/0x180 net/sctp/bind_addr.c:140 sctp_association_free+0x28c/0x7b0 net/sctp/associola.c:356 sctp_cmd_delete_tcb net/sctp/sm_sideeffect.c:944 [inline] sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1330 [inline] sctp_side_effects net/sctp/sm_sideeffect.c:1198 [inline] sctp_do_sm+0x4393/0x60c0 net/sctp/sm_sideeffect.c:1169 sctp_assoc_bh_rcv+0x3f1/0x640 net/sctp/associola.c:1051 sctp_backlog_rcv+0x177/0x3f0 net/sctp/input.c:331 sk_backlog_rcv include/net/sock.h:1115 [inline] __release_sock+0x243/0x350 net/core/sock.c:3072 release_sock+0x61/0x1f0 net/core/sock.c:3626 sctp_sendmsg+0x21e2/0x3520 net/sctp/socket.c:2036 sock_sendmsg_nosec net/socket.c:729 [inline] __sock_sendmsg+0x1a6/0x270 net/socket.c:744 ____sys_sendmsg+0x52a/0x7e0 net/socket.c:2607 ___sys_sendmsg net/socket.c:2661 [inline] __sys_sendmsg+0x292/0x380 net/socket.c:2690 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f472b17e719 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f472bf2f038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f472b335f80 RCX: 00007f472b17e719 RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000004 RBP: 00007f472b1f139e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f472b335f80 R15: 00007ffd61ebecf8