rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: (detected by 1, t=10502 jiffies, g=154305, q=1375) rcu: All QSes seen, last rcu_preempt kthread activity 10382 (4295051134-4295040752), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10382 jiffies! g154305 f0x2 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:28944 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1881 rcu_gp_fqs_loop+0x186/0x810 kernel/rcu/tree.c:1955 rcu_gp_kthread+0x1de/0x320 kernel/rcu/tree.c:2128 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 rcu: Stack dump where RCU GP kthread last ran: NMI backtrace for cpu 1 CPU: 1 PID: 5993 Comm: syz-executor.4 Not tainted 5.16.0-rc5-syzkaller #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+0x1b3/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:481 print_other_cpu_stall kernel/rcu/tree_stall.h:586 [inline] check_cpu_stall kernel/rcu/tree_stall.h:729 [inline] rcu_pending kernel/rcu/tree.c:3878 [inline] rcu_sched_clock_irq+0x2125/0x2200 kernel/rcu/tree.c:2597 update_process_times+0x16d/0x200 kernel/time/timer.c:1785 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:226 tick_sched_timer+0x1b0/0x2d0 kernel/time/tick-sched.c:1428 __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+0x40/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:spin_unlock include/linux/spinlock.h:389 [inline] RIP: 0010:garp_join_timer+0x96/0xf0 net/802/garp.c:421 Code: 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 64 48 83 bb e8 00 00 00 00 74 0d e8 42 fa 2e fa 4c 89 e7 e8 3a e7 ff ff 35 fa 2e fa 4c 89 ef 48 81 c3 90 00 00 00 e8 d6 5a ff 01 eb 0d RSP: 0018:ffffc90000fd8d08 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: ffff888077e57410 RCX: 0000000000000100 RDX: 1ffff1100efcae9f RSI: ffffffff8747ea71 RDI: ffff888077e574f8 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000003 R10: fffff520001fb193 R11: 0000000000000000 R12: ffff888077e57400 R13: ffff888077e57460 R14: ffffffff8747ea10 R15: 0000000000000000 call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1421 expire_timers kernel/time/timer.c:1466 [inline] __run_timers.part.0+0x675/0xa20 kernel/time/timer.c:1734 __run_timers kernel/time/timer.c:1715 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1747 __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:638 RIP: 0010:n_tty_write+0xb0a/0xfd0 drivers/tty/n_tty.c:2339 Code: 00 49 83 be 08 05 00 00 00 74 1f e8 60 83 3d fd 49 8d be 38 04 00 00 be 08 00 00 00 e8 0f c1 83 fd f0 41 80 8e 38 04 00 00 20 41 83 3d fd 48 8b 7c 24 68 e8 a7 69 21 fd 4c 8b bc 24 88 00 00 RSP: 0018:ffffc900103c7630 EFLAGS: 00000286 RAX: 0000000080000000 RBX: ffffffff843fd870 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000001 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: ffffffff8ff77a97 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: ffff88808f12d000 R14: ffff88808f12d000 R15: dffffc0000000000 do_tty_write drivers/tty/tty_io.c:1038 [inline] file_tty_write.constprop.0+0x526/0x910 drivers/tty/tty_io.c:1110 call_write_iter include/linux/fs.h:2162 [inline] io_write+0x352/0xbe0 fs/io_uring.c:3700 io_issue_sqe+0x7b9/0x7060 fs/io_uring.c:6676 __io_queue_sqe fs/io_uring.c:7018 [inline] io_queue_sqe fs/io_uring.c:7060 [inline] io_submit_sqe fs/io_uring.c:7263 [inline] io_submit_sqes+0x1bca/0x8a20 fs/io_uring.c:7369 __do_sys_io_uring_enter+0xf6e/0x1f50 fs/io_uring.c:10072 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:0x7f546195ce99 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f54602d2168 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007f5461a6ff60 RCX: 00007f546195ce99 RDX: 0000000000000000 RSI: 0000000000000302 RDI: 0000000000000004 RBP: 00007f54619b7031 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffeeca5b53f R14: 00007f54602d2300 R15: 0000000000022000 ---------------- Code disassembly (best guess), 5 bytes skipped: 0: df 48 89 fisttps -0x77(%rax) 3: fa cli 4: 48 c1 ea 03 shr $0x3,%rdx 8: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) c: 75 64 jne 0x72 e: 48 83 bb e8 00 00 00 cmpq $0x0,0xe8(%rbx) 15: 00 16: 74 0d je 0x25 18: e8 42 fa 2e fa callq 0xfa2efa5f 1d: 4c 89 e7 mov %r12,%rdi 20: e8 3a e7 ff ff callq 0xffffe75f * 25: e8 35 fa 2e fa callq 0xfa2efa5f <-- trapping instruction 2a: 4c 89 ef mov %r13,%rdi 2d: 48 81 c3 90 00 00 00 add $0x90,%rbx 34: e8 d6 5a ff 01 callq 0x1ff5b0f 39: eb 0d jmp 0x48