watchdog: BUG: soft lockup - CPU#0 stuck for 246s! [kworker/0:4:389]
Modules linked in:
CPU: 0 PID: 389 Comm: kworker/0:4 Tainted: G W 5.15.150-syzkaller-1069439-g9044d25b8ff5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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 46 a6 0a 00 41 83 e7 01 49 bf 00 00 00 00 00 fc ff df 75 07 e8 81 a2 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 65 a2
RSP: 0018:ffffc90000e97880 EFLAGS: 00000293
RAX: ffffffff8165930b RBX: 1ffff1103ee2784d RCX: ffff88810cb913c0
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90000e97988 R08: ffffffff816592da R09: ffffc90000e977c0
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: 0000000000000000 CR3: 000000011d0f0000 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:298
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 368 Comm: syz-executor.2 Tainted: G W 5.15.150-syzkaller-1069439-g9044d25b8ff5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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 7a 02 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:ffffc900001d02a0 EFLAGS: 00000046
RAX: 0000000000000003 RBX: 1ffff9200003a058 RCX: ffffffff8154fbbf
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff8881f7129a00
RBP: ffffc900001d0350 R08: dffffc0000000000 R09: ffffed103ee25341
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff8881f7129a00 R14: 0000000000000003 R15: 1ffff9200003a05c
FS: 0000555556f92480(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fffbe94c6c8 CR3: 000000011d956000 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
hrtimer_interrupt+0x111/0xaa0 kernel/time/hrtimer.c:1792
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline]
__sysvec_apic_timer_interrupt+0xfd/0x3c0 arch/x86/kernel/apic/apic.c:1102
sysvec_apic_timer_interrupt+0x44/0xc0 arch/x86/kernel/apic/apic.c:1096
asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:unwind_get_return_address+0x63/0x90 arch/x86/kernel/unwind_frame.c:19
Code: 37 00 74 08 48 89 df e8 0b 89 7d 00 48 8b 3b e8 a3 ac 14 00 85 c0 74 14 43 80 3c 37 00 74 08 48 89 df e8 f0 88 7d 00 48 8b 03 02 31 c0 5b 41 5e 41 5f 5d c3 89 d9 80 e1 07 80 c1 03 38 c1 7c
RSP: 0018:ffffc900001d0758 EFLAGS: 00000246
RAX: ffffffff81b1fb2d RBX: ffffc900001d07c8 RCX: 00000000001d0701
RDX: 1ffff9200003a0f2 RSI: ffffc900001d0b90 RDI: ffffffff81b1fb2d
RBP: ffffc900001d0770 R08: ffffc900001d0868 R09: 0000000000000003
R10: ffffc900001d0870 R11: dffffc0000000001 R12: ffff88810b8413c0
R13: ffffffff815f52c0 R14: dffffc0000000000 R15: 1ffff9200003a0f9
arch_stack_walk+0xf3/0x140 arch/x86/kernel/stacktrace.c:26
stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:38 [inline]
kasan_set_track+0x4b/0x70 mm/kasan/common.c:45
kasan_set_free_info+0x23/0x40 mm/kasan/generic.c:370
____kasan_slab_free+0x126/0x160 mm/kasan/common.c:365
__kasan_slab_free+0x11/0x20 mm/kasan/common.c:373
kasan_slab_free include/linux/kasan.h:193 [inline]
slab_free_hook mm/slub.c:1723 [inline]
slab_free_freelist_hook+0xbd/0x190 mm/slub.c:1749
slab_free mm/slub.c:3519 [inline]
kmem_cache_free+0x116/0x2e0 mm/slub.c:3535
__free_vm_area_struct+0x1c/0x20 kernel/fork.c:389
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/0x224
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:1880 [inline]
bpf_trace_run2+0xec/0x210 kernel/trace/bpf_trace.c:1917
__bpf_trace_hrtimer_start+0x23/0x30 include/trace/events/timer.h:199
__traceiter_hrtimer_start+0x75/0xc0 include/trace/events/timer.h:199
trace_hrtimer_start include/trace/events/timer.h:199 [inline]
debug_activate kernel/time/hrtimer.c:476 [inline]
enqueue_hrtimer+0x1e7/0x240 kernel/time/hrtimer.c:1084
__hrtimer_start_range_ns kernel/time/hrtimer.c:1258 [inline]
hrtimer_start_range_ns+0x9f4/0xb80 kernel/time/hrtimer.c:1298
hrtimer_start_expires include/linux/hrtimer.h:435 [inline]
hrtimer_sleeper_start_expires kernel/time/hrtimer.c:1965 [inline]
do_nanosleep+0x12d/0x6a0 kernel/time/hrtimer.c:2041
hrtimer_nanosleep+0x1c5/0x3f0 kernel/time/hrtimer.c:2097
common_nsleep+0x91/0xb0 kernel/time/posix-timers.c:1267
__do_sys_clock_nanosleep kernel/time/posix-timers.c:1308 [inline]
__se_sys_clock_nanosleep+0x323/0x3b0 kernel/time/posix-timers.c:1285
__x64_sys_clock_nanosleep+0x9b/0xb0 kernel/time/posix-timers.c:1285
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f1ebc8e2273
Code: 00 00 00 00 0f 1f 00 83 ff 03 74 7b 83 ff 02 b8 fa ff ff ff 49 89 ca 0f 44 f8 80 3d 8e 6c 0d 00 00 74 14 b8 e6 00 00 00 0f 05 d8 c3 66 2e 0f 1f 84 00 00 00 00 00 48 83 ec 28 48 89 54 24 10
RSP: 002b:00007fffbe94c788 EFLAGS: 00000202 ORIG_RAX: 00000000000000e6
RAX: ffffffffffffffda RBX: 0000000000000020 RCX: 00007f1ebc8e2273
RDX: 00007fffbe94c7a0 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007fffbe94c82c R08: 00007fffbe98e080 R09: 00007fffbe98e0b0
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000032
R13: 000000000000e4a1 R14: 000000000000e495 R15: 0000000000000003