rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 0-...!: (10500 ticks this GP) idle=d4f/1/0x4000000000000000 softirq=157360/157360 fqs=0
(t=10500 jiffies g=281861 q=2322)
rcu: rcu_preempt kthread timer wakeup didn't happen for 10499 jiffies! g281861 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
rcu: Possible timer handling issue on cpu=0 timer-softirq=136451
rcu: rcu_preempt kthread starved for 10500 jiffies! g281861 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:28568 pid: 14 ppid: 2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:4983 [inline]
__schedule+0xab2/0x4d90 kernel/sched/core.c:6293
schedule+0xd2/0x260 kernel/sched/core.c:6366
schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1881
rcu_gp_fqs_loop+0x186/0x810 kernel/rcu/tree.c:1963
rcu_gp_kthread+0x1de/0x320 kernel/rcu/tree.c:2136
kthread+0x405/0x4f0 kernel/kthread.c:345
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
rcu: Stack dump where RCU GP kthread last ran:
NMI backtrace for cpu 0
CPU: 0 PID: 28177 Comm: syz-executor.1 Not tainted 5.16.0-rc4-next-20211206-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+0x1b3/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:458
print_cpu_stall kernel/rcu/tree_stall.h:602 [inline]
check_cpu_stall kernel/rcu/tree_stall.h:688 [inline]
rcu_pending kernel/rcu/tree.c:3919 [inline]
rcu_sched_clock_irq.cold+0x98/0x746 kernel/rcu/tree.c:2617
update_process_times+0x16d/0x200 kernel/time/timer.c:1785
tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:226
tick_sched_timer+0x1b0/0x2d0 kernel/time/tick-sched.c:1428
__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:1086 [inline]
__sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1103
sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1097
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:perf_output_read_group kernel/events/core.c:6939 [inline]
RIP: 0010:perf_output_read+0xef1/0x1310 kernel/events/core.c:6978
Code: 42 80 3c 28 00 0f 85 ad 02 00 00 48 8b 44 24 10 48 8b a8 98 00 00 00 48 8d bd a8 00 00 00 48 89 f8 48 c1 e8 03 42 80 3c 28 00 <0f> 85 7e 02 00 00 48 8b 7c 24 10 ff 95 a8 00 00 00 e9 03 fd ff ff
RSP: 0018:ffffc90002caf118 EFLAGS: 00000246
RAX: 1ffffffff178a341 RBX: ffffc90002caf460 RCX: ffffc9000db1e000
RDX: 0000000000040000 RSI: ffffffff8196a5a4 RDI: ffffffff8bc51a08
RBP: ffffffff8bc51960 R08: 0000000000000001 R09: ffff88807d3bf17f
R10: ffffffff8196a2f1 R11: 0000000000000001 R12: ffffc90002caf260
R13: dffffc0000000000 R14: ffff8880139840a0 R15: 0000000000000010
perf_output_sample+0xd12/0x1d80 kernel/events/core.c:7025
__perf_event_output kernel/events/core.c:7510 [inline]
perf_event_output_forward+0x119/0x280 kernel/events/core.c:7524
__perf_event_overflow+0x13c/0x3d0 kernel/events/core.c:9224
perf_swevent_overflow kernel/events/core.c:9300 [inline]
perf_swevent_event+0x347/0x550 kernel/events/core.c:9328
do_perf_sw_event kernel/events/core.c:9441 [inline]
___perf_sw_event+0x31a/0x570 kernel/events/core.c:9472
__perf_sw_event+0x54/0x130 kernel/events/core.c:9484
perf_sw_event include/linux/perf_event.h:1176 [inline]
mm_account_fault mm/memory.c:4743 [inline]
handle_mm_fault+0x5ef/0x790 mm/memory.c:4794
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:568
RIP: 0010:copy_user_enhanced_fast_string+0xe/0x30 arch/x86/lib/copy_user_64.S:206
Code: 89 d1 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 31 c0 0f 01 ca c3 0f 1f 80 00 00 00 00 0f 01 cb 83 fa 40 0f 82 70 ff ff ff 89 d1 a4 31 c0 0f 01 ca c3 66 2e 0f 1f 84 00 00 00 00 00 89 d1 f3 a4
RSP: 0018:ffffc90002caf9b8 EFLAGS: 00050206
RAX: 0000000000000001 RBX: 0000000000008000 RCX: 0000000000007fcb
RDX: 0000000000008000 RSI: 0000000020f1d000 RDI: ffff888056610035
RBP: ffff888056610000 R08: 0000000000000001 R09: ffff888056617fff
R10: ffffed100acc2fff R11: 0000000000000000 R12: 0000000020f1cfcb
R13: 0000000020f24fcb R14: 0000000000000000 R15: ffffc90002cafd70
copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline]
raw_copy_from_user arch/x86/include/asm/uaccess_64.h:52 [inline]
copyin.part.0+0xe4/0x110 lib/iov_iter.c:168
copyin lib/iov_iter.c:767 [inline]
_copy_from_iter+0x2a3/0x11c0 lib/iov_iter.c:767
copy_from_iter include/linux/uio.h:164 [inline]
copy_from_iter_full include/linux/uio.h:170 [inline]
skb_do_copy_data_nocache include/net/sock.h:2185 [inline]
skb_copy_to_page_nocache include/net/sock.h:2211 [inline]
tcp_sendmsg_locked+0x12e9/0x3190 net/ipv4/tcp.c:1334
tcp_sendmsg+0x2b/0x40 net/ipv4/tcp.c:1440
inet_sendmsg+0x99/0xe0 net/ipv4/af_inet.c:817
sock_sendmsg_nosec net/socket.c:704 [inline]
sock_sendmsg+0xcf/0x120 net/socket.c:724
__sys_sendto+0x21c/0x320 net/socket.c:2036
__do_sys_sendto net/socket.c:2048 [inline]
__se_sys_sendto net/socket.c:2044 [inline]
__x64_sys_sendto+0xdd/0x1b0 net/socket.c:2044
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:0x7f102da7dae9
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 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f102c9f3188 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f102db90f60 RCX: 00007f102da7dae9
RDX: ffffffffffffffef RSI: 0000000020d7cfcb RDI: 0000000000000006
RBP: 00007f102dad7ff7 R08: 0000000000000000 R09: 0000000000000053
R10: 00000000fffffff1 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffece95bc6f R14: 00007f102c9f3300 R15: 0000000000022000
NMI backtrace for cpu 0
CPU: 0 PID: 28177 Comm: syz-executor.1 Not tainted 5.16.0-rc4-next-20211206-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+0x1b3/0x230 lib/nmi_backtrace.c:62
trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline]
rcu_dump_cpu_stacks+0x25e/0x3f0 kernel/rcu/tree_stall.h:343
print_cpu_stall kernel/rcu/tree_stall.h:604 [inline]
check_cpu_stall kernel/rcu/tree_stall.h:688 [inline]
rcu_pending kernel/rcu/tree.c:3919 [inline]
rcu_sched_clock_irq.cold+0x9d/0x746 kernel/rcu/tree.c:2617
update_process_times+0x16d/0x200 kernel/time/timer.c:1785
tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:226
tick_sched_timer+0x1b0/0x2d0 kernel/time/tick-sched.c:1428
__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:1086 [inline]
__sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1103
sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1097
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:perf_output_read_group kernel/events/core.c:6939 [inline]
RIP: 0010:perf_output_read+0xef1/0x1310 kernel/events/core.c:6978
Code: 42 80 3c 28 00 0f 85 ad 02 00 00 48 8b 44 24 10 48 8b a8 98 00 00 00 48 8d bd a8 00 00 00 48 89 f8 48 c1 e8 03 42 80 3c 28 00 <0f> 85 7e 02 00 00 48 8b 7c 24 10 ff 95 a8 00 00 00 e9 03 fd ff ff
RSP: 0018:ffffc90002caf118 EFLAGS: 00000246
RAX: 1ffffffff178a341 RBX: ffffc90002caf460 RCX: ffffc9000db1e000
RDX: 0000000000040000 RSI: ffffffff8196a5a4 RDI: ffffffff8bc51a08
RBP: ffffffff8bc51960 R08: 0000000000000001 R09: ffff88807d3bf17f
R10: ffffffff8196a2f1 R11: 0000000000000001 R12: ffffc90002caf260
R13: dffffc0000000000 R14: ffff8880139840a0 R15: 0000000000000010
perf_output_sample+0xd12/0x1d80 kernel/events/core.c:7025
__perf_event_output kernel/events/core.c:7510 [inline]
perf_event_output_forward+0x119/0x280 kernel/events/core.c:7524
__perf_event_overflow+0x13c/0x3d0 kernel/events/core.c:9224
perf_swevent_overflow kernel/events/core.c:9300 [inline]
perf_swevent_event+0x347/0x550 kernel/events/core.c:9328
do_perf_sw_event kernel/events/core.c:9441 [inline]
___perf_sw_event+0x31a/0x570 kernel/events/core.c:9472
__perf_sw_event+0x54/0x130 kernel/events/core.c:9484
perf_sw_event include/linux/perf_event.h:1176 [inline]
mm_account_fault mm/memory.c:4743 [inline]
handle_mm_fault+0x5ef/0x790 mm/memory.c:4794
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:568
RIP: 0010:copy_user_enhanced_fast_string+0xe/0x30 arch/x86/lib/copy_user_64.S:206
Code: 89 d1 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 31 c0 0f 01 ca c3 0f 1f 80 00 00 00 00 0f 01 cb 83 fa 40 0f 82 70 ff ff ff 89 d1 a4 31 c0 0f 01 ca c3 66 2e 0f 1f 84 00 00 00 00 00 89 d1 f3 a4
RSP: 0018:ffffc90002caf9b8 EFLAGS: 00050206
RAX: 0000000000000001 RBX: 0000000000008000 RCX: 0000000000007fcb
RDX: 0000000000008000 RSI: 0000000020f1d000 RDI: ffff888056610035
RBP: ffff888056610000 R08: 0000000000000001 R09: ffff888056617fff
R10: ffffed100acc2fff R11: 0000000000000000 R12: 0000000020f1cfcb
R13: 0000000020f24fcb R14: 0000000000000000 R15: ffffc90002cafd70
copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline]
raw_copy_from_user arch/x86/include/asm/uaccess_64.h:52 [inline]
copyin.part.0+0xe4/0x110 lib/iov_iter.c:168
copyin lib/iov_iter.c:767 [inline]
_copy_from_iter+0x2a3/0x11c0 lib/iov_iter.c:767
copy_from_iter include/linux/uio.h:164 [inline]
copy_from_iter_full include/linux/uio.h:170 [inline]
skb_do_copy_data_nocache include/net/sock.h:2185 [inline]
skb_copy_to_page_nocache include/net/sock.h:2211 [inline]
tcp_sendmsg_locked+0x12e9/0x3190 net/ipv4/tcp.c:1334
tcp_sendmsg+0x2b/0x40 net/ipv4/tcp.c:1440
inet_sendmsg+0x99/0xe0 net/ipv4/af_inet.c:817
sock_sendmsg_nosec net/socket.c:704 [inline]
sock_sendmsg+0xcf/0x120 net/socket.c:724
__sys_sendto+0x21c/0x320 net/socket.c:2036
__do_sys_sendto net/socket.c:2048 [inline]
__se_sys_sendto net/socket.c:2044 [inline]
__x64_sys_sendto+0xdd/0x1b0 net/socket.c:2044
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:0x7f102da7dae9
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 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f102c9f3188 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f102db90f60 RCX: 00007f102da7dae9
RDX: ffffffffffffffef RSI: 0000000020d7cfcb RDI: 0000000000000006
RBP: 00007f102dad7ff7 R08: 0000000000000000 R09: 0000000000000053
R10: 00000000fffffff1 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffece95bc6f R14: 00007f102c9f3300 R15: 0000000000022000
----------------
Code disassembly (best guess):
0: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1)
5: 0f 85 ad 02 00 00 jne 0x2b8
b: 48 8b 44 24 10 mov 0x10(%rsp),%rax
10: 48 8b a8 98 00 00 00 mov 0x98(%rax),%rbp
17: 48 8d bd a8 00 00 00 lea 0xa8(%rbp),%rdi
1e: 48 89 f8 mov %rdi,%rax
21: 48 c1 e8 03 shr $0x3,%rax
25: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1)
* 2a: 0f 85 7e 02 00 00 jne 0x2ae <-- trapping instruction
30: 48 8b 7c 24 10 mov 0x10(%rsp),%rdi
35: ff 95 a8 00 00 00 callq *0xa8(%rbp)
3b: e9 03 fd ff ff jmpq 0xfffffd43