rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (10500 ticks this GP) idle=989/1/0x4000000000000000 softirq=23844/23844 fqs=0 (t=10502 jiffies g=35109 q=269) rcu: rcu_preempt kthread timer wakeup didn't happen for 10502 jiffies! g35109 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=19377 rcu: rcu_preempt kthread starved for 10505 jiffies! g35109 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:28720 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0xab2/0x4e90 kernel/sched/core.c:6296 schedule+0xd2/0x260 kernel/sched/core.c:6369 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1881 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:377 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: 7841 Comm: syz-executor.4 Not tainted 5.16.0-rc6-next-20211224-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:3920 [inline] rcu_sched_clock_irq.cold+0x57/0x759 kernel/rcu/tree.c:2625 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: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 76 c8 70 02 66 0f 1f 44 00 00 48 8b be b0 01 00 00 e8 b4 ff ff ff 31 c0 c3 90 65 8b 05 39 6b 8a 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:ffffc90004d2f838 EFLAGS: 00000286 RAX: 0000000080000000 RBX: ffff888044b0be70 RCX: ffffc90005fe2000 RDX: 1ffff920009a5f18 RSI: ffffffff81d73228 RDI: ffffc90004d2f8b8 RBP: ffffc90004d2f920 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff81d797dc R11: 0000000000000000 R12: ffffc90004d2f8b8 R13: fffff520009a5f18 R14: fffff520009a5f17 R15: 0000000000000000 native_save_fl arch/x86/include/asm/irqflags.h:29 [inline] arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] arch_local_irq_save arch/x86/include/asm/irqflags.h:106 [inline] seqcount_lockdep_reader_access include/linux/seqlock.h:102 [inline] ktime_get_coarse_real_ts64+0x3c/0x200 kernel/time/timekeeping.c:2240 current_time+0x72/0x2c0 fs/inode.c:2398 atime_needs_update+0x43b/0x870 fs/inode.c:1906 touch_atime+0xd3/0x700 fs/inode.c:1923 file_accessed include/linux/fs.h:2426 [inline] generic_file_splice_read+0x584/0x6d0 fs/splice.c:314 do_splice_to+0x1bf/0x250 fs/splice.c:796 splice_direct_to_actor+0x2c2/0x8c0 fs/splice.c:870 do_splice_direct+0x1b3/0x280 fs/splice.c:979 do_sendfile+0xaf2/0x1250 fs/read_write.c:1245 __do_sys_sendfile64 fs/read_write.c:1310 [inline] __se_sys_sendfile64 fs/read_write.c:1296 [inline] __x64_sys_sendfile64+0x1cc/0x210 fs/read_write.c:1296 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:0x7f18a4e81e99 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:00007f18a37f7168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f18a4f94f60 RCX: 00007f18a4e81e99 RDX: 0000000000000000 RSI: 000000000000000f RDI: 0000000000000005 RBP: 00007f18a4edbff1 R08: 0000000000000000 R09: 0000000000000000 R10: 00008400fffffffb R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffeeb72588f R14: 00007f18a37f7300 R15: 0000000000022000 NMI backtrace for cpu 0 CPU: 0 PID: 7841 Comm: syz-executor.4 Not tainted 5.16.0-rc6-next-20211224-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+0x262/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:3920 [inline] rcu_sched_clock_irq.cold+0x5c/0x759 kernel/rcu/tree.c:2625 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: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 76 c8 70 02 66 0f 1f 44 00 00 48 8b be b0 01 00 00 e8 b4 ff ff ff 31 c0 c3 90 65 8b 05 39 6b 8a 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:ffffc90004d2f838 EFLAGS: 00000286 RAX: 0000000080000000 RBX: ffff888044b0be70 RCX: ffffc90005fe2000 RDX: 1ffff920009a5f18 RSI: ffffffff81d73228 RDI: ffffc90004d2f8b8 RBP: ffffc90004d2f920 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff81d797dc R11: 0000000000000000 R12: ffffc90004d2f8b8 R13: fffff520009a5f18 R14: fffff520009a5f17 R15: 0000000000000000 native_save_fl arch/x86/include/asm/irqflags.h:29 [inline] arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] arch_local_irq_save arch/x86/include/asm/irqflags.h:106 [inline] seqcount_lockdep_reader_access include/linux/seqlock.h:102 [inline] ktime_get_coarse_real_ts64+0x3c/0x200 kernel/time/timekeeping.c:2240 current_time+0x72/0x2c0 fs/inode.c:2398 atime_needs_update+0x43b/0x870 fs/inode.c:1906 touch_atime+0xd3/0x700 fs/inode.c:1923 file_accessed include/linux/fs.h:2426 [inline] generic_file_splice_read+0x584/0x6d0 fs/splice.c:314 do_splice_to+0x1bf/0x250 fs/splice.c:796 splice_direct_to_actor+0x2c2/0x8c0 fs/splice.c:870 do_splice_direct+0x1b3/0x280 fs/splice.c:979 do_sendfile+0xaf2/0x1250 fs/read_write.c:1245 __do_sys_sendfile64 fs/read_write.c:1310 [inline] __se_sys_sendfile64 fs/read_write.c:1296 [inline] __x64_sys_sendfile64+0x1cc/0x210 fs/read_write.c:1296 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:0x7f18a4e81e99 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:00007f18a37f7168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f18a4f94f60 RCX: 00007f18a4e81e99 RDX: 0000000000000000 RSI: 000000000000000f RDI: 0000000000000005 RBP: 00007f18a4edbff1 R08: 0000000000000000 R09: 0000000000000000 R10: 00008400fffffffb R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffeeb72588f R14: 00007f18a37f7300 R15: 0000000000022000 sched: RT throttling activated ---------------- Code disassembly (best guess): 0: 4a 00 5d be rex.WX add %bl,-0x42(%rbp) 4: 03 00 add (%rax),%eax 6: 00 00 add %al,(%rax) 8: e9 76 c8 70 02 jmpq 0x270c883 d: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 13: 48 8b be b0 01 00 00 mov 0x1b0(%rsi),%rdi 1a: e8 b4 ff ff ff callq 0xffffffd3 1f: 31 c0 xor %eax,%eax 21: c3 retq 22: 90 nop 23: 65 8b 05 39 6b 8a 7e mov %gs:0x7e8a6b39(%rip),%eax # 0x7e8a6b63 * 2a: 89 c1 mov %eax,%ecx <-- trapping instruction 2c: 48 8b 34 24 mov (%rsp),%rsi 30: 81 e1 00 01 00 00 and $0x100,%ecx 36: 65 48 8b 14 25 00 70 mov %gs:0x27000,%rdx 3d: 02 00 3f: a9 .byte 0xa9