rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (1 ticks this GP) idle=8c5/1/0x4000000000000000 softirq=78433/78433 fqs=0 (t=18505 jiffies g=92497 q=113) rcu: rcu_preempt kthread timer wakeup didn't happen for 18504 jiffies! g92497 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=32717 rcu: rcu_preempt kthread starved for 18505 jiffies! g92497 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:28592 pid: 16 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5073 [inline] __schedule+0xa9a/0x4cc0 kernel/sched/core.c:6388 schedule+0xd2/0x1f0 kernel/sched/core.c:6460 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1884 rcu_gp_fqs_loop+0x186/0x810 kernel/rcu/tree.c:1971 rcu_gp_kthread+0x1de/0x320 kernel/rcu/tree.c:2144 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: 28236 Comm: syz-executor.3 Not tainted 5.18.0-rc5-syzkaller-00115-gfe27d189e3f4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:queued_write_lock_slowpath+0x137/0x2b0 kernel/locking/qrwlock.c:78 Code: 00 00 00 00 fc ff df 49 01 c7 41 83 c6 03 41 0f b6 07 41 38 c6 7c 08 84 c0 0f 85 3c 01 00 00 8b 03 3d 00 01 00 00 74 19 f3 90 <41> 0f b6 07 41 38 c6 7c ec 84 c0 74 e8 48 89 df e8 b4 99 66 00 eb RSP: 0018:ffffc9000d997cd8 EFLAGS: 00000006 RAX: 0000000000000300 RBX: ffffffff8ba0a080 RCX: ffffffff815e35ff RDX: fffffbfff1741411 RSI: 0000000000000004 RDI: ffffffff8ba0a080 RBP: 1ffff92001b32f9c R08: 0000000000000001 R09: ffffffff8ba0a083 R10: fffffbfff1741410 R11: 0000000000000001 R12: ffffffff8ba0a084 R13: 00000000000000ff R14: 0000000000000003 R15: fffffbfff1741410 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa0c6ddd718 CR3: 000000004ab1b000 CR4: 0000000000350ee0 Call Trace: queued_write_lock include/asm-generic/qrwlock.h:97 [inline] do_raw_write_lock+0x1ce/0x280 kernel/locking/spinlock_debug.c:210 exit_notify kernel/exit.c:676 [inline] do_exit+0xb44/0x2a00 kernel/exit.c:815 do_group_exit+0xd2/0x2f0 kernel/exit.c:925 __do_sys_exit_group kernel/exit.c:936 [inline] __se_sys_exit_group kernel/exit.c:934 [inline] __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:934 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:0x7fa0c7e890e9 Code: Unable to access opcode bytes at RIP 0x7fa0c7e890bf. RSP: 002b:00007ffc4b70bd98 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 000000000000001e RCX: 00007fa0c7e890e9 RDX: 00007fa0c7e3bd2b RSI: ffffffffffffffb8 RDI: 0000000000000000 RBP: 0000000000000000 R08: 00007fa0c7fa06a0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffc4b70be80 NMI backtrace for cpu 0 CPU: 0 PID: 3607 Comm: syz-executor.2 Not tainted 5.18.0-rc5-syzkaller-00115-gfe27d189e3f4 #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:343 print_cpu_stall kernel/rcu/tree_stall.h:639 [inline] check_cpu_stall kernel/rcu/tree_stall.h:723 [inline] rcu_pending kernel/rcu/tree.c:3923 [inline] rcu_sched_clock_irq.cold+0xa1/0x8d6 kernel/rcu/tree.c:2625 update_process_times+0x16d/0x200 kernel/time/timer.c:1788 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: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:645 RIP: 0010:check_kcov_mode kernel/kcov.c:166 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x7/0x60 kernel/kcov.c:200 Code: 4a 00 5d be 03 00 00 00 e9 c6 3e 7e 02 66 0f 1f 44 00 00 48 8b be a8 01 00 00 e8 b4 ff ff ff 31 c0 c3 90 65 8b 05 89 30 89 7e <89> c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b 14 25 00 70 02 00 a9 RSP: 0018:ffffc9000305fb58 EFLAGS: 00000206 RAX: 0000000080000001 RBX: 0000000000000000 RCX: 0000000040000000 RDX: 0000000000000000 RSI: ffff888024013b00 RDI: 0000000000000003 RBP: ffffc9000305fd1c R08: 0000000000000000 R09: ffffffff8ba0a083 R10: ffffffff81470e3c R11: 0000000000000001 R12: 0000000000000000 R13: 0000000040000005 R14: 0000000040000000 R15: ffff888054e81d80 wait_consider_task+0x32a/0x3c50 kernel/exit.c:1302 do_wait_thread kernel/exit.c:1401 [inline] do_wait+0x6ca/0xce0 kernel/exit.c:1518 kernel_wait4+0x14c/0x260 kernel/exit.c:1681 __do_sys_wait4+0x13f/0x150 kernel/exit.c:1709 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:0x7f2799687587 Code: 89 7c 24 10 48 89 4c 24 18 e8 35 50 02 00 4c 8b 54 24 18 8b 54 24 14 41 89 c0 48 8b 74 24 08 8b 7c 24 10 b8 3d 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 89 44 24 10 e8 65 50 02 00 8b 44 RSP: 002b:00007ffe0d066430 EFLAGS: 00000293 ORIG_RAX: 000000000000003d RAX: ffffffffffffffda RBX: 0000000000000dcb RCX: 00007f2799687587 RDX: 0000000040000001 RSI: 00007ffe0d0664bc RDI: 00000000ffffffff RBP: 00007ffe0d0664bc R08: 0000000000000000 R09: 00007ffe0d0c9080 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032 R13: 00000000000bd3cf R14: 0000000000000011 R15: 00007ffe0d066520 ---------------- Code disassembly (best guess), 6 bytes skipped: 0: df 49 01 fisttps 0x1(%rcx) 3: c7 41 83 c6 03 41 0f movl $0xf4103c6,-0x7d(%rcx) a: b6 07 mov $0x7,%dh c: 41 38 c6 cmp %al,%r14b f: 7c 08 jl 0x19 11: 84 c0 test %al,%al 13: 0f 85 3c 01 00 00 jne 0x155 19: 8b 03 mov (%rbx),%eax 1b: 3d 00 01 00 00 cmp $0x100,%eax 20: 74 19 je 0x3b 22: f3 90 pause * 24: 41 0f b6 07 movzbl (%r15),%eax <-- trapping instruction 28: 41 38 c6 cmp %al,%r14b 2b: 7c ec jl 0x19 2d: 84 c0 test %al,%al 2f: 74 e8 je 0x19 31: 48 89 df mov %rbx,%rdi 34: e8 b4 99 66 00 callq 0x6699ed 39: eb .byte 0xeb