watchdog: BUG: soft lockup - CPU#1 stuck for 246s! [kworker/1:60:1142] Modules linked in: CPU: 1 PID: 1142 Comm: kworker/1:60 Not tainted 5.15.152-syzkaller-00143-g70e1a731d986 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Workqueue: events pcpu_balance_workfn RIP: 0010:csd_lock_wait kernel/smp.c:440 [inline] RIP: 0010:smp_call_function_many_cond+0x843/0x9b0 kernel/smp.c:969 Code: 45 8b 7d 00 44 89 fe 83 e6 01 31 ff e8 76 a8 0a 00 41 83 e7 01 49 bf 00 00 00 00 00 fc ff df 75 07 e8 b1 a4 0a 00 eb 38 f3 90 <42> 0f b6 04 3b 84 c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 95 a4 RSP: 0018:ffffc900014d7b20 EFLAGS: 00000293 RAX: ffffffff81659ddb RBX: 1ffff1103ee07af1 RCX: ffff88811343e2c0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900014d7c28 R08: ffffffff81659daa R09: ffffc900014d7a60 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffff8881f703d788 R14: ffff8881f7138e80 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffa2d026ef8 CR3: 0000000127d80000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x40/0x80 kernel/smp.c:1135 on_each_cpu include/linux/smp.h:71 [inline] flush_tlb_kernel_range+0x49/0x210 arch/x86/mm/tlb.c:1026 pcpu_post_unmap_tlb_flush mm/percpu-vm.c:188 [inline] pcpu_reclaim_populated mm/percpu.c:2211 [inline] pcpu_balance_workfn+0x577/0xee0 mm/percpu.c:2247 process_one_work+0x6bb/0xc10 kernel/workqueue.c:2325 worker_thread+0xad5/0x12a0 kernel/workqueue.c:2472 kthread+0x421/0x510 kernel/kthread.c:337 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 1717 Comm: syz.3.359 Not tainted 5.15.152-syzkaller-00143-g70e1a731d986 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/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:912 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 5a 02 13 04 f4 54 ff ff ff fa 4c 89 e8 48 c1 e8 03 42 0f b6 04 20 84 c0 44 8b RSP: 0000:ffffc90000007600 EFLAGS: 00000046 RAX: 0000000000000003 RBX: 1ffff92000000ec4 RCX: ffffffff8155068f RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff88811bfd8000 RBP: ffffc900000076b0 R08: dffffc0000000000 R09: ffffed10237fb001 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff88811bfd8000 R14: 0000000000000003 R15: 1ffff92000000ec8 FS: 00007f8fff6706c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8fff672000 CR3: 0000000127004000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: pv_wait arch/x86/include/asm/paravirt.h:597 [inline] pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline] __pv_queued_spin_lock_slowpath+0x6bc/0xc40 kernel/locking/qspinlock.c:508 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:585 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:85 [inline] do_raw_spin_lock_flags include/linux/spinlock.h:199 [inline] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irqsave+0x1a0/0x210 kernel/locking/spinlock.c:162 __lock_task_sighand kernel/signal.c:1413 [inline] lock_task_sighand include/linux/sched/signal.h:710 [inline] do_send_sig_info+0x7e/0x230 kernel/signal.c:1302 group_send_sig_info+0x113/0x460 kernel/signal.c:1451 bpf_send_signal_common+0x2d8/0x420 kernel/trace/bpf_trace.c:824 ____bpf_send_signal kernel/trace/bpf_trace.c:829 [inline] bpf_send_signal+0x19/0x20 kernel/trace/bpf_trace.c:827 bpf_prog_8cc4ff36b5985b6a+0x15/0x52c bpf_dispatcher_nop_func include/linux/bpf.h:785 [inline] __bpf_prog_run include/linux/filter.h:625 [inline] bpf_prog_run include/linux/filter.h:632 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:1880 [inline] bpf_trace_run3+0x11e/0x250 kernel/trace/bpf_trace.c:1918 __bpf_trace_kmem_cache_free+0x99/0xc0 include/trace/events/kmem.h:138 __traceiter_kmem_cache_free+0x32/0x50 include/trace/events/kmem.h:138 trace_kmem_cache_free include/trace/events/kmem.h:138 [inline] kmem_cache_free+0x2c3/0x2e0 mm/slub.c:3536 free_event_rcu+0x6c/0x80 kernel/events/core.c:4847 rcu_do_batch+0x57a/0xc10 kernel/rcu/tree.c:2523 rcu_core+0x517/0x1020 kernel/rcu/tree.c:2763 rcu_core_si+0x9/0x10 kernel/rcu/tree.c:2776 __do_softirq+0x26d/0x5bf kernel/softirq.c:565 do_softirq+0xf6/0x150 kernel/softirq.c:452 __local_bh_enable_ip+0x75/0x80 kernel/softirq.c:379 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:176 [inline] _raw_spin_unlock_bh+0x51/0x60 kernel/locking/spinlock.c:210 sock_hash_delete_elem+0x2a2/0x2f0 net/core/sock_map.c:945 bpf_prog_586ab708469db861+0x41/0x160 bpf_dispatcher_nop_func include/linux/bpf.h:785 [inline] __bpf_prog_run include/linux/filter.h:625 [inline] bpf_prog_run include/linux/filter.h:632 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:1880 [inline] bpf_trace_run3+0x11e/0x250 kernel/trace/bpf_trace.c:1918 __bpf_trace_kmem_cache_free+0x99/0xc0 include/trace/events/kmem.h:138 __traceiter_kmem_cache_free+0x32/0x50 include/trace/events/kmem.h:138 trace_kmem_cache_free include/trace/events/kmem.h:138 [inline] kmem_cache_free+0x2c3/0x2e0 mm/slub.c:3536 __sigqueue_free kernel/signal.c:462 [inline] dequeue_synchronous_signal kernel/signal.c:749 [inline] get_signal+0xd32/0x1630 kernel/signal.c:2775 arch_do_signal_or_restart+0xbd/0x1680 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop+0xa0/0xe0 kernel/entry/common.c:172 exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:208 irqentry_exit_to_user_mode+0x9/0x20 kernel/entry/common.c:314 irqentry_exit+0x12/0x40 kernel/entry/common.c:405 exc_page_fault+0x47a/0x830 arch/x86/mm/fault.c:1608 asm_exc_page_fault+0x27/0x30 arch/x86/include/asm/idtentry.h:568 RIP: 0033:0x7f9000b256a7 Code: c4 0f 85 83 03 00 00 48 8b 04 24 89 5c 24 14 c6 80 d0 00 00 00 01 80 3d 42 e0 de 00 00 74 12 48 8b 04 24 48 8b 80 a8 00 00 00 <48> c7 00 00 00 00 00 48 8b 1c 24 48 c7 83 88 00 00 00 ff ff ff ff RSP: 002b:00007f8fff670060 EFLAGS: 00010202 RAX: 00007f8fff672000 RBX: 0000000000000003 RCX: 00007f9000cc5c58 RDX: 0000000000005e8a RSI: 0000000000000090 RDI: 00007f9000ce9583 RBP: 00007f9000cc38ee R08: 00007ffd31935080 R09: 00007ffd319350b0 R10: 0000000000007c6a R11: 00000000000000ad R12: 0000000000000000 R13: 0000000000000001 R14: 00007f9000de4208 R15: 00007ffd318879c8