watchdog: BUG: soft lockup - CPU#1 stuck for 123s! [syz.0.463:7622] Modules linked in: irq event stamp: 24693827 hardirqs last enabled at (24693826): [] irqentry_exit+0x74/0x90 kernel/entry/common.c:357 hardirqs last disabled at (24693827): [] sysvec_apic_timer_interrupt+0xe/0xc0 arch/x86/kernel/apic/apic.c:1049 softirqs last enabled at (4841562): [] __do_softirq kernel/softirq.c:613 [inline] softirqs last enabled at (4841562): [] invoke_softirq kernel/softirq.c:453 [inline] softirqs last enabled at (4841562): [] __irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680 softirqs last disabled at (4841565): [] __do_softirq kernel/softirq.c:613 [inline] softirqs last disabled at (4841565): [] invoke_softirq kernel/softirq.c:453 [inline] softirqs last disabled at (4841565): [] __irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680 CPU: 1 UID: 0 PID: 7622 Comm: syz.0.463 Not tainted 6.15.0-rc4-syzkaller-gf263336a41da #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 RIP: 0010:in_irqentry_text kernel/stacktrace.c:381 [inline] RIP: 0010:filter_irq_stacks+0x5c/0xa0 kernel/stacktrace.c:397 Code: 74 08 4c 89 ff e8 14 fa 74 00 49 8b 04 de 48 3d 30 02 00 81 0f 93 c1 48 3d 70 16 00 81 0f 92 c2 84 d1 75 27 48 3d 90 9b 58 8b <0f> 92 c1 48 3d ab 9b 58 8b 0f 93 c0 08 c8 74 11 48 ff c3 49 83 c7 RSP: 0018:ffffc90000a08740 EFLAGS: 00000287 RAX: ffffffff8185c2f9 RBX: 000000000000000d RCX: 0000000000000001 RDX: 0000000000000000 RSI: 0000000000000018 RDI: ffffc90000a087e0 RBP: ffffc90000a08a08 R08: ffffffff8f7ed377 R09: 1ffffffff1efda6e R10: dffffc0000000000 R11: fffffbfff1efda6f R12: 0000000000000018 R13: dffffc0000000000 R14: ffffc90000a087e0 R15: ffffc90000a08848 FS: 00007f5bbfc4b6c0(0000) GS:ffff8881261cc000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5bbfc4af98 CR3: 0000000032a72000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: stack_depot_save_flags+0x40/0x910 lib/stackdepot.c:610 kasan_save_stack mm/kasan/common.c:48 [inline] kasan_save_track+0x4f/0x80 mm/kasan/common.c:68 kasan_save_free_info+0x46/0x50 mm/kasan/generic.c:576 poison_slab_object mm/kasan/common.c:247 [inline] __kasan_slab_free+0x62/0x70 mm/kasan/common.c:264 kasan_slab_free include/linux/kasan.h:233 [inline] slab_free_hook mm/slub.c:2398 [inline] slab_free mm/slub.c:4656 [inline] kmem_cache_free+0x192/0x3f0 mm/slub.c:4758 tcp_write_queue_purge+0x143/0x2f0 net/ipv4/tcp.c:3288 tcp_done_with_error+0x43/0xd0 net/ipv4/tcp_input.c:4545 tcp_write_err net/ipv4/tcp_timer.c:77 [inline] tcp_probe_timer net/ipv4/tcp_timer.c:431 [inline] tcp_write_timer_handler+0x6ec/0x9b0 net/ipv4/tcp_timer.c:721 tcp_write_timer+0x162/0x2e0 net/ipv4/tcp_timer.c:738 call_timer_fn+0x17b/0x5f0 kernel/time/timer.c:1789 expire_timers kernel/time/timer.c:1840 [inline] __run_timers kernel/time/timer.c:2414 [inline] __run_timer_base+0x61a/0x860 kernel/time/timer.c:2426 run_timer_base kernel/time/timer.c:2435 [inline] run_timer_softirq+0xb7/0x180 kernel/time/timer.c:2445 handle_softirqs+0x283/0x870 kernel/softirq.c:579 __do_softirq kernel/softirq.c:613 [inline] invoke_softirq kernel/softirq.c:453 [inline] __irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680 irq_exit_rcu+0x9/0x30 kernel/softirq.c:696 instr_sysvec_irq_work arch/x86/kernel/irq_work.c:17 [inline] sysvec_irq_work+0xa3/0xc0 arch/x86/kernel/irq_work.c:17 asm_sysvec_irq_work+0x1a/0x20 arch/x86/include/asm/idtentry.h:738 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xa8/0x110 kernel/locking/spinlock.c:194 Code: 74 05 e8 8b e1 6e f6 48 c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f6 44 24 21 02 75 4f f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 73 63 38 f6 65 8b 05 5c e5 1c 07 85 c0 74 40 48 c7 04 24 0e 36 RSP: 0018:ffffc9001b33fc00 EFLAGS: 00000206 RAX: d8566f3bf3b18a00 RBX: 0000000000000a06 RCX: d8566f3bf3b18a00 RDX: 0000000000000000 RSI: ffffffff8d749ffa RDI: 0000000000000001 RBP: ffffc9001b33fc90 R08: ffffffff8f7ed377 R09: 1ffffffff1efda6e R10: dffffc0000000000 R11: fffffbfff1efda6f R12: dffffc0000000000 R13: 1ffff92003667f98 R14: ffff88802b99ae40 R15: 1ffff92003667f80 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] unlock_task_sighand include/linux/sched/signal.h:752 [inline] do_send_sig_info kernel/signal.c:1270 [inline] send_sig_info kernel/signal.c:1621 [inline] send_sig_perf+0x160/0x1c0 kernel/signal.c:1800 perf_sigtrap kernel/events/core.c:7124 [inline] perf_pending_task+0x210/0x400 kernel/events/core.c:7228 task_work_run+0x1d1/0x260 kernel/task_work.c:227 resume_user_mode_work+0x5e/0x80 include/linux/resume_user_mode.h:50 exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x9a/0x120 kernel/entry/common.c:218 do_syscall_64+0x103/0x210 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5bbed8e969 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:00007f5bbfc4b038 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: 0000000000000009 RBX: 00007f5bbefb6080 RCX: 00007f5bbed8e969 RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 00002000000008c0 RBP: 00007f5bbee10ab1 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f5bbefb6080 R15: 00007ffd236d4408 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 53 Comm: kworker/u8:3 Not tainted 6.15.0-rc4-syzkaller-gf263336a41da #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0xe69/0x11c0 kernel/smp.c:885 Code: 00 45 8b 2f 44 89 ee 83 e6 01 31 ff e8 20 6d 0b 00 41 83 e5 01 49 bd 00 00 00 00 00 fc ff df 75 07 e8 cb 68 0b 00 eb 37 f3 90 <43> 0f b6 04 2c 84 c0 75 10 41 f7 07 01 00 00 00 74 1e e8 b0 68 0b RSP: 0018:ffffc90000bf7700 EFLAGS: 00000293 RAX: ffffffff81b45620 RBX: ffff8880b883ad40 RCX: ffff888021ad0000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90000bf7860 R08: ffffffff8f7ed377 R09: 1ffffffff1efda6e R10: dffffc0000000000 R11: fffffbfff1efda6f R12: 1ffff11017127e99 R13: dffffc0000000000 R14: 0000000000000001 R15: ffff8880b893f4c8 FS: 0000000000000000(0000) GS:ffff8881260cc000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc011c3c5c CR3: 000000000dd36000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1052 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2455 [inline] text_poke_bp_batch+0x319/0x940 arch/x86/kernel/alternative.c:2665 text_poke_flush arch/x86/kernel/alternative.c:2856 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2863 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x128/0x250 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 toggle_allocation_gate+0xad/0x240 mm/kfence/core.c:850 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xadb/0x17a0 kernel/workqueue.c:3319 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3400 kthread+0x70e/0x8a0 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245