watchdog: BUG: soft lockup - CPU#0 stuck for 226s! [syz-executor.4:6846] Modules linked in: CPU: 0 PID: 6846 Comm: syz-executor.4 Not tainted 6.1.78-syzkaller-00021-g1a72e2f692ac #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:csd_lock_wait kernel/smp.c:453 [inline] RIP: 0010:smp_call_function_many_cond+0x851/0x930 kernel/smp.c:998 Code: 3e 44 89 fe 83 e6 01 31 ff e8 4b 9f 09 00 41 83 e7 01 49 bf 00 00 00 00 00 fc ff df 75 0a e8 86 9b 09 00 e9 2f ff ff ff f3 90 <42> 0f b6 04 3b 84 c0 75 14 41 f7 06 01 00 00 00 0f 84 12 ff ff ff RSP: 0018:ffffc90009c37440 EFLAGS: 00000246 RAX: ffffffff816bd89c RBX: 1ffff1103ee27705 RCX: 0000000000040000 RDX: ffffc900019ec000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc90009c37558 R08: ffffffff816bd865 R09: ffffed103ee0707b R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: 0000000800000000 R14: ffff8881f713b828 R15: dffffc0000000000 FS: 00007f166ac5d6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f126000 CR3: 0000000142da2000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: on_each_cpu_cond_mask+0x40/0x80 kernel/smp.c:1166 text_poke_bp_batch+0x68e/0x730 text_poke_bp+0xc8/0x140 arch/x86/kernel/alternative.c:1766 __static_call_transform+0x333/0x560 arch/x86/kernel/static_call.c:109 arch_static_call_transform+0x7c/0xa0 arch/x86/kernel/static_call.c:166 __static_call_update+0x37f/0x5c0 kernel/static_call_inline.c:198 tracepoint_update_call kernel/tracepoint.c:317 [inline] tracepoint_add_func+0x873/0x940 kernel/tracepoint.c:358 tracepoint_probe_register_prio_may_exist+0x11c/0x180 kernel/tracepoint.c:482 tracepoint_probe_register_may_exist include/linux/tracepoint.h:52 [inline] __bpf_probe_register kernel/trace/bpf_trace.c:2340 [inline] bpf_probe_register+0x152/0x1e0 kernel/trace/bpf_trace.c:2346 bpf_raw_tp_link_attach+0x456/0x6b0 kernel/bpf/syscall.c:3352 bpf_raw_tracepoint_open+0x22d/0x4a0 kernel/bpf/syscall.c:3379 __sys_bpf+0x4f5/0x7f0 kernel/bpf/syscall.c:5029 __do_sys_bpf kernel/bpf/syscall.c:5091 [inline] __se_sys_bpf kernel/bpf/syscall.c:5089 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5089 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f1669e7d0a9 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:00007f166ac5d0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f1669fb3f80 RCX: 00007f1669e7d0a9 RDX: 0000000000000010 RSI: 0000000020000080 RDI: 0000000000000011 RBP: 00007f1669eec074 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f1669fb3f80 R15: 00007ffdbe757c98 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 6832 Comm: syz-executor.0 Not tainted 6.1.78-syzkaller-00021-g1a72e2f692ac #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:native_halt arch/x86/include/asm/irqflags.h:57 [inline] RIP: 0010:halt arch/x86/include/asm/irqflags.h:98 [inline] RIP: 0010:kvm_wait+0x117/0x180 arch/x86/kernel/kvm.c:1058 Code: 48 c1 e8 03 42 0f b6 04 20 84 c0 44 8b 74 24 1c 75 53 41 0f b6 45 00 44 38 f0 0f 85 63 ff ff ff 66 90 0f 00 2d 0a 13 31 04 f4 54 ff ff ff fa 4c 89 e8 48 c1 e8 03 42 0f b6 04 20 84 c0 44 8b RSP: 0018:ffffc900007be500 EFLAGS: 00000046 RAX: 0000000000000003 RBX: 1ffff920000f7ca4 RCX: ffffffff8500688c RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffffc90000bb7080 RBP: ffffc900007be5b0 R08: dffffc0000000000 R09: fffff52000176e11 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffffc90000bb7080 R14: 0000000000000003 R15: 1ffff920000f7ca8 FS: 00007ff6070a06c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020661000 CR3: 000000012bb48000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: pv_wait arch/x86/include/asm/paravirt.h:603 [inline] pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline] __pv_queued_spin_lock_slowpath+0x6de/0xda0 kernel/locking/qspinlock.c:511 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:591 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock include/linux/spinlock.h:186 [inline] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:111 [inline] _raw_spin_lock_irqsave+0x1a0/0x210 kernel/locking/spinlock.c:162 __bpf_ringbuf_reserve+0x1c5/0x3d0 kernel/bpf/ringbuf.c:410 ____bpf_ringbuf_output kernel/bpf/ringbuf.c:520 [inline] bpf_ringbuf_output+0x66/0x1f0 kernel/bpf/ringbuf.c:510 bpf_prog_7bf929eaf7943e2f+0x42/0x46 bpf_dispatcher_nop_func include/linux/bpf.h:987 [inline] __bpf_prog_run include/linux/filter.h:600 [inline] bpf_prog_run include/linux/filter.h:607 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2275 [inline] bpf_trace_run2+0x133/0x290 kernel/trace/bpf_trace.c:2314 __bpf_trace_contention_end+0xb/0x10 include/trace/events/lock.h:122 trace_contention_end include/trace/events/lock.h:122 [inline] __pv_queued_spin_lock_slowpath+0xd59/0xda0 kernel/locking/qspinlock.c:560 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:591 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock include/linux/spinlock.h:186 [inline] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:111 [inline] _raw_spin_lock_irqsave+0x1a0/0x210 kernel/locking/spinlock.c:162 __bpf_ringbuf_reserve+0x1c5/0x3d0 kernel/bpf/ringbuf.c:410 ____bpf_ringbuf_output kernel/bpf/ringbuf.c:520 [inline] bpf_ringbuf_output+0x66/0x1f0 kernel/bpf/ringbuf.c:510 bpf_prog_7bf929eaf7943e2f+0x42/0x46 bpf_dispatcher_nop_func include/linux/bpf.h:987 [inline] __bpf_prog_run include/linux/filter.h:600 [inline] bpf_prog_run include/linux/filter.h:607 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2275 [inline] bpf_trace_run2+0x133/0x290 kernel/trace/bpf_trace.c:2314 __bpf_trace_tlb_flush+0x23/0x30 include/trace/events/tlb.h:38 __traceiter_tlb_flush+0x77/0xd0 include/trace/events/tlb.h:38 trace_tlb_flush include/trace/events/tlb.h:38 [inline] flush_tlb_func+0x526/0x540 arch/x86/mm/tlb.c:875 flush_tlb_mm_range+0x2b3/0x360 arch/x86/mm/tlb.c:1014 flush_tlb_page arch/x86/include/asm/tlbflush.h:240 [inline] ptep_clear_flush+0x115/0x150 mm/pgtable-generic.c:98 wp_page_copy+0xca9/0x1690 mm/memory.c:3249 do_wp_page+0xc25/0xdf0 handle_pte_fault mm/memory.c:5119 [inline] __handle_mm_fault mm/memory.c:5243 [inline] handle_mm_fault+0x15a2/0x2f40 mm/memory.c:5383 do_user_addr_fault arch/x86/mm/fault.c:1414 [inline] handle_page_fault arch/x86/mm/fault.c:1506 [inline] exc_page_fault+0x24d/0x700 arch/x86/mm/fault.c:1562 asm_exc_page_fault+0x27/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0010:copy_user_enhanced_fast_string+0xa/0x40 arch/x86/lib/copy_user_64.S:166 Code: ff c9 75 f2 89 d1 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 31 c0 0f 01 ca c3 8d 0c ca 89 ca eb 20 0f 01 cb 83 fa 40 72 38 89 d1 a4 31 c0 0f 01 ca c3 89 ca eb 0a 66 2e 0f 1f 84 00 00 00 00 00 RSP: 0018:ffffc900007bf4e8 EFLAGS: 00050206 RAX: ffffffff82744201 RBX: 00007fffffff7000 RCX: 00000000000071c0 RDX: 0000000000008000 RSI: ffff8881280a8e40 RDI: 0000000020661000 RBP: ffffc900007bf510 R08: dffffc0000000000 R09: ffffed1025016000 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000008000 R13: dffffc0000000000 R14: 00000000206601c0 R15: ffff8881280a8000 _copy_to_iter+0x3dc/0xe10 lib/iov_iter.c:527 copy_to_iter include/linux/uio.h:179 [inline] simple_copy_to_iter+0x50/0x70 net/core/datagram.c:513 __skb_datagram_iter+0x2e5/0x780 net/core/datagram.c:442 skb_copy_datagram_iter+0x43/0x180 net/core/datagram.c:527 skb_copy_datagram_msg include/linux/skbuff.h:3931 [inline] unix_stream_read_actor+0x70/0xb0 net/unix/af_unix.c:2937 unix_stream_read_generic+0xbe6/0x2380 net/unix/af_unix.c:2856 unix_stream_recvmsg+0x222/0x2b0 net/unix/af_unix.c:2974 ____sys_recvmsg+0x285/0x530 ___sys_recvmsg net/socket.c:2765 [inline] __sys_recvmsg+0x2e9/0x3d0 net/socket.c:2795 __do_sys_recvmsg net/socket.c:2805 [inline] __se_sys_recvmsg net/socket.c:2802 [inline] __x64_sys_recvmsg+0x7f/0x90 net/socket.c:2802 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7ff60627d0a9 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:00007ff6070a00c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002f RAX: ffffffffffffffda RBX: 00007ff6063b3f80 RCX: 00007ff60627d0a9 RDX: 0000000040000100 RSI: 0000000020001140 RDI: 000000000000000b RBP: 00007ff6062ec074 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff6063b3f80 R15: 00007ffe38020228