watchdog: BUG: soft lockup - CPU#0 stuck for 225s! [syz.3.1003:3519] Modules linked in: CPU: 0 PID: 3519 Comm: syz.3.1003 Tainted: G W 5.15.153-syzkaller-00623-gda92e689a0c3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:check_kcov_mode kernel/kcov.c:174 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x36/0x60 kernel/kcov.c:197 Code: 90 22 92 7e 65 8b 15 91 22 92 7e f7 c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74 35 83 b9 5c 0b 00 00 00 74 2c 8b 91 38 0b 00 00 <83> fa 02 75 21 48 8b 91 40 0b 00 00 48 8b 32 48 8d 7e 01 8b 89 3c RSP: 0018:ffffc90000c071f0 EFLAGS: 00000246 RAX: ffffffff8165a5cb RBX: 1ffff1103ee2784d RCX: ffff888129644f00 RDX: 0000000000000002 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc90000c071f0 R08: ffffffff8165a59a R09: ffffed103ee071d3 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: ffff8881f713c268 R14: ffff8881f7038e80 R15: dffffc0000000000 FS: 00007fa712cef6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e012ff8 CR3: 00000001265e0000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: csd_lock_wait kernel/smp.c:440 [inline] smp_call_function_many_cond+0x85b/0x9b0 kernel/smp.c:969 on_each_cpu_cond_mask+0x40/0x80 kernel/smp.c:1135 on_each_cpu include/linux/smp.h:71 [inline] flush_tlb_kernel_range+0x184/0x210 arch/x86/mm/tlb.c:1033 __purge_vmap_area_lazy+0x230/0x1690 mm/vmalloc.c:1694 _vm_unmap_aliases+0x339/0x3b0 mm/vmalloc.c:2118 vm_unmap_aliases+0x19/0x20 mm/vmalloc.c:2141 change_page_attr_set_clr+0x308/0x1050 arch/x86/mm/pat/set_memory.c:1740 change_page_attr_clear arch/x86/mm/pat/set_memory.c:1797 [inline] set_memory_ro+0xa1/0xe0 arch/x86/mm/pat/set_memory.c:1943 bpf_jit_binary_lock_ro include/linux/filter.h:891 [inline] bpf_int_jit_compile+0xbf42/0xc6d0 arch/x86/net/bpf_jit_comp.c:2372 bpf_prog_select_runtime+0x706/0x9e0 kernel/bpf/core.c:1930 bpf_prog_load+0x1315/0x1b50 kernel/bpf/syscall.c:2337 __sys_bpf+0x4bc/0x760 kernel/bpf/syscall.c:4633 __do_sys_bpf kernel/bpf/syscall.c:4737 [inline] __se_sys_bpf kernel/bpf/syscall.c:4735 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:4735 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:0x7fa714071e79 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa712cef038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007fa71420df80 RCX: 00007fa714071e79 RDX: 0000000000000080 RSI: 0000000020000180 RDI: 0000000000000005 RBP: 00007fa7140df916 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fa71420df80 R15: 00007ffcc3ae4598 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 14 Comm: rcu_preempt Tainted: G W 5.15.153-syzkaller-00623-gda92e689a0c3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/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 ea fc 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: 0018:ffffc900001d06a0 EFLAGS: 00000046 RAX: 0000000000000003 RBX: 1ffff9200003a0d8 RCX: ffffffff81550ddf RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff8881f7127900 RBP: ffffc900001d0750 R08: dffffc0000000000 R09: ffffed103ee24f21 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8881f7127900 R14: 0000000000000003 R15: 1ffff9200003a0dc FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000202b4000 CR3: 00000001bc400000 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 __mod_timer+0x56e/0xcf0 kernel/time/timer.c:1049 add_timer+0x68/0x80 kernel/time/timer.c:1165 __queue_delayed_work+0x16d/0x1f0 kernel/workqueue.c:1697 queue_delayed_work_on+0x10f/0x180 kernel/workqueue.c:1722 queue_delayed_work include/linux/workqueue.h:525 [inline] srcu_funnel_gp_start kernel/rcu/srcutree.c:682 [inline] srcu_gp_start_if_needed+0x5e3/0x950 kernel/rcu/srcutree.c:838 __call_srcu kernel/rcu/srcutree.c:883 [inline] call_srcu+0x46/0x50 kernel/rcu/srcutree.c:906 rcu_free_old_probes+0x23/0x30 kernel/tracepoint.c:121 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_bc4ba9860fbb0da4+0x3e/0xbac 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_run3+0x11e/0x250 kernel/trace/bpf_trace.c:1918 __bpf_trace_timer_start+0x2b/0x40 include/trace/events/timer.h:52 __traceiter_timer_start+0x7f/0xd0 include/trace/events/timer.h:52 trace_timer_start include/trace/events/timer.h:52 [inline] enqueue_timer+0x351/0x4c0 kernel/time/timer.c:592 internal_add_timer kernel/time/timer.c:617 [inline] __mod_timer+0x8d3/0xcf0 kernel/time/timer.c:1068 schedule_timeout+0x187/0x370 kernel/time/timer.c:1919 rcu_gp_fqs_loop+0x2af/0xf80 kernel/rcu/tree.c:1972 rcu_gp_kthread+0xa4/0x350 kernel/rcu/tree.c:2145 kthread+0x421/0x510 kernel/kthread.c:337 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:299