rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 0-...!: (1 GPs behind) idle=cb1/1/0x4000000000000000 softirq=61649/61651 fqs=1
(t=10500 jiffies g=87721 q=236 ncpus=2)
rcu: rcu_preempt kthread timer wakeup didn't happen for 10496 jiffies! g87721 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
rcu: Possible timer handling issue on cpu=1 timer-softirq=113977
rcu: rcu_preempt kthread starved for 10497 jiffies! g87721 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:29096 pid: 16 ppid: 2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5106 [inline]
__schedule+0xa9a/0x4cc0 kernel/sched/core.c:6421
schedule+0xd2/0x1f0 kernel/sched/core.c:6493
schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1907
rcu_gp_fqs_loop+0x1c0/0x840 kernel/rcu/tree.c:2078
rcu_gp_kthread+0x1de/0x320 kernel/rcu/tree.c:2267
kthread+0x2e9/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
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: 3585 Comm: syz-fuzzer Not tainted 5.18.0-rc3-next-20220422-syzkaller #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:1058
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 23 91 4b 00 eb 07 0f 00 2d da b1 94 08 fb f4 <48> 83 c4 10 c3 89 74 24 0c 48 89 3c 24 e8 56 8f 4b 00 8b 74 24 0c
RSP: 0018:ffffc90002c2f9e0 EFLAGS: 00000246
RAX: 0000000000000007 RBX: 0000000000000000 RCX: 1ffffffff1b73199
RDX: 0000000000000000 RSI: ffffffff81807171 RDI: ffffffff8134dffd
RBP: ffff888077018c98 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff81807158 R11: 0000000000000000 R12: 0000000000000000
R13: ffffed100ee03193 R14: 0000000000000001 R15: ffff8880b9d3ae40
FS: 0000000001828b70(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fbe0a1681b8 CR3: 000000001fc0d000 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+0x8c7/0xb50 kernel/locking/qspinlock.c:511
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/0x2a0 kernel/locking/spinlock_debug.c:115
spin_lock_bh include/linux/spinlock.h:359 [inline]
lock_sock_nested+0x5b/0xf0 net/core/sock.c:3335
lock_sock include/net/sock.h:1681 [inline]
tcp_sendmsg+0x1d/0x40 net/ipv4/tcp.c:1448
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
sock_write_iter+0x283/0x3c0 net/socket.c:1061
call_write_iter include/linux/fs.h:2059 [inline]
new_sync_write+0x38a/0x560 fs/read_write.c:504
vfs_write+0x7c0/0xac0 fs/read_write.c:591
ksys_write+0x1e8/0x250 fs/read_write.c:644
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:0x49dfbb
Code: e8 aa 4b fc ff eb 88 cc cc cc cc cc cc cc cc e8 bb 8f fc ff 48 8b 7c 24 10 48 8b 74 24 18 48 8b 54 24 20 48 8b 44 24 08 0f 05 <48> 3d 01 f0 ff ff 76 20 48 c7 44 24 28 ff ff ff ff 48 c7 44 24 30
RSP: 002b:000000c0003db380 EFLAGS: 00000206 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 000000c000020800 RCX: 000000000049dfbb
RDX: 00000000000000f0 RSI: 000000c00000a200 RDI: 0000000000000006
RBP: 000000c0003db3d0 R08: 0000000000000001 R09: 000000c0005dc780
R10: 00000000000000f0 R11: 0000000000000206 R12: 000000c0003db460
R13: 0000000000000000 R14: 000000c0003191e0 R15: 000000000000007f
NMI backtrace for cpu 0
CPU: 0 PID: 5969 Comm: syz-executor.5 Not tainted 5.18.0-rc3-next-20220422-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+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:4068 [inline]
rcu_sched_clock_irq.cold+0x144/0x8fc kernel/rcu/tree.c:2755
update_process_times+0x16d/0x200 kernel/time/timer.c:1811
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:1095 [inline]
__sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1112
sysvec_apic_timer_interrupt+0x40/0xc0 arch/x86/kernel/apic/apic.c:1106
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:kvm_wait+0x98/0x100 arch/x86/kernel/kvm.c:1058
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 23 91 4b 00 eb 07 0f 00 2d da b1 94 08 fb f4 <48> 83 c4 10 c3 89 74 24 0c 48 89 3c 24 e8 56 8f 4b 00 8b 74 24 0c
RSP: 0018:ffffc90000006d18 EFLAGS: 00000246
RAX: 0000000000000007 RBX: 0000000000000000 RCX: 1ffffffff1b73199
RDX: 0000000000000000 RSI: ffffffff81807171 RDI: ffffffff8134dffd
RBP: ffff88807ba761c8 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff81807158 R11: 0000000000000001 R12: 0000000000000000
R13: ffffed100f74ec39 R14: 0000000000000001 R15: ffff8880b9c3ae40
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+0x8c7/0xb50 kernel/locking/qspinlock.c:511
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/0x2a0 kernel/locking/spinlock_debug.c:115
spin_lock include/linux/spinlock.h:354 [inline]
task_lock include/linux/sched/task.h:170 [inline]
__get_task_comm+0x23/0x50 fs/exec.c:1219
__set_page_owner_handle mm/page_owner.c:174 [inline]
__set_page_owner+0x253/0x380 mm/page_owner.c:192
prep_new_page mm/page_alloc.c:2394 [inline]
get_page_from_freelist+0xba2/0x3e00 mm/page_alloc.c:4135
__alloc_pages+0x1b2/0x500 mm/page_alloc.c:5356
alloc_pages+0x1aa/0x310 mm/mempolicy.c:2273
alloc_slab_page mm/slub.c:1797 [inline]
allocate_slab+0x26c/0x3c0 mm/slub.c:1942
new_slab mm/slub.c:2002 [inline]
___slab_alloc+0x985/0xd90 mm/slub.c:3002
__slab_alloc.constprop.0+0x4d/0xa0 mm/slub.c:3089
slab_alloc_node mm/slub.c:3180 [inline]
__kmalloc_node_track_caller+0x2cb/0x360 mm/slub.c:4952
kmalloc_reserve net/core/skbuff.c:354 [inline]
__alloc_skb+0xde/0x340 net/core/skbuff.c:426
alloc_skb include/linux/skbuff.h:1337 [inline]
__tcp_send_ack.part.0+0x67/0x760 net/ipv4/tcp_output.c:3944
__tcp_send_ack net/ipv4/tcp_output.c:3976 [inline]
tcp_send_ack+0x7d/0xa0 net/ipv4/tcp_output.c:3976
__tcp_ack_snd_check+0x156/0x9c0 net/ipv4/tcp_input.c:5493
tcp_rcv_established+0x18cc/0x2030 net/ipv4/tcp_input.c:5935
tcp_v4_do_rcv+0x66c/0x980 net/ipv4/tcp_ipv4.c:1660
tcp_v4_rcv+0x380f/0x3bc0 net/ipv4/tcp_ipv4.c:2074
ip_protocol_deliver_rcu+0xa3/0xb30 net/ipv4/ip_input.c:205
ip_local_deliver_finish+0x2ee/0x4c0 net/ipv4/ip_input.c:233
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:254
dst_input include/net/dst.h:461 [inline]
ip_sublist_rcv_finish+0x9a/0x2c0 net/ipv4/ip_input.c:568
ip_list_rcv_finish net/ipv4/ip_input.c:618 [inline]
ip_sublist_rcv+0x538/0x990 net/ipv4/ip_input.c:626
ip_list_rcv+0x31a/0x470 net/ipv4/ip_input.c:661
__netif_receive_skb_list_ptype net/core/dev.c:5478 [inline]
__netif_receive_skb_list_core+0x548/0x8f0 net/core/dev.c:5526
__netif_receive_skb_list net/core/dev.c:5578 [inline]
netif_receive_skb_list_internal+0x75e/0xd80 net/core/dev.c:5669
gro_normal_list include/net/gro.h:430 [inline]
gro_normal_list include/net/gro.h:426 [inline]
napi_complete_done+0x1f1/0x880 net/core/dev.c:6010
virtqueue_napi_complete drivers/net/virtio_net.c:366 [inline]
virtnet_poll+0xc9b/0x11a0 drivers/net/virtio_net.c:1613
__napi_poll+0xb3/0x6e0 net/core/dev.c:6443
napi_poll net/core/dev.c:6510 [inline]
net_rx_action+0x8ec/0xc60 net/core/dev.c:6597
__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
common_interrupt+0xa9/0xc0 arch/x86/kernel/irq.c:240
asm_common_interrupt+0x1e/0x40 arch/x86/include/asm/idtentry.h:640
RIP: 0010:strscpy+0x73/0x2a0 lib/string.c:210
Code: fe fe fe fe fe fe 45 31 ed 48 bd 80 80 80 80 80 80 80 80 eb 3a 48 b9 00 00 00 00 00 fc ff df 48 89 f8 48 c1 e8 03 80 3c 08 00 <0f> 85 9c 01 00 00 48 8b 04 24 4b 89 34 2f 49 83 c5 08 4c 89 e6 4c
RSP: 0018:ffffc90002c3f458 EFLAGS: 00000246
RAX: 1ffff1100247b8cd RBX: ffff88807ba760b0 RCX: dffffc0000000000
RDX: ffffed100f74ec17 RSI: 636578652d7a7973 RDI: ffff8880123dc668
RBP: 8080808080808080 R08: 0000000000000000 R09: ffff88807ba760b0
R10: ffffed100f74ec16 R11: 0000000000000001 R12: 0000000000000010
R13: 0000000000000000 R14: fefefefefefefeff R15: ffff8880123dc668
strscpy include/linux/fortify-string.h:170 [inline]
strscpy_pad+0x20/0x70 lib/string_helpers.c:788
__get_task_comm+0x35/0x50 fs/exec.c:1221
__set_page_owner_handle mm/page_owner.c:174 [inline]
__set_page_owner+0x253/0x380 mm/page_owner.c:192
prep_new_page mm/page_alloc.c:2394 [inline]
get_page_from_freelist+0xba2/0x3e00 mm/page_alloc.c:4135
__alloc_pages+0x1b2/0x500 mm/page_alloc.c:5356
__alloc_pages_bulk+0xbef/0x1a10 mm/page_alloc.c:5302
alloc_pages_bulk_array_mempolicy+0x1c3/0x4d0 mm/mempolicy.c:2368
vm_area_alloc_pages mm/vmalloc.c:2898 [inline]
__vmalloc_area_node mm/vmalloc.c:2990 [inline]
__vmalloc_node_range+0xd35/0x13c0 mm/vmalloc.c:3161
__vmalloc_node mm/vmalloc.c:3226 [inline]
vzalloc+0x67/0x80 mm/vmalloc.c:3299
do_ipt_get_ctl+0x60d/0x9d0 net/ipv4/netfilter/ip_tables.c:801
nf_getsockopt+0x72/0xd0 net/netfilter/nf_sockopt.c:116
ip_getsockopt net/ipv4/ip_sockglue.c:1786 [inline]
ip_getsockopt+0x164/0x1c0 net/ipv4/ip_sockglue.c:1765
tcp_getsockopt+0x86/0xd0 net/ipv4/tcp.c:4292
__sys_getsockopt+0x21f/0x6a0 net/socket.c:2256
__do_sys_getsockopt net/socket.c:2271 [inline]
__se_sys_getsockopt net/socket.c:2268 [inline]
__x64_sys_getsockopt+0xba/0x150 net/socket.c:2268
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:0x7f3705c8a70a
Code: 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 49 89 ca b8 37 00 00 00 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:00007ffe4f8540c8 EFLAGS: 00000202 ORIG_RAX: 0000000000000037
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3705c8a70a
RDX: 0000000000000041 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00007ffe4f8540f0 R08: 00007ffe4f8540ec R09: fefefeff646b666d
R10: 00007ffe4f854150 R11: 0000000000000202 R12: 00007ffe4f854150
R13: 0000000000000003 R14: 00007ffe4f8540ec R15: 00007f3705d6d160
----------------
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 23 91 4b 00 callq 0x4b9142
1f: eb 07 jmp 0x28
21: 0f 00 2d da b1 94 08 verw 0x894b1da(%rip) # 0x894b202
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 8f 4b 00 callq 0x4b8f92
3c: 8b 74 24 0c mov 0xc(%rsp),%esi