watchdog: BUG: soft lockup - CPU#1 stuck for 143s! [syz.3.413:7090] Modules linked in: irq event stamp: 15135211 hardirqs last enabled at (15135210): [] irqentry_exit+0x63/0x90 kernel/entry/common.c:357 hardirqs last disabled at (15135211): [] sysvec_apic_timer_interrupt+0xe/0xc0 arch/x86/kernel/apic/apic.c:1049 softirqs last enabled at (5659598): [] __do_softirq kernel/softirq.c:613 [inline] softirqs last enabled at (5659598): [] invoke_softirq kernel/softirq.c:453 [inline] softirqs last enabled at (5659598): [] __irq_exit_rcu+0xfb/0x220 kernel/softirq.c:680 softirqs last disabled at (5659601): [] __do_softirq kernel/softirq.c:613 [inline] softirqs last disabled at (5659601): [] invoke_softirq kernel/softirq.c:453 [inline] softirqs last disabled at (5659601): [] __irq_exit_rcu+0xfb/0x220 kernel/softirq.c:680 CPU: 1 UID: 0 PID: 7090 Comm: syz.3.413 Not tainted 6.14.0-syzkaller-g1e7857b28020 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:lock_release+0x244/0x3e0 arch/x86/include/asm/irqflags.h:-1 Code: 48 c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f7 44 24 20 00 02 00 00 0f 85 c3 00 00 00 41 f7 c6 00 02 00 00 74 01 fb 65 48 8b 03 <48> 3b 44 24 28 0f 85 82 01 00 00 48 83 c4 30 5b 41 5c 41 5d 41 5e RSP: 0018:ffffc90000a08440 EFLAGS: 00000206 RAX: 5c9c80e5532b6600 RBX: ffffffff93671020 RCX: 0000000000000003 RDX: 0000000000000000 RSI: ffffffff8e4f3814 RDI: ffffffff8ca184c0 RBP: ffff88802b834768 R08: ffffc90000a085df R09: 0000000000000000 R10: ffffc90000a085d0 R11: fffff520001410bc R12: 0000000000000003 R13: ffff88802b833c00 R14: 0000000000000206 R15: ffffffff8ed3b560 FS: 00007fd2389f66c0(0000) GS:ffff8881250af000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f99917d6f98 CR3: 0000000025162000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: rcu_lock_release include/linux/rcupdate.h:341 [inline] rcu_read_unlock include/linux/rcupdate.h:871 [inline] class_rcu_destructor include/linux/rcupdate.h:1155 [inline] unwind_next_frame+0x1a9f/0x23b0 arch/x86/kernel/unwind_orc.c:680 arch_stack_walk+0x11e/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x11a/0x1d0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:576 poison_slab_object mm/kasan/common.c:247 [inline] __kasan_slab_free+0x59/0x70 mm/kasan/common.c:264 kasan_slab_free include/linux/kasan.h:233 [inline] slab_free_hook mm/slub.c:2376 [inline] slab_free mm/slub.c:4633 [inline] kmem_cache_free+0x197/0x410 mm/slub.c:4735 tcp_write_queue_purge+0x136/0x2f0 net/ipv4/tcp.c:3302 tcp_done_with_error+0x41/0xc0 net/ipv4/tcp_input.c:4545 tcp_write_err net/ipv4/tcp_timer.c:77 [inline] tcp_write_timeout net/ipv4/tcp_timer.c:294 [inline] tcp_retransmit_timer+0x1589/0x32c0 net/ipv4/tcp_timer.c:600 tcp_write_timer+0x166/0x2e0 net/ipv4/tcp_timer.c:738 call_timer_fn+0x189/0x650 kernel/time/timer.c:1789 expire_timers kernel/time/timer.c:1840 [inline] __run_timers kernel/time/timer.c:2414 [inline] __run_timer_base+0x66e/0x8e0 kernel/time/timer.c:2426 run_timer_base kernel/time/timer.c:2435 [inline] run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2445 handle_softirqs+0x2d6/0x9b0 kernel/softirq.c:579 __do_softirq kernel/softirq.c:613 [inline] invoke_softirq kernel/softirq.c:453 [inline] __irq_exit_rcu+0xfb/0x220 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:check_preemption_disabled+0x2/0x120 lib/smp_processor_id.c:13 Code: 84 a1 8c 48 c7 c6 a0 84 a1 8c eb 1c 66 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 41 57 <41> 56 41 55 41 54 53 48 83 ec 10 49 c7 c4 20 10 67 93 65 49 8b 04 RSP: 0018:ffffc9000bf17b08 EFLAGS: 00000283 RAX: 0000000000000001 RBX: ffffffff93671020 RCX: 1ffff920017e2f80 RDX: ffffc9000cbe3000 RSI: ffffffff8ca184a0 RDI: ffffffff8ca18460 RBP: ffffffff81f6a430 R08: ffffffff905f5377 R09: 1ffffffff20bea6e R10: dffffc0000000000 R11: fffffbfff20bea6f R12: ffffffff81f6a430 R13: ffffc9000bf17c40 R14: ffff88802b835038 R15: ffff88802b8350a0 rcu_is_watching_curr_cpu include/linux/context_tracking.h:128 [inline] rcu_is_watching+0x15/0xb0 kernel/rcu/tree.c:736 trace_lock_release include/trace/events/lock.h:69 [inline] lock_release+0x4e/0x3e0 kernel/locking/lockdep.c:5877 __mutex_unlock_slowpath+0xee/0x800 kernel/locking/mutex.c:893 __do_sys_perf_event_open kernel/events/core.c:13442 [inline] __se_sys_perf_event_open+0x3050/0x34b0 kernel/events/core.c:13081 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd23ab8d169 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:00007fd2389f6038 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 00007fd23ada5fa0 RCX: 00007fd23ab8d169 RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 0000200000000500 RBP: 00007fd23ac0e2a0 R08: 0000000000000009 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fd23ada5fa0 R15: 00007ffec4169518 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 753 Comm: kworker/u8:5 Not tainted 6.14.0-syzkaller-g1e7857b28020 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:183 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x11/0x70 kernel/kcov.c:217 Code: 5b e9 53 a0 5d 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 8b 04 24 65 48 8b 0c 25 08 10 67 93 <65> 8b 15 78 91 a3 11 81 e2 00 01 ff 00 74 11 81 fa 00 01 00 00 75 RSP: 0018:ffffc90003237638 EFLAGS: 00000202 RAX: ffffffff81b780bd RBX: 1ffff110170e7e91 RCX: ffff888025318000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90003237840 R08: ffffffff81b78088 R09: 1ffffffff20bea6e R10: dffffc0000000000 R11: fffffbfff20bea6f R12: ffff8880b863ad08 R13: ffff8880b873f488 R14: ffff8880b863ad00 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff888124faf000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f392a0666c0 CR3: 000000000eb38000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: csd_lock_wait kernel/smp.c:340 [inline] smp_call_function_many_cond+0x1bcd/0x2d40 kernel/smp.c:885 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+0x354/0xb30 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+0x136/0x260 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 toggle_allocation_gate+0xc0/0x250 mm/kfence/core.c:850 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xac3/0x18e0 kernel/workqueue.c:3319 worker_thread+0x870/0xd50 kernel/workqueue.c:3400 kthread+0x7b7/0x940 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