kthread+0x34b/0x3d0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:299 watchdog: BUG: soft lockup - CPU#0 stuck for 122s! [kworker/u4:2:48] Modules linked in: CPU: 0 PID: 48 Comm: kworker/u4:2 Not tainted 5.10.214-syzkaller-00496-ga8e7f812fbc1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:229 [inline] RIP: 0010:smp_call_function_single+0x278/0x510 kernel/smp.c:517 Code: 0f 85 18 02 00 00 44 8b 6c 24 48 44 89 ee 83 e6 01 31 ff e8 7a f0 0a 00 41 83 e5 01 75 0a e8 bf ec 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 RSP: 0018:ffffc900009cf720 EFLAGS: 00000293 RAX: ffffffff815fc2e4 RBX: 1ffff92000139eed RCX: ffff888101bb3b40 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900009cf810 R08: ffffffff815fc2b6 R09: ffffed103ee2aec9 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 0000000000000001 R14: ffffc900009cf768 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000000660f000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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_enable_cpuslocked+0x12f/0x250 kernel/jump_label.c:177 static_key_enable+0x1a/0x30 kernel/jump_label.c:190 toggle_allocation_gate+0xbf/0x450 mm/kfence/core.c:624 process_one_work+0x6dc/0xbd0 kernel/workqueue.c:2301 worker_thread+0xaea/0x1510 kernel/workqueue.c:2447 kthread+0x34b/0x3d0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:299 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 525 Comm: syz-executor.1 Not tainted 5.10.214-syzkaller-00496-ga8e7f812fbc1 #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: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 85 4a d5 03 f4 0e 0f 1f 44 00 00 0f 00 2d 76 4a d5 03 fb f4 4c 89 7c 24 18 ff RSP: 0000:ffffc900055063e0 EFLAGS: 00000046 RAX: 0000000000000003 RBX: 1ffff92000aa0c80 RCX: ffffffff8150bb44 RDX: 0000000000000001 RSI: 0000000000000003 RDI: ffffc90005506420 RBP: ffffc90005506490 R08: dffffc0000000000 R09: ffffed1025473e39 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff88812a39f1c0 R14: 0000000000000003 R15: 0000000000000046 FS: 00007f3f442e36c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000010f64f000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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 force_sig_info_to_task+0x67/0x320 kernel/signal.c:1320 force_sig_fault_to_task kernel/signal.c:1684 [inline] force_sig_fault+0x125/0x1c0 kernel/signal.c:1691 no_context+0x2e1/0xf20 arch/x86/mm/fault.c:672 __bad_area_nosemaphore+0xcd/0x440 arch/x86/mm/fault.c:839 bad_area_nosemaphore+0x2d/0x40 arch/x86/mm/fault.c:846 handle_page_fault arch/x86/mm/fault.c:1453 [inline] exc_page_fault+0x3ea/0x5b0 arch/x86/mm/fault.c:1509 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:571 RIP: 0010:.E_copy+0x12/0x111 Code: 0a 48 83 e1 f8 48 8b 01 8d 0a 83 e1 07 c1 e1 03 48 d3 e8 e9 36 6d 91 fd 48 89 c8 c3 01 ca e9 e3 87 94 fd c1 e1 06 01 ca eb 07 <8d> 14 ca eb 02 89 ca e9 d0 87 94 fd 01 ca e9 c9 87 94 fd 8d 0c ca RSP: 0000:ffffc90005506ae0 EFLAGS: 00050002 RAX: 000000000000000e RBX: ffff888111c04650 RCX: 0000000000000001 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc90005506b68 RBP: ffffc90005506b10 R08: 0000000000000005 R09: ffffffff81aeed93 R10: 0000000000000003 R11: ffff888111c03b40 R12: ffffc90005506b68 R13: 0000000000000008 R14: 0000000000000000 R15: 1ffff110223808ca bpf_probe_read_user_common kernel/trace/bpf_trace.c:154 [inline] ____bpf_probe_read_compat kernel/trace/bpf_trace.c:278 [inline] bpf_probe_read_compat+0xec/0x180 kernel/trace/bpf_trace.c:274 bpf_prog_ee60aafa828f4cb7+0x35/0x348 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:5374 __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] __stack_depot_save+0x3e8/0x4d0 lib/stackdepot.c:327 stack_depot_save+0xe/0x10 lib/stackdepot.c:384 save_stack+0x1af/0x240 mm/page_owner.c:159 __set_page_owner+0x3b/0x2d0 mm/page_owner.c:219 set_page_owner include/linux/page_owner.h:35 [inline] post_alloc_hook mm/page_alloc.c:2456 [inline] prep_new_page+0x166/0x180 mm/page_alloc.c:2462 get_page_from_freelist+0x2d8c/0x2f30 mm/page_alloc.c:4254 __alloc_pages_nodemask+0x435/0xaf0 mm/page_alloc.c:5346 __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] __stack_depot_save+0x3e8/0x4d0 lib/stackdepot.c:327 kasan_save_stack mm/kasan/common.c:39 [inline] kasan_set_track mm/kasan/common.c:45 [inline] set_alloc_info mm/kasan/common.c:430 [inline] __kasan_slab_alloc+0xc3/0xe0 mm/kasan/common.c:463 kasan_slab_alloc include/linux/kasan.h:244 [inline] slab_post_alloc_hook+0x61/0x2f0 mm/slab.h:583 slab_alloc_node mm/slub.c:2947 [inline] slab_alloc mm/slub.c:2955 [inline] kmem_cache_alloc+0x168/0x2e0 mm/slub.c:2960 __sigqueue_alloc+0x19e/0x2f0 kernel/signal.c:438 __send_signal+0x1e6/0xb90 kernel/signal.c:1119 send_signal+0x4c1/0x5e0 kernel/signal.c:1245 force_sig_info_to_task+0x272/0x320 kernel/signal.c:1337 force_sig_fault_to_task kernel/signal.c:1684 [inline] force_sig_fault+0x125/0x1c0 kernel/signal.c:1691 no_context+0x2e1/0xf20 arch/x86/mm/fault.c:672 __bad_area_nosemaphore+0xcd/0x440 arch/x86/mm/fault.c:839 __bad_area arch/x86/mm/fault.c:860 [inline] bad_area+0x69/0x80 arch/x86/mm/fault.c:866 handle_page_fault arch/x86/mm/fault.c:1453 [inline] exc_page_fault+0x439/0x5b0 arch/x86/mm/fault.c:1509 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:571 RIP: 0010:__put_user_nocheck_8+0x11/0x21 Code: 0f 01 ca c3 66 0f 1f 44 00 00 48 bb f9 ef ff ff ff 7f 00 00 48 39 d9 73 14 0f 01 cb 48 89 01 31 c9 0f 01 ca c3 0f 1f 44 00 00 <0f> 01 ca b9 f2 ff ff ff c3 cc cc cc cc cc cc cc 55 48 89 e5 41 57 RSP: 0000:ffffc90005507d98 EFLAGS: 00050283 RAX: 0000000066562eb9 RBX: 00007fffffffeff9 RCX: 0000000000000019 RDX: ffffc90000d29000 RSI: 0000000000000af0 RDI: 0000000000000af1 RBP: ffffc90005507e48 R08: ffffffff815b65b4 R09: ffffc90005507de0 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90005507de0 R13: dffffc0000000000 R14: 1ffff92000aa0fb8 R15: 0000000000000019 emulate_vsyscall+0xe33/0x13d0 arch/x86/entry/vsyscall/vsyscall_64.c:246 do_user_addr_fault arch/x86/mm/fault.c:1300 [inline] handle_page_fault arch/x86/mm/fault.c:1453 [inline] exc_page_fault+0x147/0x5b0 arch/x86/mm/fault.c:1509 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:571 RIP: 0033:_end+0x783da000/0x0 Code: Unable to access opcode bytes at RIP 0xffffffffff5fffd6. RSP: 002b:00007f3f442e2b38 EFLAGS: 00010246 RAX: ffffffffffffffda RBX: 00007f3f456a5fa0 RCX: 00007f3f4556eee9 RDX: 00007f3f442e2b40 RSI: 00007f3f442e2c70 RDI: 0000000000000019 RBP: 00007f3f455bb47f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000007 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f3f456a5fa0 R15: 00007ffcb05feca8