rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 1-...!: (10501 ticks this GP) idle=093/1/0x4000000000000000 softirq=146348/146348 fqs=0 (t=10502 jiffies g=233717 q=50 ncpus=2) rcu: rcu_preempt kthread timer wakeup didn't happen for 10502 jiffies! g233717 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=117824 rcu: rcu_preempt kthread starved for 10505 jiffies! g233717 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=1 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:28376 pid: 17 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5109 [inline] __schedule+0xa9a/0x4cc0 kernel/sched/core.c:6424 schedule+0xd2/0x1f0 kernel/sched/core.c:6496 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1907 rcu_gp_fqs_loop+0x1c0/0x840 kernel/rcu/tree.c:2078 rcu_gp_kthread+0x1de/0x320 kernel/rcu/tree.c:2267 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 1 CPU: 1 PID: 4098 Comm: kworker/u4:12 Not tainted 5.18.0-rc5-next-20220506-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net 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:512 print_cpu_stall kernel/rcu/tree_stall.h:657 [inline] check_cpu_stall kernel/rcu/tree_stall.h:744 [inline] rcu_pending kernel/rcu/tree.c:4068 [inline] rcu_sched_clock_irq.cold+0xfa/0x77b kernel/rcu/tree.c:2755 update_process_times+0x16d/0x200 kernel/time/timer.c:1811 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:243 tick_sched_timer+0xee/0x120 kernel/time/tick-sched.c:1481 __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:1095 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:__sanitizer_cov_trace_pc+0x5c/0x60 kernel/kcov.c:210 Code: 82 80 15 00 00 83 f8 02 75 20 48 8b 8a 88 15 00 00 8b 92 84 15 00 00 48 8b 01 48 83 c0 01 48 39 c2 76 07 48 89 34 c1 48 89 01 0f 1f 00 41 55 41 54 49 89 fc 55 48 bd eb 83 b5 80 46 86 c8 61 RSP: 0018:ffffc90005acfbc0 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 000000007aea3124 RCX: 0000000000000000 RDX: ffff888022928000 RSI: ffffffff841e3a5d RDI: ffff88807847e400 RBP: ffff88807847e400 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff88e74459 R11: 0000000000000000 R12: ffff88807847e458 R13: ffffed100f08fc93 R14: ffff88802cdaaa00 R15: 0000000000000001 idr_find+0xd/0x50 lib/idr.c:174 tipc_topsrv_stop net/tipc/topsrv.c:691 [inline] tipc_topsrv_exit_net+0x20a/0x5d0 net/tipc/topsrv.c:715 ops_exit_list+0xb0/0x170 net/core/net_namespace.c:162 cleanup_net+0x4ea/0xb00 net/core/net_namespace.c:594 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 NMI backtrace for cpu 1 CPU: 1 PID: 4098 Comm: kworker/u4:12 Not tainted 5.18.0-rc5-next-20220506-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net 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:369 print_cpu_stall kernel/rcu/tree_stall.h:659 [inline] check_cpu_stall kernel/rcu/tree_stall.h:744 [inline] rcu_pending kernel/rcu/tree.c:4068 [inline] rcu_sched_clock_irq.cold+0xff/0x77b kernel/rcu/tree.c:2755 update_process_times+0x16d/0x200 kernel/time/timer.c:1811 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:243 tick_sched_timer+0xee/0x120 kernel/time/tick-sched.c:1481 __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:1095 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:__sanitizer_cov_trace_pc+0x5c/0x60 kernel/kcov.c:210 Code: 82 80 15 00 00 83 f8 02 75 20 48 8b 8a 88 15 00 00 8b 92 84 15 00 00 48 8b 01 48 83 c0 01 48 39 c2 76 07 48 89 34 c1 48 89 01 0f 1f 00 41 55 41 54 49 89 fc 55 48 bd eb 83 b5 80 46 86 c8 61 RSP: 0018:ffffc90005acfbc0 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 000000007aea3124 RCX: 0000000000000000 RDX: ffff888022928000 RSI: ffffffff841e3a5d RDI: ffff88807847e400 RBP: ffff88807847e400 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff88e74459 R11: 0000000000000000 R12: ffff88807847e458 R13: ffffed100f08fc93 R14: ffff88802cdaaa00 R15: 0000000000000001 idr_find+0xd/0x50 lib/idr.c:174 tipc_topsrv_stop net/tipc/topsrv.c:691 [inline] tipc_topsrv_exit_net+0x20a/0x5d0 net/tipc/topsrv.c:715 ops_exit_list+0xb0/0x170 net/core/net_namespace.c:162 cleanup_net+0x4ea/0xb00 net/core/net_namespace.c:594 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 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 80 15 00 00 83 f8 02 adcb $0x2,-0x77d0000(%rip) # 0xf8830007 7: 75 20 jne 0x29 9: 48 8b 8a 88 15 00 00 mov 0x1588(%rdx),%rcx 10: 8b 92 84 15 00 00 mov 0x1584(%rdx),%edx 16: 48 8b 01 mov (%rcx),%rax 19: 48 83 c0 01 add $0x1,%rax 1d: 48 39 c2 cmp %rax,%rdx 20: 76 07 jbe 0x29 22: 48 89 34 c1 mov %rsi,(%rcx,%rax,8) 26: 48 89 01 mov %rax,(%rcx) * 29: c3 retq <-- trapping instruction 2a: 0f 1f 00 nopl (%rax) 2d: 41 55 push %r13 2f: 41 54 push %r12 31: 49 89 fc mov %rdi,%r12 34: 55 push %rbp 35: 48 bd eb 83 b5 80 46 movabs $0x61c8864680b583eb,%rbp 3c: 86 c8 61