RBP: 00007fd9e9ec847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd9e9f9bf80 R15: 00007ffd1d9df698 watchdog: BUG: soft lockup - CPU#1 stuck for 123s! [syz-executor.4:12892] Modules linked in: CPU: 1 PID: 12892 Comm: syz-executor.4 Not tainted 5.10.189-syzkaller-00615-gc6a1fbd8e4aa #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:native_restore_fl arch/x86/include/asm/irqflags.h:41 [inline] RIP: 0010:arch_local_irq_restore arch/x86/include/asm/irqflags.h:84 [inline] RIP: 0010:kvm_wait+0xfc/0x150 arch/x86/kernel/kvm.c:926 Code: 38 f0 75 26 41 f7 c7 00 02 00 00 75 0f 0f 1f 44 00 00 0f 00 2d c5 47 d5 03 f4 eb 0e 0f 1f 44 00 00 0f 00 2d b6 47 d5 03 fb f4 <4c> 89 7c 24 18 ff 74 24 18 9d 48 c7 44 24 20 0e 36 e0 45 49 c7 04 RSP: 0018:ffffc900063ceb00 EFLAGS: 00000246 RAX: 0000000000000003 RBX: 1ffff92000c79d64 RCX: ffffffff8150b3d4 RDX: 0000000000000001 RSI: 0000000000000003 RDI: ffffc900063ceb40 RBP: ffffc900063cebb0 R08: dffffc0000000000 R09: fffffbfff0d9e1ae R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffffffff86cf0d6c R14: 0000000000000003 R15: 0000000000000246 FS: 00007fd9e8bff6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2c822000 CR3: 000000010f2e9000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: pv_wait arch/x86/include/asm/paravirt.h:564 [inline] pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline] __pv_queued_spin_lock_slowpath+0x72f/0xc70 kernel/locking/qspinlock.c:508 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:554 [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:183 [inline] __raw_spin_lock_bh include/linux/spinlock_api_smp.h:136 [inline] _raw_spin_lock_bh+0x139/0x1b0 kernel/locking/spinlock.c:175 spin_lock_bh include/linux/spinlock.h:359 [inline] get_dist_table+0x207/0x2e0 net/sched/sch_netem.c:798 netem_change+0x974/0x1fb0 net/sched/sch_netem.c:988 netem_init+0x5b/0xb0 net/sched/sch_netem.c:1075 qdisc_create+0x879/0x12d0 net/sched/sch_api.c:1264 tc_modify_qdisc+0x8a4/0x13f0 rtnetlink_rcv_msg+0x955/0xc50 net/core/rtnetlink.c:5577 netlink_rcv_skb+0x1cf/0x410 net/netlink/af_netlink.c:2497 rtnetlink_rcv+0x1c/0x20 net/core/rtnetlink.c:5595 netlink_unicast_kernel net/netlink/af_netlink.c:1322 [inline] netlink_unicast+0x8df/0xac0 net/netlink/af_netlink.c:1348 netlink_sendmsg+0xa46/0xd00 net/netlink/af_netlink.c:1916 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg net/socket.c:672 [inline] ____sys_sendmsg+0x59e/0x8f0 net/socket.c:2357 ___sys_sendmsg+0x252/0x2e0 net/socket.c:2411 __sys_sendmsg net/socket.c:2440 [inline] __do_sys_sendmsg net/socket.c:2449 [inline] __se_sys_sendmsg+0x1b1/0x280 net/socket.c:2447 __x64_sys_sendmsg+0x7b/0x90 net/socket.c:2447 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fd9e9e7cae9 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:00007fd9e8bff0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fd9e9f9bf80 RCX: 00007fd9e9e7cae9 RDX: 0000000000000000 RSI: 0000000020000400 RDI: 0000000000000004 RBP: 00007fd9e9ec847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd9e9f9bf80 R15: 00007ffd1d9df698 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 9538 Comm: kworker/u4:1 Not tainted 5.10.189-syzkaller-00615-gc6a1fbd8e4aa #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:229 [inline] RIP: 0010:smp_call_function_single+0x278/0x510 kernel/smp.c:517 Code: 0f 85 18 02 00 00 44 8b 6c 24 48 44 89 ee 83 e6 01 31 ff e8 ca e7 0a 00 41 83 e5 01 75 0a e8 0f e4 0a 00 e9 eb 00 00 00 f3 90 <42> 0f b6 04 23 84 c0 75 15 f7 44 24 48 01 00 00 00 0f 84 cd 00 00 RSP: 0018:ffffc900000f7720 EFLAGS: 00000293 RAX: ffffffff815fb504 RBX: 1ffff9200001eeed RCX: ffff88810e3ecf00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900000f7810 R08: ffffffff815fb4d6 R09: ffffed103ee2aed1 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 0000000000000001 R14: ffffc900000f7768 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c029adc000 CR3: 000000000660f000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: smp_call_function_many_cond+0x94e/0xa30 kernel/smp.c:653 smp_call_function_many kernel/smp.c:716 [inline] smp_call_function kernel/smp.c:738 [inline] on_each_cpu+0xa8/0x1a0 kernel/smp.c:837 text_poke_sync arch/x86/kernel/alternative.c:1300 [inline] text_poke_bp_batch+0x1d4/0x600 arch/x86/kernel/alternative.c:1491 text_poke_flush arch/x86/kernel/alternative.c:1659 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:1666 arch_jump_label_transform_apply+0x15/0x30 arch/x86/kernel/jump_label.c:126 __jump_label_update+0x36a/0x380 kernel/jump_label.c:459 jump_label_update+0x379/0x400 kernel/jump_label.c:825 static_key_enable_cpuslocked+0x12f/0x250 kernel/jump_label.c:177 static_key_enable+0x1a/0x30 kernel/jump_label.c:190 toggle_allocation_gate+0xbf/0x450 mm/kfence/core.c:624 process_one_work+0x6dc/0xbd0 kernel/workqueue.c:2301 worker_thread+0xaea/0x1510 kernel/workqueue.c:2447 kthread+0x34b/0x3d0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:299