rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (13 ticks this GP) idle=f19/1/0x4000000000000000 softirq=6151/6151 fqs=0 (t=12521 jiffies g=5709 q=109) rcu: rcu_preempt kthread timer wakeup didn't happen for 12520 jiffies! g5709 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=2760 rcu: rcu_preempt kthread starved for 12521 jiffies! g5709 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=0 rcu: Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior. rcu: RCU grace-period kthread stack dump: task:rcu_preempt state:I stack:28944 pid: 16 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5073 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6382 schedule+0xd2/0x1f0 kernel/sched/core.c:6454 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1881 rcu_gp_fqs_loop+0x186/0x810 kernel/rcu/tree.c:1971 rcu_gp_kthread+0x1de/0x320 kernel/rcu/tree.c:2144 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 rcu: Stack dump where RCU GP kthread last ran: NMI backtrace for cpu 0 CPU: 0 PID: 3731 Comm: syz-executor156 Not tainted 5.18.0-rc1-syzkaller-00037-g42e7a03d3bad #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline] rcu_check_gp_kthread_starvation.cold+0x1fb/0x200 kernel/rcu/tree_stall.h:490 print_cpu_stall kernel/rcu/tree_stall.h:634 [inline] check_cpu_stall kernel/rcu/tree_stall.h:723 [inline] rcu_pending kernel/rcu/tree.c:3923 [inline] rcu_sched_clock_irq.cold+0x57/0x8d6 kernel/rcu/tree.c:2625 update_process_times+0x16d/0x200 kernel/time/timer.c:1785 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:243 tick_sched_timer+0xee/0x120 kernel/time/tick-sched.c:1473 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x1c0/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x38/0x70 kernel/locking/spinlock.c:194 Code: 74 24 10 e8 aa 61 fa f7 48 89 ef e8 f2 e0 fa f7 81 e3 00 02 00 00 75 25 9c 58 f6 c4 02 75 2d 48 85 db 74 01 fb bf 01 00 00 00 73 fb ed f7 65 8b 05 bc fc 9f 76 85 c0 74 0a 5b 5d c3 e8 90 2b RSP: 0018:ffffc900034cf268 EFLAGS: 00000206 RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff200ffb6 RDX: 0000000000000000 RSI: 0000000000000202 RDI: 0000000000000001 RBP: ffff8880b9d2a600 R08: 0000000000000001 R09: ffffffff900359c7 R10: 0000000000000001 R11: 0000000000000001 R12: 00000000ffffffff R13: 0000000000000246 R14: ffff8880b9d2a800 R15: dffffc0000000000 unlock_hrtimer_base kernel/time/hrtimer.c:1017 [inline] hrtimer_try_to_cancel kernel/time/hrtimer.c:1336 [inline] hrtimer_try_to_cancel+0x14e/0x1e0 kernel/time/hrtimer.c:1316 hrtimer_cancel+0x13/0x40 kernel/time/hrtimer.c:1443 taprio_reset+0x72/0x280 net/sched/sch_taprio.c:1631 qdisc_reset+0xdb/0x740 net/sched/sch_generic.c:1027 dev_reset_queue+0x92/0x130 net/sched/sch_generic.c:1281 netdev_for_each_tx_queue include/linux/netdevice.h:2385 [inline] dev_deactivate_many+0x365/0x9e0 net/sched/sch_generic.c:1347 dev_deactivate+0xe9/0x1b0 net/sched/sch_generic.c:1370 qdisc_graft+0xdb8/0x1270 net/sched/sch_api.c:1061 tc_modify_qdisc+0xbb7/0x1a00 net/sched/sch_api.c:1671 rtnetlink_rcv_msg+0x413/0xb80 net/core/rtnetlink.c:5990 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2496 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x543/0x7f0 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x904/0xe00 net/netlink/af_netlink.c:1921 sock_sendmsg_nosec net/socket.c:705 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:725 ____sys_sendmsg+0x6e2/0x800 net/socket.c:2413 ___sys_sendmsg+0xf3/0x170 net/socket.c:2467 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2496 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7ff944cfd749 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 81 15 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffce9e7fa18 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007ff944cfd749 RDX: 0000000000000000 RSI: 00000000200007c0 RDI: 0000000000000004 RBP: 0000000000000000 R08: 00007ffce9e7fa40 R09: 00007ffce9e7fa40 R10: 00007ffce9e7fa40 R11: 0000000000000246 R12: 00007ffce9e7fa3c R13: 00007ffce9e7fa50 R14: 00007ffce9e7fa90 R15: 000000000000005d NMI backtrace for cpu 0 CPU: 0 PID: 3731 Comm: syz-executor156 Not tainted 5.18.0-rc1-syzkaller-00037-g42e7a03d3bad #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline] rcu_dump_cpu_stacks+0x262/0x3f0 kernel/rcu/tree_stall.h:343 print_cpu_stall kernel/rcu/tree_stall.h:639 [inline] check_cpu_stall kernel/rcu/tree_stall.h:723 [inline] rcu_pending kernel/rcu/tree.c:3923 [inline] rcu_sched_clock_irq.cold+0xa1/0x8d6 kernel/rcu/tree.c:2625 update_process_times+0x16d/0x200 kernel/time/timer.c:1785 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:243 tick_sched_timer+0xee/0x120 kernel/time/tick-sched.c:1473 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x1c0/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x38/0x70 kernel/locking/spinlock.c:194 Code: 74 24 10 e8 aa 61 fa f7 48 89 ef e8 f2 e0 fa f7 81 e3 00 02 00 00 75 25 9c 58 f6 c4 02 75 2d 48 85 db 74 01 fb bf 01 00 00 00 73 fb ed f7 65 8b 05 bc fc 9f 76 85 c0 74 0a 5b 5d c3 e8 90 2b RSP: 0018:ffffc900034cf268 EFLAGS: 00000206 RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff200ffb6 RDX: 0000000000000000 RSI: 0000000000000202 RDI: 0000000000000001 RBP: ffff8880b9d2a600 R08: 0000000000000001 R09: ffffffff900359c7 R10: 0000000000000001 R11: 0000000000000001 R12: 00000000ffffffff R13: 0000000000000246 R14: ffff8880b9d2a800 R15: dffffc0000000000 unlock_hrtimer_base kernel/time/hrtimer.c:1017 [inline] hrtimer_try_to_cancel kernel/time/hrtimer.c:1336 [inline] hrtimer_try_to_cancel+0x14e/0x1e0 kernel/time/hrtimer.c:1316 hrtimer_cancel+0x13/0x40 kernel/time/hrtimer.c:1443 taprio_reset+0x72/0x280 net/sched/sch_taprio.c:1631 qdisc_reset+0xdb/0x740 net/sched/sch_generic.c:1027 dev_reset_queue+0x92/0x130 net/sched/sch_generic.c:1281 netdev_for_each_tx_queue include/linux/netdevice.h:2385 [inline] dev_deactivate_many+0x365/0x9e0 net/sched/sch_generic.c:1347 dev_deactivate+0xe9/0x1b0 net/sched/sch_generic.c:1370 qdisc_graft+0xdb8/0x1270 net/sched/sch_api.c:1061 tc_modify_qdisc+0xbb7/0x1a00 net/sched/sch_api.c:1671 rtnetlink_rcv_msg+0x413/0xb80 net/core/rtnetlink.c:5990 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2496 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x543/0x7f0 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x904/0xe00 net/netlink/af_netlink.c:1921 sock_sendmsg_nosec net/socket.c:705 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:725 ____sys_sendmsg+0x6e2/0x800 net/socket.c:2413 ___sys_sendmsg+0xf3/0x170 net/socket.c:2467 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2496 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7ff944cfd749 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 81 15 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffce9e7fa18 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007ff944cfd749 RDX: 0000000000000000 RSI: 00000000200007c0 RDI: 0000000000000004 RBP: 0000000000000000 R08: 00007ffce9e7fa40 R09: 00007ffce9e7fa40 R10: 00007ffce9e7fa40 R11: 0000000000000246 R12: 00007ffce9e7fa3c R13: 00007ffce9e7fa50 R14: 00007ffce9e7fa90 R15: 000000000000005d Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 50 Comm: kworker/u4:2 Not tainted 5.18.0-rc1-syzkaller-00037-g42e7a03d3bad #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:hlock_class kernel/locking/lockdep.c:197 [inline] RIP: 0010:__lock_acquire+0xbd2/0x56c0 kernel/locking/lockdep.c:5026 Code: 20 66 81 e3 ff 1f 0f b7 db be 08 00 00 00 48 89 d8 48 c1 f8 06 48 8d 3c c5 00 59 03 90 e8 36 f0 66 00 48 0f a3 1d 2e db a6 0e <0f> 83 c6 0c 00 00 48 8d 1c 5b 48 c1 e3 06 48 81 c3 20 5d 03 90 48 RSP: 0018:ffffc900003f88b8 EFLAGS: 00000047 RAX: 0000000000000001 RBX: 000000000000005b RCX: ffffffff815c7dca RDX: fffffbfff2006b22 RSI: 0000000000000008 RDI: ffffffff90035908 RBP: ffff888011c60c5a R08: 0000000000000000 R09: ffffffff9003590f R10: fffffbfff2006b21 R11: 0000000000000001 R12: ffff888011c60c38 R13: ffff888011c600c0 R14: 0000000000000001 R15: 183692a86c5fd1df FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff944d7b370 CR3: 000000000ba8e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5641 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5606 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irq+0x32/0x50 kernel/locking/spinlock.c:170 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x243/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x40/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:kvm_wait+0x98/0x100 arch/x86/kernel/kvm.c:1006 Code: fa 83 e2 07 38 d0 7f 04 84 c0 75 63 0f b6 07 40 38 c6 74 35 48 83 c4 10 c3 c3 e8 03 39 4a 00 eb 07 0f 00 2d 3a 1e 95 08 fb f4 <48> 83 c4 10 c3 89 74 24 0c 48 89 3c 24 e8 36 37 4a 00 8b 74 24 0c RSP: 0018:ffffc900003f8d98 EFLAGS: 00000202 RAX: 000000000001105e RBX: 0000000000000000 RCX: 1ffffffff200ffb6 RDX: 0000000000000000 RSI: 0000000000000102 RDI: 0000000000000000 RBP: ffff88807cddf8f0 R08: 0000000000000001 R09: ffffffff900359c7 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: ffffed100f9bbf1e R14: 0000000000000001 R15: ffff8880b9d3ae80 pv_wait arch/x86/include/asm/paravirt.h:603 [inline] pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline] __pv_queued_spin_lock_slowpath+0x8b7/0xb40 kernel/locking/qspinlock.c:508 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:591 [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+0x200/0x2a0 kernel/locking/spinlock_debug.c:115 spin_lock include/linux/spinlock.h:349 [inline] net_tx_action+0x3d8/0xd60 net/core/dev.c:4988 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:rep_nop arch/x86/include/asm/vdso/processor.h:13 [inline] RIP: 0010:cpu_relax arch/x86/include/asm/vdso/processor.h:18 [inline] RIP: 0010:csd_lock_wait kernel/smp.c:440 [inline] RIP: 0010:smp_call_function_many_cond+0x4df/0xc90 kernel/smp.c:969 Code: e5 01 89 ee e8 12 ba 0b 00 85 ed 74 4d 48 b8 00 00 00 00 00 fc ff df 4d 89 f4 4c 89 f5 49 c1 ec 03 83 e5 07 49 01 c4 83 c5 03 cc b7 0b 00 f3 90 41 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 e9 RSP: 0018:ffffc90000dbf9d8 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffff8880b9c3f740 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffff888011c600c0 RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff816c9e3a R11: 0000000000000000 R12: ffffed1017387ee9 R13: 0000000000000000 R14: ffff8880b9c3f748 R15: 0000000000000001 on_each_cpu_cond_mask+0x56/0xa0 kernel/smp.c:1135 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1184 [inline] text_poke_bp_batch+0x22c/0x6b0 arch/x86/kernel/alternative.c:1372 text_poke_flush arch/x86/kernel/alternative.c:1542 [inline] text_poke_flush arch/x86/kernel/alternative.c:1539 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1549 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 jump_label_update+0x32f/0x410 kernel/jump_label.c:830 static_key_enable_cpuslocked+0x1b1/0x260 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate mm/kfence/core.c:785 [inline] toggle_allocation_gate+0x100/0x390 mm/kfence/core.c:777 process_one_work+0x996/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 2.242 msecs ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 24 10 and $0x10,%al 2: e8 aa 61 fa f7 callq 0xf7fa61b1 7: 48 89 ef mov %rbp,%rdi a: e8 f2 e0 fa f7 callq 0xf7fae101 f: 81 e3 00 02 00 00 and $0x200,%ebx 15: 75 25 jne 0x3c 17: 9c pushfq 18: 58 pop %rax 19: f6 c4 02 test $0x2,%ah 1c: 75 2d jne 0x4b 1e: 48 85 db test %rbx,%rbx 21: 74 01 je 0x24 23: fb sti 24: bf 01 00 00 00 mov $0x1,%edi * 29: e8 73 fb ed f7 callq 0xf7edfba1 <-- trapping instruction 2e: 65 8b 05 bc fc 9f 76 mov %gs:0x769ffcbc(%rip),%eax # 0x769ffcf1 35: 85 c0 test %eax,%eax 37: 74 0a je 0x43 39: 5b pop %rbx 3a: 5d pop %rbp 3b: c3 retq 3c: e8 .byte 0xe8 3d: 90 nop 3e: 2b .byte 0x2b