watchdog: BUG: soft lockup - CPU#1 stuck for 225s! [syz.3.9902:29010] Modules linked in: CPU: 1 PID: 29010 Comm: syz.3.9902 Tainted: G W 5.15.152-syzkaller-00143-g70e1a731d986 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 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 76 a8 0a 00 41 83 e7 01 49 bf 00 00 00 00 00 fc ff df 75 07 e8 b1 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 95 a4 RSP: 0018:ffffc900018b7860 EFLAGS: 00000293 RAX: ffffffff81659ddb RBX: 1ffff1103ee07af1 RCX: ffff88811299cf00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900018b7978 R08: ffffffff81659daa R09: ffffed103ee271d3 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffff8881f703d788 R14: ffff8881f7138e80 R15: dffffc0000000000 FS: 000055555743b500(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000100000000 CR3: 0000000128d96000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: on_each_cpu_cond_mask+0x40/0x80 kernel/smp.c:1135 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1201 [inline] text_poke_bp_batch+0x1c4/0x5d0 arch/x86/kernel/alternative.c:1392 text_poke_flush arch/x86/kernel/alternative.c:1560 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:1567 arch_jump_label_transform_apply+0x15/0x30 arch/x86/kernel/jump_label.c:146 __jump_label_update+0x36a/0x380 kernel/jump_label.c:459 jump_label_update+0x3af/0x450 kernel/jump_label.c:830 static_key_disable_cpuslocked+0xcd/0x1b0 kernel/jump_label.c:207 static_key_disable+0x1a/0x30 kernel/jump_label.c:215 tracepoint_remove_func kernel/tracepoint.c:417 [inline] tracepoint_probe_unregister+0x60a/0x900 kernel/tracepoint.c:551 bpf_probe_unregister+0x61/0x70 kernel/trace/bpf_trace.c:1954 bpf_raw_tp_link_release+0x63/0x90 kernel/bpf/syscall.c:2880 bpf_link_free+0x129/0x3f0 kernel/bpf/syscall.c:2451 bpf_link_put kernel/bpf/syscall.c:2477 [inline] bpf_link_release+0x170/0x180 kernel/bpf/syscall.c:2485 __fput+0x3fe/0x910 fs/file_table.c:280 ____fput+0x15/0x20 fs/file_table.c:308 task_work_run+0x129/0x190 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0xc4/0xe0 kernel/entry/common.c:175 exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x26/0x160 kernel/entry/common.c:301 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7ff43d3739f9 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:00007ffc2a8ad3b8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 0000000000142c6e RCX: 00007ff43d3739f9 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007ffc2a8ad490 R08: 0000000000000001 R09: 00007ffc2a8ad69f R10: 00007ff43d1fa000 R11: 0000000000000246 R12: 0000000000000032 R13: 00007ffc2a8ad4b0 R14: 00007ffc2a8ad4d0 R15: ffffffffffffffff Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 22938 Comm: syz-executor Tainted: G W 5.15.152-syzkaller-00143-g70e1a731d986 #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 5a 02 13 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:ffffc90000007220 EFLAGS: 00000046 RAX: 0000000000000003 RBX: 1ffff92000000e48 RCX: ffffffff8155068f RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff8881f7029a00 RBP: ffffc900000072d0 R08: dffffc0000000000 R09: ffffed103ee05341 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff8881f7029a00 R14: 0000000000000003 R15: 1ffff92000000e4c FS: 000055555743b500(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000052a00000000 CR3: 000000012c17e000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 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_start+0x30c/0x3a0 Code: 6c 48 b8 00 00 00 00 00 fc ff df 48 8b 4d b0 80 3c 01 00 48 8b 5d a8 74 08 48 89 df e8 ad 97 7d 00 48 8b 45 d0 48 39 03 73 43 <48> 8b 5d c0 48 89 df e8 48 ee ff ff 48 b8 00 00 00 00 00 fc ff df RSP: 0018:ffffc900000076e0 EFLAGS: 00000287 RAX: ffffc900000077f0 RBX: ffffc90000007798 RCX: 1ffff92000000ef3 RDX: 1ffff92000000ef3 RSI: ffffc90000007750 RDI: ffffc900000077b8 RBP: ffffc90000007750 R08: dffffc0000000000 R09: ffffc90000007760 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90000007770 R13: ffffc90000000000 R14: ffffc90000007768 R15: 1ffff92000000eee unwind_start arch/x86/include/asm/unwind.h:60 [inline] arch_stack_walk+0xdb/0x140 arch/x86/kernel/stacktrace.c:24 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 file_free_rcu+0x9f/0xb0 fs/file_table.c:50 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_586ab708469db861+0x41/0xdc0 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 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:0x7ff43d3a59a3 Code: 1f 84 00 00 00 00 00 83 ff 03 74 7b 83 ff 02 b8 fa ff ff ff 49 89 ca 0f 44 f8 80 3d 9e 0b 14 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:00007ffc2a8ad598 EFLAGS: 00000202 ORIG_RAX: 00000000000000e6 RAX: ffffffffffffffda RBX: 0000000000000549 RCX: 00007ff43d3a59a3 RDX: 00007ffc2a8ad5b0 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007ffc2a8ad60c R08: 00007ffc2a8cd080 R09: 00007ffc2a8cd0b0 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000032 R13: 0000000000142cbd R14: 0000000000142c5e R15: 00007ffc2a8ad660