watchdog: BUG: soft lockup - CPU#0 stuck for 226s! [kworker/u4:3:7337] Modules linked in: CPU: 0 PID: 7337 Comm: kworker/u4:3 Tainted: G W 5.15.149-syzkaller-00055-g424f92bcbe8f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:__sanitizer_cov_trace_pc+0x1/0x60 kernel/kcov.c:190 Code: 00 00 0f 0b 0f 1f 44 00 00 55 48 89 e5 53 48 89 fb e8 13 00 00 00 48 8b 3d b4 1d 96 05 48 89 de e8 94 74 41 00 5b 5d c3 cc 55 <48> 89 e5 48 8b 45 08 65 48 8b 0d 10 37 92 7e 65 8b 15 11 37 92 7e RSP: 0018:ffffc90000d97870 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 1ffff1103ee276cd RCX: ffff88811f150000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90000d97998 R08: ffffffff8165919a R09: ffffed103ee07053 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: ffff8881f713b668 R14: ffff8881f7038280 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5d9f78d000 CR3: 000000000680f000 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] text_poke_sync arch/x86/kernel/alternative.c:1196 [inline] text_poke_bp_batch+0x1c4/0x5d0 arch/x86/kernel/alternative.c:1387 text_poke_flush arch/x86/kernel/alternative.c:1555 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:1562 arch_jump_label_transform_apply+0x15/0x30 arch/x86/kernel/jump_label.c:146 __jump_label_update+0x36a/0x380 kernel/jump_label.c:459 jump_label_update+0x3af/0x450 kernel/jump_label.c:830 static_key_enable_cpuslocked+0x12f/0x250 kernel/jump_label.c:177 static_key_enable+0x1a/0x30 kernel/jump_label.c:190 toggle_allocation_gate+0xbf/0x460 mm/kfence/core.c:729 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: 11080 Comm: syz-fuzzer Tainted: G W 5.15.149-syzkaller-00055-g424f92bcbe8f #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: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 8a 03 f3 03 f4 54 ff ff ff fa 4c 89 e8 48 c1 e8 03 42 0f b6 04 20 84 c0 44 8b RSP: 0018:ffffc900001d05e0 EFLAGS: 00000046 RAX: 0000000000000003 RBX: 1ffff9200003a0c0 RCX: ffffffff8154fa7f RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff88810ef0e040 RBP: ffffc900001d0690 R08: dffffc0000000000 R09: ffffed1021de1c09 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff88810ef0e040 R14: 0000000000000003 R15: 1ffff9200003a0c4 FS: 000000c000657890(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ce27000 CR3: 000000011ed7f000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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:827 ____bpf_send_signal kernel/trace/bpf_trace.c:832 [inline] bpf_send_signal+0x19/0x20 kernel/trace/bpf_trace.c:830 bpf_prog_8cc4ff36b5985b6a+0x15/0xac0 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:1883 [inline] bpf_trace_run3+0x11e/0x250 kernel/trace/bpf_trace.c:1921 __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 radix_tree_node_rcu_free+0x72/0x80 lib/radix-tree.c:302 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_2c29ac5cdc6b1842+0x3a/0xd80 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:1883 [inline] bpf_trace_run3+0x11e/0x250 kernel/trace/bpf_trace.c:1921 __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:0x40720e Code: 48 83 ec 38 e8 13 00 00 00 48 83 c4 38 5d c3 cc cc cc cc cc cc cc cc cc cc cc cc cc 49 89 f2 48 89 fa 48 89 ce 48 89 df 0f 05 <48> 3d 01 f0 ff ff 76 15 48 f7 d8 48 89 c1 48 c7 c0 ff ff ff ff 48 RSP: 002b:000000c000e93d08 EFLAGS: 00000202 ORIG_RAX: 00000000000000f7 RAX: fffffffffffffe00 RBX: 0000000000000001 RCX: 000000000040720e RDX: 000000c000e93e18 RSI: 0000000000005792 RDI: 0000000000000001 RBP: 000000c000e93d48 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000001000004 R11: 0000000000000202 R12: 000000c000e93e60 R13: 0000000000075fda R14: 000000c0000851e0 R15: 000000c001f9e000