watchdog: BUG: soft lockup - CPU#1 stuck for 143s! [kworker/u4:4:29763] Modules linked in: irq event stamp: 18520168 hardirqs last enabled at (18520167): [] asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 hardirqs last disabled at (18520168): [] sysvec_apic_timer_interrupt+0xa/0xb0 arch/x86/kernel/apic/apic.c:1107 softirqs last enabled at (14319680): [] invoke_softirq kernel/softirq.c:445 [inline] softirqs last enabled at (14319680): [] __irq_exit_rcu+0x155/0x240 kernel/softirq.c:650 softirqs last disabled at (14319639): [] invoke_softirq kernel/softirq.c:445 [inline] softirqs last disabled at (14319639): [] __irq_exit_rcu+0x155/0x240 kernel/softirq.c:650 CPU: 1 PID: 29763 Comm: kworker/u4:4 Not tainted 6.1.25-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:413 [inline] RIP: 0010:smp_call_function_many_cond+0x1f62/0x33d0 kernel/smp.c:987 Code: 2f 44 89 ee 83 e6 01 31 ff e8 9a 0c 0b 00 41 83 e5 01 49 bd 00 00 00 00 00 fc ff df 75 0a e8 25 09 0b 00 e9 1b ff ff ff f3 90 <42> 0f b6 04 2b 84 c0 75 14 41 f7 07 01 00 00 00 0f 84 fe fe ff ff RSP: 0018:ffffc900035af5a0 EFLAGS: 00000293 RAX: ffffffff817e85ed RBX: 1ffff11017308415 RCX: ffff888079439d40 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900035af980 R08: ffffffff817e85b6 R09: fffffbfff204e031 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000800000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880b98420a8 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020007000 CR3: 000000000cc8e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1155 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1316 [inline] text_poke_bp_batch+0x2bb/0x940 arch/x86/kernel/alternative.c:1516 text_poke_flush arch/x86/kernel/alternative.c:1707 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1714 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x12e/0x250 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate+0xbf/0x480 mm/kfence/core.c:804 process_one_work+0x8aa/0x11f0 kernel/workqueue.c:2289 worker_thread+0xa5f/0x1210 kernel/workqueue.c:2436 kthread+0x268/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 24953 Comm: syz-executor.2 Not tainted 6.1.25-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:check_preemption_disabled+0x19/0x110 lib/smp_processor_id.c:14 Code: cc 48 c7 c7 40 b4 3c 8b 48 c7 c6 80 b4 3c 8b eb 00 41 57 41 56 41 54 53 48 83 ec 10 65 48 8b 04 25 28 00 00 00 48 89 44 24 08 <65> 8b 1d 48 fb 83 75 65 8b 05 f1 50 84 75 a9 ff ff ff 7f 74 22 65 RSP: 0018:ffffc90000007ae8 EFLAGS: 00000086 RAX: 3ffcc6373388c400 RBX: 0000000000000000 RCX: ffffffff816995eb RDX: 0000000000000000 RSI: ffffffff8b3cb480 RDI: ffffffff8b3cb440 RBP: ffffc90000007ca0 R08: dffffc0000000000 R09: fffffbfff1ca4d66 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000000f70 R13: dffffc0000000000 R14: 0000000000000000 R15: 1758d32b2d39c4c0 FS: 00007fd76d646700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30721000 CR3: 0000000074d6a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:122 [inline] rcu_is_watching+0x11/0xb0 kernel/rcu/tree.c:719 trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0xfa/0x5a0 kernel/locking/lockdep.c:5640 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:306 rcu_read_lock include/linux/rcupdate.h:747 [inline] advance_sched+0x6ce/0x940 net/sched/sch_taprio.c:753 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x5e5/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline] __sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1113 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 72 f5 57 f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 07 fb d5 f6 65 8b 05 08 ab 7a 75 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc90004e56d60 EFLAGS: 00000206 RAX: 3ffcc6373388c400 RBX: 1ffff920009cadb0 RCX: ffffffff816a02ba RDX: dffffc0000000000 RSI: ffffffff8aebc620 RDI: 0000000000000001 RBP: ffffc90004e56df0 R08: dffffc0000000000 R09: fffffbfff204e049 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff920009cadac R14: ffffc90004e56d80 R15: 0000000000000246 spin_unlock_irqrestore include/linux/spinlock.h:405 [inline] taprio_change+0x49f6/0x5780 net/sched/sch_taprio.c:1677 qdisc_create+0x7ee/0x1130 net/sched/sch_api.c:1277 tc_modify_qdisc+0xa5f/0x1c00 rtnetlink_rcv_msg+0x776/0xf00 net/core/rtnetlink.c:6091 netlink_rcv_skb+0x1cd/0x410 net/netlink/af_netlink.c:2553 netlink_unicast_kernel net/netlink/af_netlink.c:1328 [inline] netlink_unicast+0x7bf/0x990 net/netlink/af_netlink.c:1354 netlink_sendmsg+0xa26/0xd60 net/netlink/af_netlink.c:1931 sock_sendmsg_nosec net/socket.c:716 [inline] sock_sendmsg net/socket.c:736 [inline] ____sys_sendmsg+0x59e/0x8f0 net/socket.c:2482 ___sys_sendmsg net/socket.c:2536 [inline] __sys_sendmsg+0x2a9/0x390 net/socket.c:2565 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+0x63/0xcd RIP: 0033:0x7fd76c88c169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd76d646168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fd76c9ac050 RCX: 00007fd76c88c169 RDX: 0000000000000000 RSI: 00000000200007c0 RDI: 0000000000000004 RBP: 00007fd76c8e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff9abc749f R14: 00007fd76d646300 R15: 0000000000022000