rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (1 GPs behind) idle=3d6/1/0x4000000000000000 softirq=95613/95614 fqs=27 (t=10501 jiffies g=163497 q=522) rcu: rcu_preempt kthread starved for 10386 jiffies! g163497 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:29096 pid: 10 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:3778 [inline] __schedule+0xec9/0x2280 kernel/sched/core.c:4527 schedule+0xd0/0x2a0 kernel/sched/core.c:4602 schedule_timeout+0x148/0x250 kernel/time/timer.c:1879 rcu_gp_fqs_loop kernel/rcu/tree.c:1888 [inline] rcu_gp_kthread+0xb2c/0x1ca0 kernel/rcu/tree.c:2058 kthread+0x3b5/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 NMI backtrace for cpu 0 CPU: 0 PID: 18782 Comm: syz-executor.3 Not tainted 5.9.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x198/0x1fd lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x70/0xb1 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1b3/0x223 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline] rcu_dump_cpu_stacks+0x1e3/0x21e kernel/rcu/tree_stall.h:318 print_cpu_stall kernel/rcu/tree_stall.h:551 [inline] check_cpu_stall kernel/rcu/tree_stall.h:625 [inline] rcu_pending kernel/rcu/tree.c:3637 [inline] rcu_sched_clock_irq.cold+0x4db/0xdfd kernel/rcu/tree.c:2519 update_process_times+0x25/0xa0 kernel/time/timer.c:1710 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:176 tick_sched_timer+0x1d1/0x2a0 kernel/time/tick-sched.c:1328 __run_hrtimer kernel/time/hrtimer.c:1524 [inline] __hrtimer_run_queues+0x1d5/0xfc0 kernel/time/hrtimer.c:1588 hrtimer_interrupt+0x334/0x940 kernel/time/hrtimer.c:1650 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1080 [inline] __sysvec_apic_timer_interrupt+0x147/0x5f0 arch/x86/kernel/apic/apic.c:1097 run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:50 [inline] sysvec_apic_timer_interrupt+0x4c/0xf0 arch/x86/kernel/apic/apic.c:1091 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:581 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:770 [inline] RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x4d/0x90 kernel/locking/spinlock.c:191 Code: 48 c7 c0 a8 6b fc 89 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 75 3c 48 83 3d e2 c0 d5 01 00 74 29 48 89 df 57 9d <0f> 1f 44 00 00 bf 01 00 00 00 e8 04 4a 2a f9 65 8b 05 9d 53 db 77 RSP: 0018:ffffc90000007bf0 EFLAGS: 00000286 RAX: 1ffffffff13f8d75 RBX: 0000000000000286 RCX: ffffffff815b7ea2 RDX: dffffc0000000000 RSI: 0000000000000103 RDI: 0000000000000286 RBP: ffff8880ae4255c0 R08: 0000000000000001 R09: ffffffff8d0b7ab7 R10: fffffbfff1a16f56 R11: 0000000000000000 R12: 00000001000139e5 R13: ffff8880ae4255c0 R14: 0000000000000000 R15: 00000000ffffffff __mod_timer+0x837/0xe30 kernel/time/timer.c:1066 call_timer_fn+0x1ac/0x760 kernel/time/timer.c:1413 expire_timers kernel/time/timer.c:1458 [inline] __run_timers.part.0+0x67c/0xaa0 kernel/time/timer.c:1755 __run_timers kernel/time/timer.c:1736 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1768 __do_softirq+0x1f8/0xb23 kernel/softirq.c:298 asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:706 __run_on_irqstack arch/x86/include/asm/irq_stack.h:22 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:48 [inline] do_softirq_own_stack+0x9d/0xd0 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:393 [inline] __irq_exit_rcu kernel/softirq.c:423 [inline] irq_exit_rcu+0x235/0x280 kernel/softirq.c:435 sysvec_apic_timer_interrupt+0x51/0xf0 arch/x86/kernel/apic/apic.c:1091 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:581 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] RIP: 0010:_raw_spin_unlock_irq+0x4b/0x80 kernel/locking/spinlock.c:199 Code: c0 b8 6b fc 89 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 75 31 48 83 3d 06 c2 d5 01 00 74 25 fb 66 0f 1f 44 00 00 01 00 00 00 e8 1b 4b 2a f9 65 8b 05 b4 54 db 77 85 c0 74 02 5d RSP: 0018:ffffc900177bf660 EFLAGS: 00000282 RAX: 1ffffffff13f8d77 RBX: ffff888034f1c300 RCX: ffffffff815b7ea2 RDX: dffffc0000000000 RSI: 0000000000000002 RDI: 0000000000000000 RBP: ffff8880ae435e00 R08: 0000000000000001 R09: ffffffff8d0b7a7f R10: fffffbfff1a16f4f R11: 0000000000000000 R12: ffff8880ae435e00 R13: ffff888054782580 R14: 0000000000000000 R15: 0000000000000001 finish_lock_switch kernel/sched/core.c:3517 [inline] finish_task_switch+0x150/0x790 kernel/sched/core.c:3617 context_switch kernel/sched/core.c:3781 [inline] __schedule+0xed1/0x2280 kernel/sched/core.c:4527 preempt_schedule_common+0x45/0xc0 kernel/sched/core.c:4683 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:40 __local_bh_enable_ip+0x1a0/0x1f0 kernel/softirq.c:202 lock_sock include/net/sock.h:1583 [inline] netlink_insert+0xdd/0x1670 net/netlink/af_netlink.c:563 netlink_autobind.isra.0+0x36a/0x550 net/netlink/af_netlink.c:832 netlink_sendmsg+0x991/0xd90 net/netlink/af_netlink.c:1882 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:671 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2353 ___sys_sendmsg+0xf3/0x170 net/socket.c:2407 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2440 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45d5f9 Code: 5d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 2b b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f9213dfcc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000002cf00 RCX: 000000000045d5f9 RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000004 RBP: 000000000118cf80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c R13: 00007fff4208392f R14: 00007f9213dfd9c0 R15: 000000000118cf4c