watchdog: BUG: soft lockup - CPU#0 stuck for 225s! [kworker/0:3:312] Modules linked in: CPU: 0 PID: 312 Comm: kworker/0:3 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 bpf_prog_free_deferred RIP: 0010:csd_lock_wait kernel/smp.c:440 [inline] RIP: 0010:smp_call_function_many_cond+0x848/0x9b0 kernel/smp.c:969 Code: 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 0a 00 eb e4 44 RSP: 0018:ffffc900055c7880 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 1ffff1103ee2784d RCX: ffff888124c83b40 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900055c7988 R08: ffffffff81659daa R09: ffffc900055c77c0 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: ffff8881f713c268 R14: ffff8881f7038e80 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000100000000 CR3: 000000010cd9a000 CR4: 00000000003506b0 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 __purge_vmap_area_lazy+0x230/0x1690 mm/vmalloc.c:1694 _vm_unmap_aliases+0x339/0x3b0 mm/vmalloc.c:2118 vm_remove_mappings mm/vmalloc.c:2611 [inline] __vunmap+0x617/0x8f0 mm/vmalloc.c:2642 __vfree mm/vmalloc.c:2700 [inline] vfree+0x7f/0xb0 mm/vmalloc.c:2731 module_memfree+0x17/0x30 kernel/module.c:2150 bpf_jit_free_exec+0x15/0x20 kernel/bpf/core.c:867 bpf_jit_binary_free kernel/bpf/core.c:914 [inline] bpf_jit_free+0x98/0x240 kernel/bpf/core.c:927 bpf_prog_free_deferred+0x61e/0x730 kernel/bpf/core.c:2296 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 290 Comm: syz-executor 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: 0018:ffffc900001d09a0 EFLAGS: 00000046 RAX: 0000000000000003 RBX: 1ffff9200003a138 RCX: ffffffff8155068f RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff88810aa7bd40 RBP: ffffc900001d0a50 R08: dffffc0000000000 R09: ffffed102154f7a9 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff88810aa7bd40 R14: 0000000000000003 R15: 1ffff9200003a13c FS: 0000555555bee500(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2de0dff8 CR3: 00000001219a2000 CR4: 00000000003506a0 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 do_bpf_send_signal+0x8c/0x150 kernel/trace/bpf_trace.c:779 irq_work_single kernel/irq_work.c:155 [inline] irq_work_run_list+0x1c2/0x290 kernel/irq_work.c:177 irq_work_run+0x69/0xf0 kernel/irq_work.c:186 __sysvec_irq_work+0x63/0x1b0 arch/x86/kernel/irq_work.c:22 sysvec_irq_work+0x41/0xb0 arch/x86/kernel/irq_work.c:17 asm_sysvec_irq_work+0x1b/0x20 arch/x86/include/asm/idtentry.h:664 RIP: 0010:ffs arch/x86/include/asm/bitops.h:297 [inline] RIP: 0010:__do_softirq+0x10e/0x5bf kernel/softirq.c:553 Code: a0 21 48 85 e8 83 3d bf ff 65 66 c7 05 09 6f e3 7a 00 00 48 c7 c7 a0 21 48 85 e8 6d 3d bf ff 65 89 1d ee 70 e2 7a fb 89 5d b8 ff ff ff ff 0f bc 45 b8 41 89 c4 41 ff c4 0f 85 c5 00 00 00 48 RSP: 0018:ffffc900001d0f70 EFLAGS: 00000286 RAX: 0000000000000001 RBX: 0000000000000200 RCX: ffff88811c3f4f00 RDX: 1ffffffff0e98a08 RSI: ffffffff854821a0 RDI: ffffffff85a312a0 RBP: ffffc900001d0fe8 R08: ffffffff874c5040 R09: ffffffff874c5048 R10: ffffffff874c5058 R11: ffffffff874c5050 R12: ffff88811c3f4f00 R13: dffffc0000000000 R14: 0000000000400140 R15: dffffc0000000000 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/0x288 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] collect_signal kernel/signal.c:601 [inline] __dequeue_signal+0x4f8/0x600 kernel/signal.c:623 dequeue_signal+0x10c/0x520 kernel/signal.c:643 get_signal+0x7cf/0x1630 kernel/signal.c:2777 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 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x26/0x160 kernel/entry/common.c:301 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f306274e9a3 Code: 1f 84 00 00 00 00 00 83 ff 03 74 7b 83 ff 02 b8 fa ff ff ff 49 89 ca 0f 44 f8 80 3d 9e db 12 00 00 74 14 b8 e6 00 00 00 0f 05 d8 c3 66 2e 0f 1f 84 00 00 00 00 00 48 83 ec 28 48 89 54 24 10 RSP: 002b:00007fffddd8e218 EFLAGS: 00000202 ORIG_RAX: 00000000000000e6 RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f306274e9a3 RDX: 00007fffddd8e230 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007fffddd8e28c R08: 00007fffdddaf080 R09: 00007fffdddaf0b0 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000032 R13: 0000000000005fd5 R14: 0000000000005c7f R15: 00007fffddd8e2e0