rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 0-....: (10471 ticks this GP) idle=71e/1/0x4000000000000000 softirq=9371/9371 fqs=2612
(t=10502 jiffies g=9125 q=86493)
rcu: rcu_preempt kthread starved for 765 jiffies! g9125 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:29080 pid: 10 ppid: 2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:3778 [inline]
__schedule+0x8e5/0x21e0 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+0xae5/0x1b50 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: 7203 Comm: syz-executor468 Not tainted 5.9.0-rc1-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+0x18f/0x20d 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+0x194/0x1cf 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+0x5b3/0xccd 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+0x32a/0x930 kernel/time/hrtimer.c:1650
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1080 [inline]
__sysvec_apic_timer_interrupt+0x142/0x5e0 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:kfree+0x1e0/0x2c0 mm/slab.c:3757
Code: 4d 7e 0f 85 55 fe ff ff e8 dc 07 4c ff e9 4b fe ff ff e8 b3 c0 c5 ff 48 83 3d 23 cd 01 08 00 0f 84 d2 00 00 00 48 89 df 57 9d <0f> 1f 44 00 00 5b 5d 41 5c 41 5d c3 65 ff 05 7d 8f 4d 7e 48 8b 05
RSP: 0018:ffffc90000006788 EFLAGS: 00000286
RAX: 00000000006a2c12 RBX: 0000000000000286 RCX: 0000000000000002
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000286
RBP: ffff88809a875400 R08: 0000000000000001 R09: ffffffff8c5fca8f
R10: fffffbfff18bf951 R11: 0000000000000001 R12: ffff8880aa040600
R13: ffffffff863796e9 R14: 0000000000000000 R15: ffff88809a8754f0
skb_free_head net/core/skbuff.c:590 [inline]
skb_release_data+0x6d9/0x910 net/core/skbuff.c:610
skb_release_all net/core/skbuff.c:664 [inline]
__kfree_skb net/core/skbuff.c:678 [inline]
consume_skb net/core/skbuff.c:837 [inline]
consume_skb+0xc2/0x160 net/core/skbuff.c:831
__dev_kfree_skb_any+0x9c/0xc0 net/core/dev.c:3107
dev_consume_skb_any include/linux/netdevice.h:3778 [inline]
napi_consume_skb+0x24f/0x370 net/core/skbuff.c:901
free_old_xmit_skbs+0xd5/0x230 drivers/net/virtio_net.c:1389
start_xmit+0x123/0x15f0 drivers/net/virtio_net.c:1585
__netdev_start_xmit include/linux/netdevice.h:4654 [inline]
netdev_start_xmit include/linux/netdevice.h:4668 [inline]
xmit_one net/core/dev.c:3561 [inline]
dev_hard_start_xmit+0x193/0x950 net/core/dev.c:3577
sch_direct_xmit+0x2e1/0xbd0 net/sched/sch_generic.c:313
qdisc_restart net/sched/sch_generic.c:376 [inline]
__qdisc_run+0x4b9/0x1620 net/sched/sch_generic.c:384
qdisc_run include/net/pkt_sched.h:134 [inline]
qdisc_run include/net/pkt_sched.h:126 [inline]
__dev_xmit_skb net/core/dev.c:3752 [inline]
__dev_queue_xmit+0x1456/0x2d60 net/core/dev.c:4105
neigh_resolve_output net/core/neighbour.c:1489 [inline]
neigh_resolve_output+0x3fe/0x6a0 net/core/neighbour.c:1469
neigh_output include/net/neighbour.h:509 [inline]
ip_finish_output2+0x81b/0x21f0 net/ipv4/ip_output.c:228
__ip_finish_output net/ipv4/ip_output.c:306 [inline]
__ip_finish_output+0x779/0xcb0 net/ipv4/ip_output.c:288
ip_finish_output+0x34/0x1f0 net/ipv4/ip_output.c:316
NF_HOOK_COND include/linux/netfilter.h:290 [inline]
ip_output+0x196/0x310 net/ipv4/ip_output.c:430
dst_output include/net/dst.h:443 [inline]
ip_local_out net/ipv4/ip_output.c:125 [inline]
__ip_queue_xmit+0x8e9/0x19c0 net/ipv4/ip_output.c:530
__tcp_transmit_skb+0x18cc/0x3760 net/ipv4/tcp_output.c:1404
__tcp_send_ack.part.0+0x3e0/0x5d0 net/ipv4/tcp_output.c:3966
__tcp_send_ack net/ipv4/tcp_output.c:3972 [inline]
tcp_send_ack+0x7d/0xa0 net/ipv4/tcp_output.c:3972
tcp_validate_incoming+0x12e8/0x1b60 net/ipv4/tcp_input.c:5580
tcp_rcv_established+0x555/0x1eb0 net/ipv4/tcp_input.c:5848
tcp_v4_do_rcv+0x5d1/0x870 net/ipv4/tcp_ipv4.c:1643
tcp_v4_rcv+0x2d10/0x3750 net/ipv4/tcp_ipv4.c:2025
ip_protocol_deliver_rcu+0x5c/0x880 net/ipv4/ip_input.c:204
ip_local_deliver_finish+0x20a/0x370 net/ipv4/ip_input.c:231
NF_HOOK include/linux/netfilter.h:301 [inline]
NF_HOOK include/linux/netfilter.h:295 [inline]
ip_local_deliver+0x1b3/0x200 net/ipv4/ip_input.c:252
dst_input include/net/dst.h:449 [inline]
ip_sublist_rcv_finish+0x9a/0x2c0 net/ipv4/ip_input.c:550
ip_list_rcv_finish.constprop.0+0x514/0x6e0 net/ipv4/ip_input.c:600
ip_sublist_rcv net/ipv4/ip_input.c:608 [inline]
ip_list_rcv+0x34e/0x488 net/ipv4/ip_input.c:643
__netif_receive_skb_list_ptype net/core/dev.c:5329 [inline]
__netif_receive_skb_list_core+0x549/0x8e0 net/core/dev.c:5377
__netif_receive_skb_list net/core/dev.c:5429 [inline]
netif_receive_skb_list_internal+0x777/0xd70 net/core/dev.c:5534
gro_normal_list net/core/dev.c:5645 [inline]
gro_normal_list net/core/dev.c:5641 [inline]
gro_normal_one+0x16f/0x260 net/core/dev.c:5657
napi_skb_finish net/core/dev.c:5985 [inline]
napi_gro_receive+0x5ca/0x750 net/core/dev.c:6017
receive_buf+0x1006/0x5980 drivers/net/virtio_net.c:1082
virtnet_receive drivers/net/virtio_net.c:1346 [inline]
virtnet_poll+0x568/0xd76 drivers/net/virtio_net.c:1451
napi_poll net/core/dev.c:6687 [inline]
net_rx_action+0x4a1/0xe80 net/core/dev.c:6757
__do_softirq+0x2de/0xa24 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+0x1f3/0x230 kernel/softirq.c:435
common_interrupt+0xa3/0x1f0 arch/x86/kernel/irq.c:239
asm_common_interrupt+0x1e/0x40 arch/x86/include/asm/idtentry.h:572
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 18 3c b6 89 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 75 31 48 83 3d 86 f6 be 01 00 74 25 fb 66 0f 1f 44 00 00 01 00 00 00 e8 cb 71 58 f9 65 8b 05 d4 b8 0a 78 85 c0 74 02 5d
RSP: 0018:ffffc900061b7978 EFLAGS: 00000286
RAX: 1ffffffff136c783 RBX: ffff888091958440 RCX: 0000000000000006
RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffffffff87f7456f
RBP: ffff8880ae635e40 R08: 0000000000000001 R09: ffffffff8c5fca9f
R10: fffffbfff18bf953 R11: 0000000000000001 R12: ffff8880ae635e40
R13: ffff88809e0e8540 R14: ffff8880a715f200 R15: 0000000000000402
finish_lock_switch kernel/sched/core.c:3517 [inline]
finish_task_switch+0x147/0x750 kernel/sched/core.c:3617
context_switch kernel/sched/core.c:3781 [inline]
__schedule+0x8ed/0x21e0 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
smp_call_function_single+0x467/0x4f0 kernel/smp.c:384
task_function_call+0xd7/0x160 kernel/events/core.c:116
perf_install_in_context+0x2cb/0x550 kernel/events/core.c:2895
__do_sys_perf_event_open+0x1c31/0x2cb0 kernel/events/core.c:11992
do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x448449
Code: e8 dc e6 ff ff 48 83 c4 18 c3 0f 1f 80 00 00 00 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 0f 83 ab 05 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f564595dce8 EFLAGS: 00000246 ORIG_RAX: 000000000000012a
RAX: ffffffffffffffda RBX: 00000000006ddc28 RCX: 0000000000448449
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000100
RBP: 00000000006ddc20 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00000000006ddc2c
R13: 00007ffffbc33e5f R14: 00007f564595e9c0 R15: 20c49ba5e353f7cf