rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 1-...!: (10499 ticks this GP) idle=207/1/0x4000000000000000 softirq=33983/33983 fqs=0
(t=10500 jiffies g=37605 q=13 ncpus=2)
rcu: rcu_preempt kthread timer wakeup didn't happen for 10499 jiffies! g37605 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
rcu: Possible timer handling issue on cpu=0 timer-softirq=18848
rcu: rcu_preempt kthread starved for 10500 jiffies! g37605 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=0
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:28552 pid: 16 ppid: 2 flags:0x00004000
Call Trace:
<TASK>
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
</TASK>
rcu: Stack dump where RCU GP kthread last ran:
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 11493 Comm: syz-executor.1 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:ffffc90000007a20 EFLAGS: 00000246
RAX: 0000000000000007 RBX: 0000000000000000 RCX: 1ffffffff1b73199
RDX: 0000000000000000 RSI: ffffffff81807171 RDI: ffffffff8134dffd
RBP: ffffffff8cbfc980 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff81807158 R11: 0000000000000080 R12: 0000000000000000
R13: fffffbfff197f930 R14: 0000000000000001 R15: ffff8880b9c3ae40
FS: 00007ff3459fe700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2cb3f000 CR3: 0000000078826000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
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]
mac80211_hwsim_tx_frame_no_nl.isra.0+0x6f4/0x13b0 drivers/net/wireless/mac80211_hwsim.c:1593
mac80211_hwsim_tx_frame+0x1ee/0x2a0 drivers/net/wireless/mac80211_hwsim.c:1884
mac80211_hwsim_beacon_tx+0x49e/0x920 drivers/net/wireless/mac80211_hwsim.c:1938
__iterate_interfaces+0x1e5/0x560 net/mac80211/util.c:793
ieee80211_iterate_active_interfaces_atomic+0x70/0x180 net/mac80211/util.c:829
mac80211_hwsim_beacon+0xcd/0x1c0 drivers/net/wireless/mac80211_hwsim.c:1961
__run_hrtimer kernel/time/hrtimer.c:1685 [inline]
__hrtimer_run_queues+0x609/0xe50 kernel/time/hrtimer.c:1749
hrtimer_run_softirq+0x17b/0x360 kernel/time/hrtimer.c:1766
__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:1106
</IRQ>
<TASK>
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:strscpy+0xf9/0x2a0 lib/string.c:208
Code: fc ff df 48 c1 e8 07 48 21 c6 41 80 3c 08 00 0f 85 92 01 00 00 48 b9 08 06 05 04 03 02 01 00 48 89 37 48 0f af c1 48 c1 e8 38 <4c> 01 e8 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 48 89 f0 41
RSP: 0018:ffffc900143c7178 EFLAGS: 00000206
RAX: 0000000000000006 RBX: ffff888020e925b0 RCX: 0001020304050608
RDX: ffffed10041d24b8 RSI: 0000312e726f7475 RDI: ffff88801334af30
RBP: 8080808080808080 R08: 1ffff110026695e6 R09: ffff888020e925b8
R10: ffffed10041d24b7 R11: 0000000000000001 R12: 0000000000000010
R13: 0000000000000008 R14: fefefefefefefeff R15: ffff88801334af28
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_vma+0xf9/0x770 mm/mempolicy.c:2221
shmem_alloc_page+0xa5/0x160 mm/shmem.c:1554
shmem_alloc_and_acct_page+0x161/0x10b0 mm/shmem.c:1579
shmem_getpage_gfp+0xaf2/0x2370 mm/shmem.c:1874
shmem_fault+0x1b4/0x750 mm/shmem.c:2086
__do_fault+0x10d/0x650 mm/memory.c:4166
do_read_fault mm/memory.c:4512 [inline]
do_fault+0x648/0x1160 mm/memory.c:4641
handle_pte_fault mm/memory.c:4904 [inline]
__handle_mm_fault+0x13ff/0x33d0 mm/memory.c:5043
handle_mm_fault+0x1c8/0x790 mm/memory.c:5141
faultin_page mm/gup.c:953 [inline]
__get_user_pages+0x50c/0xfa0 mm/gup.c:1174
populate_vma_page_range+0x23d/0x320 mm/gup.c:1518
__mm_populate+0x1ea/0x3e0 mm/gup.c:1631
mm_populate include/linux/mm.h:2700 [inline]
vm_mmap_pgoff+0x20e/0x290 mm/util.c:525
ksys_mmap_pgoff+0x79/0x5a0 mm/mmap.c:1633
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:0x7ff346a890e9
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:00007ff3459fe168 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007ff346b9c030 RCX: 00007ff346a890e9
RDX: 000000000200000a RSI: 0000000000b36000 RDI: 0000000020000000
RBP: 00007ff346ae308d R08: ffffffffffffffff R09: 0000000000000000
R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff3c6b6dcf R14: 00007ff3459fe300 R15: 0000000000022000
</TASK>
NMI backtrace for cpu 1
CPU: 1 PID: 11497 Comm: syz-executor.4 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:
<IRQ>
__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:ffffc90000de0488 EFLAGS: 00000246
RAX: 0000000000000007 RBX: 0000000000000000 RCX: 1ffffffff1b73199
RDX: 0000000000000000 RSI: ffffffff81807171 RDI: ffffffff8134dffd
RBP: ffff88801d4f8948 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff81807158 R11: 0000000000000001 R12: 0000000000000000
R13: ffffed1003a9f129 R14: 0000000000000001 R15: ffff8880b9d3ae40
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]
kmem_cache_alloc_node+0x122/0x3f0 mm/slub.c:3264
__alloc_skb+0x215/0x340 net/core/skbuff.c:414
skb_copy+0x139/0x3c0 net/core/skbuff.c:1585
mac80211_hwsim_tx_frame_no_nl.isra.0+0xb7c/0x13b0 drivers/net/wireless/mac80211_hwsim.c:1642
mac80211_hwsim_tx_frame+0x1ee/0x2a0 drivers/net/wireless/mac80211_hwsim.c:1884
mac80211_hwsim_beacon_tx+0x49e/0x920 drivers/net/wireless/mac80211_hwsim.c:1938
__iterate_interfaces+0x1e5/0x560 net/mac80211/util.c:793
ieee80211_iterate_active_interfaces_atomic+0x70/0x180 net/mac80211/util.c:829
mac80211_hwsim_beacon+0xcd/0x1c0 drivers/net/wireless/mac80211_hwsim.c:1961
__run_hrtimer kernel/time/hrtimer.c:1685 [inline]
__hrtimer_run_queues+0x609/0xe50 kernel/time/hrtimer.c:1749
hrtimer_run_softirq+0x17b/0x360 kernel/time/hrtimer.c:1766
__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:1106
</IRQ>
<TASK>
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:memset_erms+0xb/0x10 arch/x86/lib/memset_64.S:65
Code: 03 40 0f b6 f6 48 b8 01 01 01 01 01 01 01 01 48 0f af c6 f3 48 ab 89 d1 f3 aa 4c 89 c8 c3 90 49 89 f9 40 88 f0 48 89 d1 f3 aa <4c> 89 c8 c3 90 49 89 fa 40 0f b6 ce 48 b8 01 01 01 01 01 01 01 01
RSP: 0018:ffffc90014246a10 EFLAGS: 00000202
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff888012fb0a38
RBP: ffff888012fb0a28 R08: 0000000000000001 R09: ffff888012fb0a37
R10: ffffed10025f6146 R11: 0000000000000001 R12: 000000000000000e
R13: 0000000000000010 R14: ffff888012fb0a08 R15: 0000000000000007
strscpy_pad+0x62/0x70 lib/string_helpers.c:792
__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+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]
nlmsg_new include/net/netlink.h:953 [inline]
ctnetlink_conntrack_event+0x381/0x15b0 net/netfilter/nf_conntrack_netlink.c:744
__nf_conntrack_eventmask_report+0x198/0x4d0 net/netfilter/nf_conntrack_ecache.c:154
nf_conntrack_eventmask_report net/netfilter/nf_conntrack_ecache.c:195 [inline]
nf_conntrack_eventmask_report+0x1d0/0x370 net/netfilter/nf_conntrack_ecache.c:171
ctnetlink_new_conntrack+0xdf4/0x10d0 net/netfilter/nf_conntrack_netlink.c:2517
nfnetlink_rcv_msg+0xbc9/0x13f0 net/netfilter/nfnetlink.c:296
netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2502
nfnetlink_rcv+0x1ac/0x420 net/netfilter/nfnetlink.c:654
netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline]
netlink_unicast+0x543/0x7f0 net/netlink/af_netlink.c:1345
netlink_sendmsg+0x904/0xe00 net/netlink/af_netlink.c:1921
sock_sendmsg_nosec net/socket.c:705 [inline]
sock_sendmsg+0xcf/0x120 net/socket.c:725
sock_no_sendpage+0xf6/0x140 net/core/sock.c:3126
kernel_sendpage.part.0+0x1ff/0x7b0 net/socket.c:3524
kernel_sendpage net/socket.c:3521 [inline]
sock_sendpage+0xdf/0x140 net/socket.c:1007
pipe_to_sendpage+0x2ad/0x380 fs/splice.c:364
splice_from_pipe_feed fs/splice.c:418 [inline]
__splice_from_pipe+0x43e/0x8a0 fs/splice.c:562
splice_from_pipe fs/splice.c:597 [inline]
generic_splice_sendpage+0xd4/0x140 fs/splice.c:746
do_splice_from fs/splice.c:767 [inline]
do_splice+0xb57/0x1920 fs/splice.c:1079
__do_splice+0x134/0x250 fs/splice.c:1144
__do_sys_splice fs/splice.c:1350 [inline]
__se_sys_splice fs/splice.c:1332 [inline]
__x64_sys_splice+0x198/0x250 fs/splice.c:1332
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:0x7f7c1e8890e9
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:00007f7c1f96b168 EFLAGS: 00000246 ORIG_RAX: 0000000000000113
RAX: ffffffffffffffda RBX: 00007f7c1e99c030 RCX: 00007f7c1e8890e9
RDX: 0000000000000005 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00007f7c1e8e308d R08: 000000000004ffe6 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffcaf9b31df R14: 00007f7c1f96b300 R15: 0000000000022000
</TASK>
----------------
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