kthread+0x34b/0x3d0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:299 watchdog: BUG: soft lockup - CPU#1 stuck for 123s! [syz-executor.0:9032] Modules linked in: CPU: 1 PID: 9032 Comm: syz-executor.0 Tainted: G W 5.10.215-syzkaller-00370-gb58b8f9dad93 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 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:ffffc900012fee20 EFLAGS: 00000246 RAX: ffffffff815fc0c4 RBX: 1ffff9200025fdcd RCX: 0000000000040000 RDX: ffffc90002a76000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc900012fef10 R08: ffffffff815fc096 R09: ffffed103ee0aec9 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 0000000000000001 R14: ffffc900012fee68 R15: 0000000000000000 FS: 00007f1e4517f6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32a21000 CR3: 00000001188b4000 CR4: 00000000003526a0 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 flush_tlb_kernel_range+0x40/0x1c0 arch/x86/mm/tlb.c:950 __purge_vmap_area_lazy+0x102/0x1620 mm/vmalloc.c:1355 _vm_unmap_aliases+0x334/0x3b0 mm/vmalloc.c:1773 vm_unmap_aliases+0x19/0x20 mm/vmalloc.c:1796 change_page_attr_set_clr+0x308/0x1050 arch/x86/mm/pat/set_memory.c:1732 change_page_attr_clear arch/x86/mm/pat/set_memory.c:1789 [inline] set_memory_ro+0xa1/0xe0 arch/x86/mm/pat/set_memory.c:1935 bpf_jit_binary_lock_ro include/linux/filter.h:842 [inline] bpf_int_jit_compile+0x9829/0x9dc0 arch/x86/net/bpf_jit_comp.c:2130 bpf_prog_select_runtime+0x735/0x9c0 kernel/bpf/core.c:1872 bpf_prog_load kernel/bpf/syscall.c:2243 [inline] __do_sys_bpf kernel/bpf/syscall.c:4435 [inline] __se_sys_bpf+0x1080e/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/0xc6 RIP: 0033:0x7f1e45e260a9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1e4517f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f1e45f5d050 RCX: 00007f1e45e260a9 RDX: 0000000000000090 RSI: 00000000200000c0 RDI: 0000000000000005 RBP: 00007f1e45e95074 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f1e45f5d050 R15: 00007ffc8e3efd88 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 9028 Comm: syz-executor.1 Tainted: G W 5.10.215-syzkaller-00370-gb58b8f9dad93 #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 c5 4f d5 03 f4 0e 0f 1f 44 00 00 0f 00 2d b6 4f d5 03 fb f4 4c 89 7c 24 18 ff RSP: 0000:ffffc90000c56ca0 EFLAGS: 00000046 RAX: 0000000000000003 RBX: 1ffff9200018ad98 RCX: ffffffff8150b884 RDX: 0000000000000001 RSI: 0000000000000003 RDI: ffffc90000c56ce0 RBP: ffffc90000c56d50 R08: dffffc0000000000 R09: ffffed1025d33691 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff88812e99b480 R14: 0000000000000003 R15: 0000000000000046 FS: 00007f969d2af6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000786c6c257830 CR3: 000000012dead000 CR4: 00000000003526b0 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:__get_user_nocheck_8+0x10/0x13 Code: 0f b7 10 31 c0 0f 01 ca c3 90 0f 01 cb 0f ae e8 8b 10 31 c0 0f 01 ca c3 66 90 0f 01 cb 0f ae e8 48 8b 10 31 c0 0f 01 ca c3 90 <0f> 01 ca 31 d2 48 c7 c0 f2 ff ff ff c3 cc cc cc 55 48 89 e5 53 89 RSP: 0000:ffffc90000c573a0 EFLAGS: 00050006 RAX: 0000786c6c257830 RBX: 00007fffffffeff0 RCX: ffff8881188a13c0 RDX: ffffc90002c77000 RSI: 0000786c6c257830 RDI: 00007fffffffeff0 RBP: ffffc90000c57430 R08: ffffffff8100e820 R09: ffffed1023114279 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8881188a13c0 R14: 0000786c6c257830 R15: ffff8881188a13c0 get_perf_callchain+0x549/0x810 kernel/events/callchain.c:221 __bpf_get_stack+0x378/0x570 kernel/bpf/stackmap.c:622 ____bpf_get_stack kernel/bpf/stackmap.c:654 [inline] bpf_get_stack+0x31/0x40 kernel/bpf/stackmap.c:651 ____bpf_get_stack_raw_tp kernel/trace/bpf_trace.c:1686 [inline] bpf_get_stack_raw_tp+0x1b2/0x220 kernel/trace/bpf_trace.c:1676 bpf_prog_b8a90dd1efcc4ad9+0x3d/0x8b8 bpf_dispatcher_nop_func include/linux/bpf.h:669 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2061 [inline] bpf_trace_run5+0x176/0x320 kernel/trace/bpf_trace.c:2101 __bpf_trace_signal_generate+0x3c/0x50 include/trace/events/signal.h:50 trace_signal_generate include/trace/events/signal.h:50 [inline] __send_signal+0xb39/0xb90 kernel/signal.c:1186 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:ffffc90000c57d98 EFLAGS: 00050283 RAX: 000000006678516e RBX: 00007fffffffeff9 RCX: 0000000000000019 RDX: ffffc90002c77000 RSI: 0000000000000ad3 RDI: 0000000000000ad4 RBP: ffffc90000c57e48 R08: ffffffff815b6394 R09: ffffc90000c57de0 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90000c57de0 R13: dffffc0000000000 R14: 1ffff9200018afb8 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:00007f969d2aeb38 EFLAGS: 00010246 RAX: ffffffffffffffda RBX: 00007f969e06bf80 RCX: 00007f969df350a9 RDX: 00007f969d2aeb40 RSI: 00007f969d2aec70 RDI: 0000000000000019 RBP: 00007f969dfa4074 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000007 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f969e06bf80 R15: 00007ffc7c450f78