kthread+0x34b/0x3d0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 watchdog: BUG: soft lockup - CPU#1 stuck for 123s! [syz.2.2415:8464] Modules linked in: CPU: 1 PID: 8464 Comm: syz.2.2415 Tainted: G W 5.10.226-syzkaller-00031-gb14940b90491 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:csd_lock_wait kernel/smp.c:229 [inline] RIP: 0010:smp_call_function_single+0x27d/0x510 kernel/smp.c:517 Code: 00 44 8b 6c 24 48 44 89 ee 83 e6 01 31 ff e8 fa ed 0a 00 41 83 e5 01 75 0a e8 3f ea 0a 00 e9 eb 00 00 00 f3 90 42 0f b6 04 23 <84> c0 75 15 f7 44 24 48 01 00 00 00 0f 84 cd 00 00 00 e8 1c ea 0a RSP: 0018:ffffc90000f17800 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 1ffff920001e2f09 RCX: ffff88813611cf00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90000f178f0 R08: ffffffff815fc2a6 R09: ffffed103ee0aec9 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 0000000000000001 R14: ffffc90000f17848 R15: 0000000000000000 FS: 0000555582003500(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c2d2993 CR3: 000000011ec39000 CR4: 00000000003506a0 DR0: 0000000020000300 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: smp_call_function_many_cond+0x94e/0xa30 kernel/smp.c:653 smp_call_function_many kernel/smp.c:716 [inline] smp_call_function kernel/smp.c:738 [inline] on_each_cpu+0xa8/0x1a0 kernel/smp.c:837 text_poke_sync arch/x86/kernel/alternative.c:1318 [inline] text_poke_bp_batch+0x1d4/0x600 arch/x86/kernel/alternative.c:1509 text_poke_flush arch/x86/kernel/alternative.c:1677 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:1684 arch_jump_label_transform_apply+0x15/0x30 arch/x86/kernel/jump_label.c:126 __jump_label_update+0x36a/0x380 kernel/jump_label.c:459 jump_label_update+0x379/0x400 kernel/jump_label.c:825 static_key_disable_cpuslocked+0xcd/0x1b0 kernel/jump_label.c:207 static_key_disable+0x1a/0x30 kernel/jump_label.c:215 tracepoint_remove_func kernel/tracepoint.c:438 [inline] tracepoint_probe_unregister+0x6e0/0x9e0 kernel/tracepoint.c:572 bpf_probe_unregister+0x61/0x70 kernel/trace/bpf_trace.c:2135 bpf_raw_tp_link_release+0x63/0x90 kernel/bpf/syscall.c:2762 bpf_link_free kernel/bpf/syscall.c:2356 [inline] bpf_link_put+0x1fd/0x280 kernel/bpf/syscall.c:2382 bpf_link_release+0x3b/0x40 kernel/bpf/syscall.c:2390 __fput+0x33d/0x7b0 fs/file_table.c:281 ____fput+0x15/0x20 fs/file_table.c:314 task_work_run+0x129/0x190 kernel/task_work.c:189 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_user_mode_loop+0xbf/0xd0 kernel/entry/common.c:172 exit_to_user_mode_prepare kernel/entry/common.c:199 [inline] syscall_exit_to_user_mode+0xa2/0x1a0 kernel/entry/common.c:274 do_syscall_64+0x40/0x70 arch/x86/entry/common.c:56 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f20d0f53819 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:00007ffdd83d6ff8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f20d110cba0 RCX: 00007f20d0f53819 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f20d110cba0 R08: 0000000000000060 R09: 00007ffdd83d72ef R10: 00007f20d110cac0 R11: 0000000000000246 R12: 000000000002e85f R13: 00007ffdd83d7100 R14: 0000000000000032 R15: ffffffffffffffff Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 8465 Comm: syz.2.2415 Tainted: G W 5.10.226-syzkaller-00031-gb14940b90491 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:native_halt arch/x86/include/asm/irqflags.h:66 [inline] RIP: 0010:halt arch/x86/include/asm/irqflags.h:112 [inline] RIP: 0010:kvm_wait+0xec/0x150 arch/x86/kernel/kvm.c:921 Code: 03 42 0f b6 04 20 84 c0 75 6a 41 0f b6 45 00 44 38 f0 75 26 41 f7 c7 00 02 00 00 75 0f 0f 1f 44 00 00 0f 00 2d 55 53 d5 03 f4 0e 0f 1f 44 00 00 0f 00 2d 46 53 d5 03 fb f4 4c 89 7c 24 18 ff RSP: 0018:ffffc90000de7000 EFLAGS: 00000046 RAX: 0000000000000003 RBX: 1ffff920001bce04 RCX: ffffffff8150b854 RDX: 0000000000000001 RSI: 0000000000000003 RDI: ffffc90000de7040 RBP: ffffc90000de70b0 R08: dffffc0000000000 R09: ffffed1021663ad6 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff88810b31d6a8 R14: 0000000000000003 R15: 0000000000000046 FS: 00007f20cf5cc6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020008000 CR3: 000000011ec39000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: pv_wait arch/x86/include/asm/paravirt.h:564 [inline] pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline] __pv_queued_spin_lock_slowpath+0x72f/0xc70 kernel/locking/qspinlock.c:508 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:554 [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:195 [inline] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irqsave+0x1a0/0x210 kernel/locking/spinlock.c:159 htab_lock_bucket kernel/bpf/hashtab.c:154 [inline] htab_map_delete_elem+0xe2/0x4f0 kernel/bpf/hashtab.c:1261 bpf_prog_2c29ac5cdc6b1842+0x3a/0x834 bpf_dispatcher_nop_func include/linux/bpf.h:669 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2061 [inline] bpf_trace_run4+0x13e/0x2e0 kernel/trace/bpf_trace.c:2100 __bpf_trace_mm_page_alloc+0xbf/0xf0 include/trace/events/kmem.h:193 trace_mm_page_alloc include/trace/events/kmem.h:193 [inline] __alloc_pages_nodemask+0xa8e/0xaf0 mm/page_alloc.c:5376 __alloc_pages include/linux/gfp.h:544 [inline] __alloc_pages_node include/linux/gfp.h:557 [inline] alloc_pages_node include/linux/gfp.h:571 [inline] alloc_pages include/linux/gfp.h:590 [inline] kmalloc_order+0x4c/0x170 mm/slab_common.c:843 kmalloc_order_trace+0x18/0x90 mm/slab_common.c:859 kmalloc_large include/linux/slab.h:481 [inline] __kmalloc+0x1f1/0x330 mm/slub.c:4022 __kmalloc_node include/linux/slab.h:418 [inline] kmalloc_node include/linux/slab.h:575 [inline] alloc_htab_elem+0x269/0x710 kernel/bpf/hashtab.c:898 htab_map_update_elem+0x2c6/0x880 kernel/bpf/hashtab.c:1027 bpf_map_update_value+0x230/0x420 kernel/bpf/syscall.c:219 map_update_elem kernel/bpf/syscall.c:1136 [inline] __do_sys_bpf kernel/bpf/syscall.c:4423 [inline] __se_sys_bpf+0x7687/0x11cb0 kernel/bpf/syscall.c:4391 __x64_sys_bpf+0x7b/0x90 kernel/bpf/syscall.c:4391 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f20d0f53819 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:00007f20cf5cc038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f20d110afa0 RCX: 00007f20d0f53819 RDX: 0000000000000020 RSI: 0000000020000280 RDI: 0000000000000002 RBP: 00007f20d0fc675e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f20d110afa0 R15: 00007ffdd83d6e98