rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (1 GPs behind) idle=0a9/1/0x4000000000000000 softirq=195648/195649 fqs=5 (t=10502 jiffies g=317861 q=10) rcu: rcu_preempt kthread timer wakeup didn't happen for 10492 jiffies! g317861 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=255047 rcu: rcu_preempt kthread starved for 10495 jiffies! g317861 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:28880 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4987 [inline] __schedule+0xa94/0x4910 kernel/sched/core.c:6296 schedule+0xd2/0x260 kernel/sched/core.c:6369 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1881 rcu_gp_fqs_loop+0x186/0x810 kernel/rcu/tree.c:1963 rcu_gp_kthread+0x1de/0x320 kernel/rcu/tree.c:2136 kthread+0x2e9/0x3a0 kernel/kthread.c:377 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 CPU: 1 PID: 688 Comm: syz-executor.3 Not tainted 5.17.0-rc3-syzkaller-00334-gc5d714aa6dce #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:kvm_wait+0x98/0x100 arch/x86/kernel/kvm.c:1001 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 b3 2d 4a 00 eb 07 0f 00 2d ca 5a 75 08 fb f4 <48> 83 c4 10 c3 89 74 24 0c 48 89 3c 24 e8 56 2f 4a 00 8b 74 24 0c RSP: 0018:ffffc90004c87838 EFLAGS: 00000206 RAX: 000000000000ac48 RBX: 0000000000000000 RCX: 1ffffffff2001eee RDX: 0000000000000000 RSI: 0000000000000201 RDI: 0000000000000000 RBP: ffff88805036a4d8 R08: 0000000000000001 R09: ffffffff8ffc6a07 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: ffffed100a06d49b R14: 0000000000000001 R15: ffff8880b9d3ab00 FS: 00007fb97ce8b700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e22e000 CR3: 000000007cbd6000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: 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+0x8b8/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/0x2b0 kernel/locking/spinlock_debug.c:115 spin_lock_bh include/linux/spinlock.h:354 [inline] lock_sock_nested+0x5b/0xf0 net/core/sock.c:3299 lock_sock include/net/sock.h:1668 [inline] sk_stream_wait_memory+0x87d/0xed0 net/core/stream.c:145 tcp_sendmsg_locked+0x7cc/0x2e20 net/ipv4/tcp.c:1411 tcp_sendmsg+0x2b/0x40 net/ipv4/tcp.c:1449 inet_sendmsg+0x99/0xe0 net/ipv4/af_inet.c:819 sock_sendmsg_nosec net/socket.c:705 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:725 __sys_sendto+0x21c/0x320 net/socket.c:2040 __do_sys_sendto net/socket.c:2052 [inline] __se_sys_sendto net/socket.c:2048 [inline] __x64_sys_sendto+0xdd/0x1b0 net/socket.c:2048 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:0x7fb97e516059 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fb97ce8b168 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007fb97e628f60 RCX: 00007fb97e516059 RDX: 00000000ffffff1f RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 00007fb97e57008d R08: 0000000000000000 R09: 0300000080305551 R10: 0000000000004001 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd4b35c4ff R14: 00007fb97ce8b300 R15: 0000000000022000 NMI backtrace for cpu 0 CPU: 0 PID: 13 Comm: ksoftirqd/0 Not tainted 5.17.0-rc3-syzkaller-00334-gc5d714aa6dce #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+0x25e/0x3f0 kernel/rcu/tree_stall.h:343 print_cpu_stall kernel/rcu/tree_stall.h:604 [inline] check_cpu_stall kernel/rcu/tree_stall.h:688 [inline] rcu_pending kernel/rcu/tree.c:3919 [inline] rcu_sched_clock_irq.cold+0x402/0x755 kernel/rcu/tree.c:2617 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+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:prefetchw arch/x86/include/asm/processor.h:741 [inline] RIP: 0010:slab_alloc mm/slab.c:3311 [inline] RIP: 0010:kmem_cache_alloc+0x195/0x560 mm/slab.c:3499 Code: 0f 84 a2 01 00 00 4d 85 f6 4c 89 7c 24 08 0f 85 39 02 00 00 9c 58 f6 c4 02 0f 85 b1 02 00 00 4d 85 f6 74 01 fb 48 8b 74 24 08 <0f> 0d 0e 0f 1f 44 00 00 48 83 7b 50 00 0f 84 8e 00 00 00 44 23 25 RSP: 0018:ffffc90000f3f4a0 EFLAGS: 00000206 RAX: 0000000000000012 RBX: ffff8881400a2e00 RCX: 1ffffffff2002656 RDX: 0000000000000000 RSI: ffff8881a33fe580 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000001 R09: ffffffff8ffc6a0f R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000a20 R13: 0000000000000a20 R14: 0000000000000200 R15: ffff8881a33fe580 skb_clone+0x170/0x3c0 net/core/skbuff.c:1519 sk_psock_verdict_recv+0x72/0x780 net/core/skmsg.c:1159 tcp_read_sock+0x1f8/0x580 net/ipv4/tcp.c:1682 sk_psock_verdict_data_ready+0x11a/0x180 net/core/skmsg.c:1202 tcp_data_ready+0x106/0x540 net/ipv4/tcp_input.c:4979 tcp_data_queue+0x23ee/0x4bb0 net/ipv4/tcp_input.c:5049 tcp_rcv_established+0x81e/0x1ff0 net/ipv4/tcp_input.c:5947 tcp_v4_do_rcv+0x65e/0x980 net/ipv4/tcp_ipv4.c:1719 tcp_v4_rcv+0x27d7/0x3170 net/ipv4/tcp_ipv4.c:2119 ip_protocol_deliver_rcu+0xa3/0xf30 net/ipv4/ip_input.c:204 ip_local_deliver_finish+0x20a/0x370 net/ipv4/ip_input.c:231 NF_HOOK include/linux/netfilter.h:307 [inline] NF_HOOK include/linux/netfilter.h:301 [inline] ip_local_deliver+0x1b3/0x200 net/ipv4/ip_input.c:252 dst_input include/net/dst.h:461 [inline] ip_rcv_finish+0x1cb/0x2f0 net/ipv4/ip_input.c:429 NF_HOOK include/linux/netfilter.h:307 [inline] NF_HOOK include/linux/netfilter.h:301 [inline] ip_rcv+0xaa/0xd0 net/ipv4/ip_input.c:540 __netif_receive_skb_one_core+0x114/0x180 net/core/dev.c:5351 __netif_receive_skb+0x24/0x1b0 net/core/dev.c:5465 process_backlog+0x2a5/0x6c0 net/core/dev.c:5797 __napi_poll+0xb3/0x6e0 net/core/dev.c:6365 napi_poll net/core/dev.c:6432 [inline] net_rx_action+0x801/0xb40 net/core/dev.c:6519 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 run_ksoftirqd kernel/softirq.c:921 [inline] run_ksoftirqd+0x2d/0x60 kernel/softirq.c:913 smpboot_thread_fn+0x645/0x9c0 kernel/smpboot.c:164 kthread+0x2e9/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: fa cli 1: 83 e2 07 and $0x7,%edx 4: 38 d0 cmp %dl,%al 6: 7f 04 jg 0xc 8: 84 c0 test %al,%al a: 75 63 jne 0x6f c: 0f b6 07 movzbl (%rdi),%eax f: 40 38 c6 cmp %al,%sil 12: 74 35 je 0x49 14: 48 83 c4 10 add $0x10,%rsp 18: c3 retq 19: c3 retq 1a: e8 b3 2d 4a 00 callq 0x4a2dd2 1f: eb 07 jmp 0x28 21: 0f 00 2d ca 5a 75 08 verw 0x8755aca(%rip) # 0x8755af2 28: fb sti 29: f4 hlt * 2a: 48 83 c4 10 add $0x10,%rsp <-- trapping instruction 2e: c3 retq 2f: 89 74 24 0c mov %esi,0xc(%rsp) 33: 48 89 3c 24 mov %rdi,(%rsp) 37: e8 56 2f 4a 00 callq 0x4a2f92 3c: 8b 74 24 0c mov 0xc(%rsp),%esi