rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 1-...!: (1 GPs behind) idle=5cd/1/0x4000000000000000 softirq=28766/28767 fqs=1
(t=10500 jiffies g=36677 q=309)
rcu: rcu_preempt kthread starved for 10498 jiffies! g36677 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R running task stack:27256 pid: 15 ppid: 2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5027 [inline]
__schedule+0x12c4/0x45b0 kernel/sched/core.c:6373
schedule+0x11b/0x1f0 kernel/sched/core.c:6456
schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1914
rcu_gp_fqs_loop+0x2bf/0x1080 kernel/rcu/tree.c:1972
rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2145
kthread+0x3f6/0x4f0 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
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: 10460 Comm: syz.1.1689 Not tainted 5.15.171-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:__preempt_count_add kernel/rcu/tree.c:1119 [inline]
RIP: 0010:rcu_is_watching+0x4/0xa0 kernel/rcu/tree.c:1122
Code: 5d 41 5e 41 5f 5d c3 e8 da 15 c9 08 41 f7 c4 00 02 00 00 75 b4 eb b3 e8 ba 15 c9 08 66 2e 0f 1f 84 00 00 00 00 00 41 57 41 56 <53> 65 ff 05 9c 46 97 7e e8 5f 29 c9 08 89 c3 83 f8 08 73 72 49 bf
RSP: 0018:ffffc90003207a48 EFLAGS: 00000202
RAX: 0000000000000002 RBX: 0000000000000001 RCX: ffffffff812f1242
RDX: ffff88807f8d9dc0 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90003207c01 R08: ffffffff812f126a R09: fffffbfff1bd2cd6
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: 1ffff1100ff1b6a9 R14: ffff88807f8d9dc0 R15: dffffc0000000000
FS: 00007f35fce3e6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002006b000 CR3: 0000000062c28000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
trace_x86_fpu_regs_activated arch/x86/include/asm/trace/fpu.h:57 [inline]
fpregs_activate+0x84/0x1c0 arch/x86/include/asm/fpu/internal.h:451
fpregs_mark_activate+0x23/0x80 arch/x86/kernel/fpu/core.c:429
restore_fpregs_from_user arch/x86/kernel/fpu/signal.c:299 [inline]
__fpu_restore_sig arch/x86/kernel/fpu/signal.c:334 [inline]
fpu__restore_sig+0x83c/0x1100 arch/x86/kernel/fpu/signal.c:466
restore_sigcontext+0x638/0x710 arch/x86/kernel/signal.c:139
__do_sys_rt_sigreturn+0x190/0x250 arch/x86/kernel/signal.c:674
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f35fe9e7717
Code: ff ff 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 a8 ff ff ff f7 d8 64 89
RSP: 002b:00007f35fce3e038 EFLAGS: 00000246
RAX: 000000000000012b RBX: 00007f35feb9f058 RCX: 00007f35fe9e7719
RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000003
RBP: 00007f35fea5a39e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f35feb9f058 R15: 00007fff6fbf7d68
NMI backtrace for cpu 1
CPU: 1 PID: 10447 Comm: syz.5.1686 Not tainted 5.15.171-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62
trigger_single_cpu_backtrace include/linux/nmi.h:166 [inline]
rcu_dump_cpu_stacks+0x223/0x390 kernel/rcu/tree_stall.h:349
print_cpu_stall+0x320/0x600 kernel/rcu/tree_stall.h:633
check_cpu_stall kernel/rcu/tree_stall.h:727 [inline]
rcu_pending kernel/rcu/tree.c:3932 [inline]
rcu_sched_clock_irq+0x8d9/0x1150 kernel/rcu/tree.c:2619
update_process_times+0x196/0x200 kernel/time/timer.c:1818
tick_sched_handle kernel/time/tick-sched.c:254 [inline]
tick_sched_timer+0x386/0x550 kernel/time/tick-sched.c:1473
__run_hrtimer kernel/time/hrtimer.c:1688 [inline]
__hrtimer_run_queues+0x55b/0xcf0 kernel/time/hrtimer.c:1752
hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1814
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline]
__sysvec_apic_timer_interrupt+0x13b/0x4b0 arch/x86/kernel/apic/apic.c:1114
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1108
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202
Code: 51 67 f6 ff 90 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 4e 0b 25 f7 48 89 df e8 a6 5f 26 f7 e8 61 1a 49 f7 fb bf 01 00 00 00 06 a5 19 f7 65 8b 05 17 98 c4 75 85 c0 74 02 5b c3 e8 e4 b4 c2
RSP: 0018:ffffc90002da7bc0 EFLAGS: 00000282
RAX: 62bd851efee24400 RBX: ffff88802aa540c0 RCX: ffffffff96869f03
RDX: dffffc0000000000 RSI: ffffffff8a8b2a80 RDI: 0000000000000001
RBP: 0000000000000000 R08: ffffffff8186f230 R09: ffffed100554a819
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000021
R13: dffffc0000000000 R14: ffff88802aa54558 R15: ffff88802aa540c0
spin_unlock_irq include/linux/spinlock.h:413 [inline]
get_signal+0x13ee/0x14e0 kernel/signal.c:2903
arch_do_signal_or_restart+0xc3/0x1890 arch/x86/kernel/signal.c:867
handle_signal_work kernel/entry/common.c:154 [inline]
exit_to_user_mode_loop+0x97/0x130 kernel/entry/common.c:178
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214
__syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline]
syscall_exit_to_user_mode+0x5d/0x240 kernel/entry/common.c:307
do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f026e25db7c
Code: 49 89 d5 4c 8b 72 28 48 89 44 24 08 8b 42 04 85 c0 0f 84 ba 00 00 00 40 0f b6 c6 c6 44 24 1e 01 45 31 ff 45 31 e4 89 44 24 18 <48> 8b 7c 24 08 44 89 fa 4d 8b 4d 30 4c 89 e0 48 8d 14 d7 4e 03 0c
RSP: 002b:00007fff269bdf10 EFLAGS: 00000297
RAX: 0000000000000001 RBX: 00007f026f066720 RCX: ffffffff83c4013b
RDX: 000000000000013b RSI: ffffffff83c4013b RDI: 000000000000000a
RBP: 0000000000000000 R08: 00007f026e521000 R09: 00007f026e523000
R10: 0000000083c4013f R11: 000000000000000a R12: ffffffff83c4049f
R13: 00007f026e537018 R14: 0000000000000008 R15: 0000000000031f10