rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P12757/1:b..l
(detected by 0, t=10503 jiffies, g=49917, q=45 ncpus=2)
task:syz-executor.4 state:R running task stack:27448 pid:12757 ppid: 3606 flags:0x00004000
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5106 [inline]
__schedule+0xa9a/0x4cc0 kernel/sched/core.c:6421
preempt_schedule_irq+0x4e/0x90 kernel/sched/core.c:6729
irqentry_exit+0x31/0x80 kernel/entry/common.c:428
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:task_css include/linux/cgroup.h:495 [inline]
RIP: 0010:mem_cgroup_from_task+0x59/0x130 mm/memcontrol.c:910
Code: 00 48 8b ab d8 12 00 00 e8 24 7e 97 ff 85 c0 74 26 48 8d 7d 20 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 <0f> 85 b9 00 00 00 48 8b 45 20 5b 5d c3 be ff ff ff ff 48 c7 c7 08
RSP: 0018:ffffc90004267848 EFLAGS: 00000246
RAX: dffffc0000000000 RBX: ffff8880193c5880 RCX: ffffc9000dcd5000
RDX: 1ffff11028ae2504 RSI: ffffffff81b17f1e RDI: ffff888145712820
RBP: ffff888145712800 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff81b17f11 R11: 0000000000000000 R12: ffff8880193c5880
R13: ffffc90004267968 R14: ffff88801c453b00 R15: ffff8880785b9c00
count_memcg_event_mm.part.0+0xa6/0x2d0 include/linux/memcontrol.h:1073
count_memcg_event_mm include/linux/memcontrol.h:578 [inline]
handle_mm_fault+0xcf/0x790 mm/memory.c:5121
do_user_addr_fault+0x489/0x11c0 arch/x86/mm/fault.c:1397
handle_page_fault arch/x86/mm/fault.c:1484 [inline]
exc_page_fault+0x9e/0x180 arch/x86/mm/fault.c:1540
asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0010:copy_user_enhanced_fast_string+0xa/0x40 arch/x86/lib/copy_user_64.S:166
Code: ff c9 75 f2 89 d1 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 31 c0 0f 01 ca c3 8d 0c ca 89 ca eb 20 0f 01 cb 83 fa 40 72 38 89 d1 <f3> a4 31 c0 0f 01 ca c3 89 ca eb 0a 66 2e 0f 1f 84 00 00 00 00 00
RSP: 0018:ffffc90004267a10 EFLAGS: 00050206
RAX: 0000000000000001 RBX: 0000000000001000 RCX: 0000000000000e80
RDX: 0000000000001000 RSI: ffff88800f243180 RDI: 0000000020980000
RBP: 000000002097fe80 R08: 0000000000000000 R09: ffff88800f243fff
R10: ffffed1001e487ff R11: 0000000000000000 R12: ffff88800f243000
R13: 00007fffffffe000 R14: 0000000000000000 R15: ffffc90004267d18
copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline]
raw_copy_to_user arch/x86/include/asm/uaccess_64.h:58 [inline]
copyout.part.0+0xd8/0x100 lib/iov_iter.c:155
copyout lib/iov_iter.c:189 [inline]
copy_page_to_iter_iovec lib/iov_iter.c:226 [inline]
__copy_page_to_iter lib/iov_iter.c:852 [inline]
copy_page_to_iter+0x49f/0x1170 lib/iov_iter.c:880
process_vm_rw_pages mm/process_vm_access.c:45 [inline]
process_vm_rw_single_vec mm/process_vm_access.c:117 [inline]
process_vm_rw_core.constprop.0+0x5cd/0x990 mm/process_vm_access.c:215
process_vm_rw+0x29c/0x300 mm/process_vm_access.c:283
__do_sys_process_vm_readv mm/process_vm_access.c:295 [inline]
__se_sys_process_vm_readv mm/process_vm_access.c:291 [inline]
__x64_sys_process_vm_readv+0xdf/0x1b0 mm/process_vm_access.c:291
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:0x7f462ba890e9
RSP: 002b:00007f462cc71168 EFLAGS: 00000246 ORIG_RAX: 0000000000000136
RAX: ffffffffffffffda RBX: 00007f462bb9c100 RCX: 00007f462ba890e9
RDX: 0000000000000002 RSI: 0000000020008400 RDI: 0000000000000529
RBP: 00007f462bae308d R08: 0000000000000286 R09: 0000000000000000
R10: 0000000020008640 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fffc9fd65bf R14: 00007f462cc71300 R15: 0000000000022000
</TASK>
rcu: rcu_preempt kthread timer wakeup didn't happen for 10547 jiffies! g49917 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
rcu: Possible timer handling issue on cpu=0 timer-softirq=21629
rcu: rcu_preempt kthread starved for 10550 jiffies! g49917 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:29264 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:
NMI backtrace for cpu 0
CPU: 0 PID: 12752 Comm: syz-executor.2 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_check_gp_kthread_starvation.cold+0x1fb/0x200 kernel/rcu/tree_stall.h:516
print_other_cpu_stall kernel/rcu/tree_stall.h:621 [inline]
check_cpu_stall kernel/rcu/tree_stall.h:767 [inline]
rcu_pending kernel/rcu/tree.c:4068 [inline]
rcu_sched_clock_irq+0x2311/0x2370 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: 0000:ffffc90000007488 EFLAGS: 00000246
RAX: 0000000000000007 RBX: 0000000000000000 RCX: 1ffffffff1b73199
RDX: 0000000000000000 RSI: ffffffff81807171 RDI: ffffffff8134dffd
RBP: ffff888018f18948 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff81807158 R11: 0000000000000001 R12: 0000000000000000
R13: ffffed10031e3129 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]
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:kasan_check_range+0x16/0x180 mm/kasan/generic.c:188
Code: ff ff 89 43 08 5b 5d 41 5c c3 66 2e 0f 1f 84 00 00 00 00 00 48 85 f6 0f 84 3c 01 00 00 49 89 f9 41 54 44 0f b6 c2 49 01 f1 55 <53> 0f 82 18 01 00 00 48 b8 ff ff ff ff ff 7f ff ff 48 39 c7 0f 86
RSP: 0000:ffffc900042071b8 EFLAGS: 00000282
RAX: 0000000000000007 RBX: ffff888018f18000 RCX: ffffffff815ea4d0
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff888018f18948
RBP: ffff888018f18948 R08: 0000000000000000 R09: ffff888018f1894c
R10: 0000000000000000 R11: 0000000000000001 R12: ffff888012d71ca8
R13: 0000000000000010 R14: ffff888012d71c88 R15: 0000000000000007
instrument_atomic_read include/linux/instrumented.h:71 [inline]
atomic_read include/linux/atomic/atomic-instrumented.h:27 [inline]
queued_spin_is_locked include/asm-generic/qspinlock.h:28 [inline]
debug_spin_unlock kernel/locking/spinlock_debug.c:100 [inline]
do_raw_spin_unlock+0x50/0x230 kernel/locking/spinlock_debug.c:140
__raw_spin_unlock include/linux/spinlock_api_smp.h:142 [inline]
_raw_spin_unlock+0x1a/0x40 kernel/locking/spinlock.c:186
spin_unlock include/linux/spinlock.h:394 [inline]
task_unlock include/linux/sched/task.h:175 [inline]
__get_task_comm+0x3d/0x50 fs/exec.c:1222
__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
wp_page_copy+0xaef/0x1e20 mm/memory.c:3100
do_wp_page+0x573/0x1b60 mm/memory.c:3397
handle_pte_fault mm/memory.c:4922 [inline]
__handle_mm_fault+0x1fe6/0x33d0 mm/memory.c:5043
handle_mm_fault+0x1c8/0x790 mm/memory.c:5141
do_user_addr_fault+0x489/0x11c0 arch/x86/mm/fault.c:1397
handle_page_fault arch/x86/mm/fault.c:1484 [inline]
exc_page_fault+0x9e/0x180 arch/x86/mm/fault.c:1540
asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0010:copy_user_enhanced_fast_string+0xa/0x40 arch/x86/lib/copy_user_64.S:166
Code: ff c9 75 f2 89 d1 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 31 c0 0f 01 ca c3 8d 0c ca 89 ca eb 20 0f 01 cb 83 fa 40 72 38 89 d1 <f3> a4 31 c0 0f 01 ca c3 89 ca eb 0a 66 2e 0f 1f 84 00 00 00 00 00
RSP: 0000:ffffc90004207a10 EFLAGS: 00050206
RAX: 0000000000000001 RBX: 0000000000001000 RCX: 0000000000000e80
RDX: 0000000000001000 RSI: ffff88800f243180 RDI: 0000000020797000
RBP: 0000000020796e80 R08: 0000000000000000 R09: ffff88800f243fff
R10: ffffed1001e487ff R11: 0000000000000000 R12: ffff88800f243000
R13: 00007fffffffe000 R14: 0000000000000000 R15: ffffc90004207d18
copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline]
raw_copy_to_user arch/x86/include/asm/uaccess_64.h:58 [inline]
copyout.part.0+0xd8/0x100 lib/iov_iter.c:155
copyout lib/iov_iter.c:189 [inline]
copy_page_to_iter_iovec lib/iov_iter.c:226 [inline]
__copy_page_to_iter lib/iov_iter.c:852 [inline]
copy_page_to_iter+0x49f/0x1170 lib/iov_iter.c:880
process_vm_rw_pages mm/process_vm_access.c:45 [inline]
process_vm_rw_single_vec mm/process_vm_access.c:117 [inline]
process_vm_rw_core.constprop.0+0x5cd/0x990 mm/process_vm_access.c:215
process_vm_rw+0x29c/0x300 mm/process_vm_access.c:283
__do_sys_process_vm_readv mm/process_vm_access.c:295 [inline]
__se_sys_process_vm_readv mm/process_vm_access.c:291 [inline]
__x64_sys_process_vm_readv+0xdf/0x1b0 mm/process_vm_access.c:291
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:0x7f85bfc890e9
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:00007f85c0d9e168 EFLAGS: 00000246 ORIG_RAX: 0000000000000136
RAX: ffffffffffffffda RBX: 00007f85bfd9c100 RCX: 00007f85bfc890e9
RDX: 0000000000000002 RSI: 0000000020008400 RDI: 000000000000053d
RBP: 00007f85bfce308d R08: 0000000000000286 R09: 0000000000000000
R10: 0000000020008640 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc9cb5baff R14: 00007f85c0d9e300 R15: 0000000000022000
</TASK>
----------------
Code disassembly (best guess):
0: 00 48 8b add %cl,-0x75(%rax)
3: ab stos %eax,%es:(%rdi)
4: d8 12 fcoms (%rdx)
6: 00 00 add %al,(%rax)
8: e8 24 7e 97 ff callq 0xff977e31
d: 85 c0 test %eax,%eax
f: 74 26 je 0x37
11: 48 8d 7d 20 lea 0x20(%rbp),%rdi
15: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
1c: fc ff df
1f: 48 89 fa mov %rdi,%rdx
22: 48 c1 ea 03 shr $0x3,%rdx
26: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1)
* 2a: 0f 85 b9 00 00 00 jne 0xe9 <-- trapping instruction
30: 48 8b 45 20 mov 0x20(%rbp),%rax
34: 5b pop %rbx
35: 5d pop %rbp
36: c3 retq
37: be ff ff ff ff mov $0xffffffff,%esi
3c: 48 rex.W
3d: c7 .byte 0xc7
3e: c7 (bad)
3f: 08 .byte 0x8