rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (10578 ticks this GP) idle=f39/1/0x4000000000000000 softirq=54222/54225 fqs=495 (t=10500 jiffies g=82369 q=376) rcu: rcu_preempt kthread starved for 9500 jiffies! g82369 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R running task stack:28752 pid: 16 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5043 [inline] __schedule+0xa94/0x4910 kernel/sched/core.c:6352 schedule+0xd2/0x1f0 kernel/sched/core.c:6424 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1881 rcu_gp_fqs_loop+0x186/0x810 kernel/rcu/tree.c:1999 rcu_gp_kthread+0x1de/0x320 kernel/rcu/tree.c:2172 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline] NMI backtrace for cpu 1 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] NMI backtrace for cpu 1 skipped: idling at acpi_safe_halt drivers/acpi/processor_idle.c:115 [inline] NMI backtrace for cpu 1 skipped: idling at acpi_idle_do_entry+0x1c6/0x250 drivers/acpi/processor_idle.c:556 NMI backtrace for cpu 0 CPU: 0 PID: 7161 Comm: kworker/u4:25 Not tainted 5.17.0-rc6-next-20220301-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:665 [inline] check_cpu_stall kernel/rcu/tree_stall.h:749 [inline] rcu_pending kernel/rcu/tree.c:3960 [inline] rcu_sched_clock_irq.cold+0x13b/0x8e9 kernel/rcu/tree.c:2660 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:638 RIP: 0010:shift_maxindex lib/radix-tree.c:211 [inline] RIP: 0010:node_maxindex lib/radix-tree.c:216 [inline] RIP: 0010:radix_tree_load_root lib/radix-tree.c:395 [inline] RIP: 0010:__radix_tree_lookup+0xb4/0x2a0 lib/radix-tree.c:756 Code: 48 c1 e8 03 48 83 e3 fd 0f b6 04 28 84 c0 74 06 0f 8e ce 01 00 00 44 0f b6 2b bf 3f 00 00 00 44 89 ee 44 89 eb e8 0c d3 66 fd <41> 83 fd 3f 0f 87 12 ea 15 05 e8 dd d0 66 fd 89 d9 b8 40 00 00 00 RSP: 0018:ffffc90004dafb80 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffff88803430ba80 RDI: 0000000000000003 RBP: dffffc0000000000 R08: 000000000000003f R09: 0000000000000000 R10: ffffffff841229c4 R11: 0000000000000000 R12: ffff888073bca102 R13: 0000000000000000 R14: ffffffff83776c29 R15: 0000000000000001 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:295 ---------------- Code disassembly (best guess): 0: 48 c1 e8 03 shr $0x3,%rax 4: 48 83 e3 fd and $0xfffffffffffffffd,%rbx 8: 0f b6 04 28 movzbl (%rax,%rbp,1),%eax c: 84 c0 test %al,%al e: 74 06 je 0x16 10: 0f 8e ce 01 00 00 jle 0x1e4 16: 44 0f b6 2b movzbl (%rbx),%r13d 1a: bf 3f 00 00 00 mov $0x3f,%edi 1f: 44 89 ee mov %r13d,%esi 22: 44 89 eb mov %r13d,%ebx 25: e8 0c d3 66 fd callq 0xfd66d336 * 2a: 41 83 fd 3f cmp $0x3f,%r13d <-- trapping instruction 2e: 0f 87 12 ea 15 05 ja 0x515ea46 34: e8 dd d0 66 fd callq 0xfd66d116 39: 89 d9 mov %ebx,%ecx 3b: b8 40 00 00 00 mov $0x40,%eax