watchdog: BUG: soft lockup - CPU#0 stuck for 308s! [syz-executor.5:1394] Modules linked in: CPU: 0 PID: 1394 Comm: syz-executor.5 Not tainted 5.15.122-syzkaller-00676-g1463976ddc64 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline] RIP: 0010:arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] RIP: 0010:kvm_wait+0x147/0x180 arch/x86/kernel/kvm.c:918 Code: 4c 89 e8 48 c1 e8 03 42 0f b6 04 20 84 c0 44 8b 74 24 1c 75 34 41 0f b6 45 00 44 38 f0 75 10 66 90 0f 00 2d 6b ff f2 03 fb f4 24 ff ff ff fb e9 1e ff ff ff 44 89 e9 80 e1 07 38 c1 7c a3 4c RSP: 0018:ffffc90000a06b00 EFLAGS: 00000246 RAX: 0000000000000003 RBX: 1ffff92000140d64 RCX: ffffffff8154ce3f RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff88815d04c8ac RBP: ffffc90000a06bb0 R08: dffffc0000000000 R09: ffffed102ba09916 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff88815d04c8ac R14: 0000000000000003 R15: 1ffff92000140d68 FS: 00007fd15db956c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33022000 CR3: 00000001210da000 CR4: 00000000003506b0 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_bh include/linux/spinlock_api_smp.h:136 [inline] _raw_spin_lock_bh+0x139/0x1b0 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:368 [inline] get_dist_table+0x207/0x2e0 net/sched/sch_netem.c:798 netem_change+0xa05/0x20c0 net/sched/sch_netem.c:988 netem_init+0x5b/0xb0 net/sched/sch_netem.c:1075 qdisc_create+0x890/0x12e0 net/sched/sch_api.c:1264 tc_modify_qdisc+0x8b4/0x14b0 rtnetlink_rcv_msg+0x951/0xc40 net/core/rtnetlink.c:5599 netlink_rcv_skb+0x1cf/0x410 net/netlink/af_netlink.c:2505 rtnetlink_rcv+0x1c/0x20 net/core/rtnetlink.c:5617 netlink_unicast_kernel net/netlink/af_netlink.c:1330 [inline] netlink_unicast+0x8df/0xac0 net/netlink/af_netlink.c:1356 netlink_sendmsg+0xa0a/0xd20 net/netlink/af_netlink.c:1924 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg net/socket.c:724 [inline] ____sys_sendmsg+0x59e/0x8f0 net/socket.c:2412 ___sys_sendmsg+0x252/0x2e0 net/socket.c:2466 __sys_sendmsg net/socket.c:2495 [inline] __do_sys_sendmsg net/socket.c:2504 [inline] __se_sys_sendmsg+0x19a/0x260 net/socket.c:2502 __x64_sys_sendmsg+0x7b/0x90 net/socket.c:2502 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:0x7fd15ee12ae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd15db950c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fd15ef31f80 RCX: 00007fd15ee12ae9 RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000003 RBP: 00007fd15ee5e47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd15ef31f80 R15: 00007ffe7c533108 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 45 Comm: kworker/u4:2 Not tainted 5.15.122-syzkaller-00676-g1463976ddc64 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 Workqueue: events_unbound toggle_allocation_gate 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 9e 0a 00 41 83 e7 01 49 bf 00 00 00 00 00 fc ff df 75 07 e8 b1 9a 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 9a RSP: 0018:ffffc900002ef880 EFLAGS: 00000293 RAX: ffffffff81654cab RBX: 1ffff1103ee07971 RCX: ffff8881049f2780 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900002ef998 R08: ffffffff81654c7a R09: ffffed103ee07059 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffff8881f703cb88 R14: ffff8881f7138280 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fab5be47000 CR3: 000000000680f000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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:1183 [inline] text_poke_bp_batch+0x1c4/0x5d0 arch/x86/kernel/alternative.c:1374 text_poke_flush arch/x86/kernel/alternative.c:1542 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:1549 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 toggle_allocation_gate+0x3be/0x460 mm/kfence/core.c:743 process_one_work+0x6bb/0xc10 kernel/workqueue.c:2317 worker_thread+0xad5/0x12a0 kernel/workqueue.c:2464 kthread+0x421/0x510 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298