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 watchdog: BUG: soft lockup - CPU#0 stuck for 246s! [kworker/0:3:323] Modules linked in: CPU: 0 PID: 323 Comm: kworker/0:3 Not tainted 5.15.148-syzkaller-00013-gad06eaf051cd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: events bpf_prog_free_deferred RIP: 0010:native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline] RIP: 0010:arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] RIP: 0010:kvm_wait+0x147/0x180 arch/x86/kernel/kvm.c:918 Code: 4c 89 e8 48 c1 e8 03 42 0f b6 04 20 84 c0 44 8b 74 24 1c 75 34 41 0f b6 45 00 44 38 f0 75 10 66 90 0f 00 2d 5b 03 f3 03 fb f4 24 ff ff ff fb e9 1e ff ff ff 44 89 e9 80 e1 07 38 c1 7c a3 4c RSP: 0018:ffffc90000007ac0 EFLAGS: 00000246 RAX: 0000000000000003 RBX: 1ffff92000000f5c RCX: ffffffff8154f88f RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff88811900d848 RBP: ffffc90000007b70 R08: dffffc0000000000 R09: ffffed1023201b0a R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff88811900d848 R14: 0000000000000003 R15: 1ffff92000000f60 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055555558d430 CR3: 000000010fdf7000 CR4: 00000000003506b0 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 include/linux/spinlock.h:187 [inline] __raw_spin_lock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_lock+0x139/0x1b0 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:363 [inline] tcp_write_timer+0x25/0x1d0 net/ipv4/tcp_timer.c:662 call_timer_fn+0x3b/0x2d0 kernel/time/timer.c:1427 expire_timers kernel/time/timer.c:1472 [inline] __run_timers+0x72a/0xa10 kernel/time/timer.c:1743 run_timer_softirq+0x69/0xf0 kernel/time/timer.c:1756 __do_softirq+0x26d/0x5bf kernel/softirq.c:565 invoke_softirq kernel/softirq.c:425 [inline] __irq_exit_rcu+0x50/0xf0 kernel/softirq.c:648 irq_exit_rcu+0x9/0x10 kernel/softirq.c:660 sysvec_apic_timer_interrupt+0x9a/0xc0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:638 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 36 a8 0a 00 41 83 e7 01 49 bf 00 00 00 00 00 fc ff df 75 07 e8 71 a4 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 55 a4 RSP: 0018:ffffc90005267880 EFLAGS: 00000293 RAX: ffffffff81657ddb RBX: 1ffff1103ee276cd RCX: ffff888126953b40 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90005267988 R08: ffffffff81657daa R09: ffffc900052677c0 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: ffff8881f713b668 R14: ffff8881f7038280 R15: dffffc0000000000 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: 15356 Comm: syz-executor.4 Not tainted 5.15.148-syzkaller-00013-gad06eaf051cd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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 8a 03 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:ffffc900001cf820 EFLAGS: 00000046 RAX: 0000000000000003 RBX: 1ffff92000039f08 RCX: ffffffff8154f88f RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff8881f7136cc0 RBP: ffffc900001cf8d0 R08: dffffc0000000000 R09: ffffed103ee26d99 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8881f7136cc0 R14: 0000000000000003 R15: 1ffff92000039f0c FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efdd710f000 CR3: 000000011d916000 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 include/linux/spinlock.h:187 [inline] __raw_spin_lock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_lock+0x139/0x1b0 kernel/locking/spinlock.c:154 raw_spin_rq_lock_nested kernel/sched/core.c:489 [inline] raw_spin_rq_lock kernel/sched/sched.h:1352 [inline] rq_lock kernel/sched/sched.h:1660 [inline] ttwu_queue kernel/sched/core.c:3908 [inline] try_to_wake_up+0x625/0x1160 kernel/sched/core.c:4251 default_wake_function+0x43/0x50 kernel/sched/core.c:6928 ep_autoremove_wake_function+0x3a/0x130 fs/eventpoll.c:1755 __wake_up_common+0x25e/0x460 kernel/sched/wait.c:109 __wake_up_common_lock kernel/sched/wait.c:139 [inline] __wake_up+0x112/0x1c0 kernel/sched/wait.c:158 ep_poll_callback+0x538/0x850 fs/eventpoll.c:1197 __wake_up_common+0x25e/0x460 kernel/sched/wait.c:109 __wake_up_common_lock kernel/sched/wait.c:139 [inline] __wake_up_sync_key+0x1a3/0x3d0 kernel/sched/wait.c:209 sock_def_readable+0x154/0x3b0 net/core/sock.c:3094 tcp_data_ready+0x2c7/0x540 net/ipv4/tcp_input.c:5020 tcp_rcv_established+0x113e/0x1ac0 net/ipv4/tcp_input.c:5960 tcp_v4_do_rcv+0x3d7/0xa00 net/ipv4/tcp_ipv4.c:1722 tcp_v4_rcv+0x23dd/0x2a70 net/ipv4/tcp_ipv4.c:2125 ip_protocol_deliver_rcu+0x32f/0x710 net/ipv4/ip_input.c:204 ip_local_deliver_finish net/ipv4/ip_input.c:231 [inline] NF_HOOK include/linux/netfilter.h:305 [inline] ip_local_deliver+0x2c6/0x590 net/ipv4/ip_input.c:252 dst_input include/net/dst.h:454 [inline] ip_sublist_rcv_finish net/ipv4/ip_input.c:577 [inline] ip_list_rcv_finish net/ipv4/ip_input.c:628 [inline] ip_sublist_rcv+0x7e2/0x980 net/ipv4/ip_input.c:636 ip_list_rcv+0x422/0x470 net/ipv4/ip_input.c:671 __netif_receive_skb_list_ptype net/core/dev.c:5535 [inline] __netif_receive_skb_list_core+0x6b1/0x890 net/core/dev.c:5583 __netif_receive_skb_list net/core/dev.c:5635 [inline] netif_receive_skb_list_internal+0x967/0xcc0 net/core/dev.c:5726 gro_normal_list net/core/dev.c:5880 [inline] napi_complete_done+0x344/0x770 net/core/dev.c:6618 virtqueue_napi_complete drivers/net/virtio_net.c:357 [inline] virtnet_poll+0xbee/0x1260 drivers/net/virtio_net.c:1592 __napi_poll+0xc4/0x5a0 net/core/dev.c:7042 napi_poll net/core/dev.c:7109 [inline] net_rx_action+0x47d/0xc50 net/core/dev.c:7196 __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_map_delete net/core/sock_map.c:426 [inline] sock_map_delete_elem+0xcb/0x130 net/core/sock_map.c:448 bpf_prog_2c29ac5cdc6b1842+0x3a/0xda8 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:1883 [inline] bpf_trace_run2+0xec/0x210 kernel/trace/bpf_trace.c:1920 __bpf_trace_tlb_flush+0x23/0x30 include/trace/events/tlb.h:38 trace_tlb_flush include/trace/events/tlb.h:38 [inline] switch_mm_irqs_off+0x616/0x9b0 arch/x86/mm/tlb.c:629 context_switch kernel/sched/core.c:5137 [inline] __schedule+0xb2b/0x1590 kernel/sched/core.c:6512 preempt_schedule_irq+0xc7/0x140 kernel/sched/core.c:6916 irqentry_exit_cond_resched+0x2a/0x30 kernel/entry/common.c:392 irqentry_exit+0x30/0x40 kernel/entry/common.c:426 sysvec_apic_timer_interrupt+0x55/0xc0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:start_this_handle+0x1b26/0x1fb0 fs/jbd2/transaction.c:472 Code: ce 02 48 8b 5c 24 18 48 83 fb 10 0f 86 1e 03 00 00 e8 ae 8b 75 ff 48 8b 3d 97 99 34 05 48 89 de e8 bf e9 b6 ff b8 e2 ff ff ff <48> c7 84 24 40 01 00 00 0e 36 e0 45 48 8b 8c 24 18 01 00 00 41 c7 RSP: 0018:ffffc900007b67c0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 1ffff11028dbc27d RCX: ffff888146de13c0 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff88812c2c79d4 RBP: ffffc900007b6aa8 R08: dffffc0000000000 R09: ffffed10216da80c R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000440640 R13: dffffc0000000000 R14: ffff888146de13ec R15: dffffc0000000000 jbd2__journal_start+0x2ea/0x710 fs/jbd2/transaction.c:521 __ext4_journal_start_sb+0xfa/0x2c0 fs/ext4/ext4_jbd2.c:105 __ext4_journal_start fs/ext4/ext4_jbd2.h:326 [inline] ext4_dirty_inode+0x8f/0x100 fs/ext4/inode.c:6021 __mark_inode_dirty+0x200/0xa50 fs/fs-writeback.c:2464 mark_inode_dirty include/linux/fs.h:2497 [inline] generic_write_end+0x202/0x300 fs/buffer.c:2204 ext4_da_write_end+0x6dc/0xab0 fs/ext4/inode.c:3108 generic_perform_write+0x3b4/0x5a0 mm/filemap.c:3858 ext4_buffered_write_iter+0x48a/0x610 fs/ext4/file.c:270 ext4_file_write_iter+0x443/0x1c80 __kernel_write+0x5ab/0xa60 fs/read_write.c:539 __dump_emit+0x261/0x3a0 fs/coredump.c:875 dump_emit+0x381/0x3f0 fs/coredump.c:912 dump_user_range+0x86/0x1c0 fs/coredump.c:949 elf_core_dump+0x3663/0x3e80 fs/binfmt_elf.c:2285 do_coredump+0x1834/0x3050 fs/coredump.c:826 get_signal+0x4c8/0x1630 kernel/signal.c:2882 arch_do_signal_or_restart+0xbd/0x1680 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop+0xa0/0xe0 kernel/entry/common.c:172 exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:208 irqentry_exit_to_user_mode+0x9/0x20 kernel/entry/common.c:314 irqentry_exit+0x12/0x40 kernel/entry/common.c:405 exc_page_fault+0x47a/0x830 arch/x86/mm/fault.c:1608 asm_exc_page_fault+0x27/0x30 arch/x86/include/asm/idtentry.h:568 RIP: 0033:0x7f9ba349e777 Code: Unable to access opcode bytes at RIP 0x7f9ba349e74d. RSP: 002b:00007f9ba22481e0 EFLAGS: 00010202 RAX: 0000000000000000 RBX: 000000000000000b RCX: 00007f9ba34f3ea9 RDX: 00007f9ba2248200 RSI: 00007f9ba2248330 RDI: 000000000000000b RBP: 00007f9ba35404a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9ba3621f80 R15: 00007ffe05a8d898