kthread+0x421/0x510 kernel/kthread.c:337 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:300 watchdog: BUG: soft lockup - CPU#0 stuck for 225s! [kworker/0:4:318] Modules linked in: CPU: 0 PID: 318 Comm: kworker/0:4 Not tainted 5.15.158-syzkaller-00979-gc53388f01037 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Workqueue: events bpf_prog_free_deferred RIP: 0010:csd_lock_wait kernel/smp.c:440 [inline] RIP: 0010:smp_call_function_many_cond+0x843/0x9b0 kernel/smp.c:969 Code: 45 8b 7d 00 44 89 fe 83 e6 01 31 ff e8 f6 a8 0a 00 41 83 e7 01 49 bf 00 00 00 00 00 fc ff df 75 07 e8 31 a5 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 15 a5 RSP: 0018:ffffc900055e7880 EFLAGS: 00000293 RAX: ffffffff8165c7eb RBX: 1ffff1103ee2784d RCX: ffff88810a6862c0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900055e7988 R08: ffffffff8165c7ba R09: ffffc900055e77c0 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: 00007f56756ff000 CR3: 000000011ee2e000 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:300 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 2524 Comm: syz.1.882 Not tainted 5.15.158-syzkaller-00979-gc53388f01037 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/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 ca ec 12 04 f4 54 ff ff ff fa 4c 89 e8 48 c1 e8 03 42 0f b6 04 20 84 c0 44 8b RSP: 0000:ffffc90000b06e00 EFLAGS: 00000046 RAX: 0000000000000003 RBX: 1ffff92000160dc4 RCX: ffffffff81552fff RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff88810a724ec0 RBP: ffffc90000b06eb0 R08: dffffc0000000000 R09: ffffed10214e49d9 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff88810a724ec0 R14: 0000000000000003 R15: 1ffff92000160dc8 FS: 00007f317bc3b6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffdfa50000 CR3: 000000010cf9a000 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 force_sig_info_to_task+0x72/0x440 kernel/signal.c:1336 force_sig_fault_to_task kernel/signal.c:1736 [inline] force_sig_fault+0x127/0x1d0 kernel/signal.c:1742 kernelmode_fixup_or_oops+0x236/0x270 arch/x86/mm/fault.c:743 __bad_area_nosemaphore+0xcf/0x490 arch/x86/mm/fault.c:797 bad_area_nosemaphore+0x2d/0x40 arch/x86/mm/fault.c:846 do_kern_addr_fault+0x69/0x80 arch/x86/mm/fault.c:1198 handle_page_fault arch/x86/mm/fault.c:1538 [inline] exc_page_fault+0x4eb/0x830 arch/x86/mm/fault.c:1596 asm_exc_page_fault+0x27/0x30 arch/x86/include/asm/idtentry.h:568 RIP: 0010:strncpy_from_kernel_nofault+0x1c2/0x1e0 mm/maccess.c:100 Code: c1 7c 9c 48 8b 7d c8 e8 cc c4 18 00 48 8b 75 c8 48 8b 55 d0 eb 89 89 f9 80 e1 07 38 c1 7c 96 e8 14 c5 18 00 48 8b 55 d0 eb 8b 69 73 d6 ff 48 c7 c3 f2 ff ff ff e9 45 ff ff ff 66 2e 0f 1f 84 RSP: 0000:ffffc90000b07548 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffffffffdfa50000 RCX: ffff888115b04f00 RDX: ffffc90000b075e8 RSI: ffffffffdfa50000 RDI: ffffffffdfa50000 RBP: ffffc90000b07590 R08: ffffffff81361f19 R09: ffffed1022b609e1 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffffffffdfa50000 R14: dffffc0000000000 R15: 0000000000000008 bpf_probe_read_kernel_str_common kernel/trace/bpf_trace.c:255 [inline] ____bpf_probe_read_compat_str kernel/trace/bpf_trace.c:303 [inline] bpf_probe_read_compat_str+0x112/0x180 kernel/trace/bpf_trace.c:296 bpf_prog_3b9dd6b9ec8089c9+0x3f/0x90c bpf_dispatcher_nop_func include/linux/bpf.h:785 [inline] __bpf_prog_run include/linux/filter.h:628 [inline] bpf_prog_run include/linux/filter.h:635 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:1880 [inline] bpf_trace_run5+0x172/0x290 kernel/trace/bpf_trace.c:1920 __bpf_trace_signal_generate+0x3c/0x50 include/trace/events/signal.h:50 trace_signal_generate include/trace/events/signal.h:50 [inline] __send_signal+0xc52/0xcb0 kernel/signal.c:1193 send_signal+0x43a/0x590 kernel/signal.c:1254 force_sig_info_to_task+0x2fe/0x440 kernel/signal.c:1356 force_sig_fault_to_task kernel/signal.c:1736 [inline] force_sig_fault+0x127/0x1d0 kernel/signal.c:1742 kernelmode_fixup_or_oops+0x236/0x270 arch/x86/mm/fault.c:743 __bad_area_nosemaphore+0xcf/0x490 arch/x86/mm/fault.c:797 __bad_area arch/x86/mm/fault.c:860 [inline] bad_area+0x73/0x90 arch/x86/mm/fault.c:866 handle_page_fault arch/x86/mm/fault.c:1540 [inline] exc_page_fault+0x58d/0x830 arch/x86/mm/fault.c:1596 asm_exc_page_fault+0x27/0x30 arch/x86/include/asm/idtentry.h:568 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:ffffc90000b07c98 EFLAGS: 00050283 RAX: 0000000066dfa4af RBX: 00007fffffffeff9 RCX: 0000000000000019 RDX: ffffc90000f19000 RSI: 00000000000009fa RDI: 00000000000009fb RBP: ffffc90000b07d60 R08: ffffffff81613ef5 R09: ffffc90000b07ce0 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90000b07ce0 R13: dffffc0000000000 R14: 1ffff92000160f98 R15: 0000000000000019 emulate_vsyscall+0xed6/0x13f0 arch/x86/entry/vsyscall/vsyscall_64.c:247 do_user_addr_fault arch/x86/mm/fault.c:1316 [inline] handle_page_fault arch/x86/mm/fault.c:1540 [inline] exc_page_fault+0x187/0x830 arch/x86/mm/fault.c:1596 asm_exc_page_fault+0x27/0x30 arch/x86/include/asm/idtentry.h:568 RIP: 0033:_end+0x77fda000/0x0 Code: Unable to access opcode bytes at RIP 0xffffffffff5fffd6. RSP: 002b:00007f317bc3aa78 EFLAGS: 00010246 RAX: ffffffffffffffda RBX: 00007f317d179f80 RCX: 00007f317cfc1ef9 RDX: 00007f317bc3aa80 RSI: 00007f317bc3abb0 RDI: 0000000000000019 RBP: 00007f317d0349f6 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000007 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f317d179f80 R15: 00007ffea8220fd8