rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (0 ticks this GP) idle=fa1/1/0x4000000000000000 softirq=160044/160044 fqs=0 (detected by 1, t=10506 jiffies, g=259081, q=17) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 21548 Comm: syz-executor.4 Not tainted 5.18.0-rc7-syzkaller-00181-geaea45fc0e7b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__rcu_read_unlock+0xe9/0x570 kernel/rcu/tree_plugin.h:427 Code: 00 85 c0 75 54 65 48 8b 1c 25 00 70 02 00 48 8d bb 3c 04 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 14 02 <48> 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 5e 01 00 00 8b RSP: 0018:ffffc90000007da0 EFLAGS: 00000803 RAX: dffffc0000000000 RBX: ffff888072ab2040 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8780a83a RDI: ffff888072ab247c RBP: ffff888072ab2040 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff8780a82d R11: 0000000000000000 R12: ffff888072ab2040 R13: 16f1c37565c00000 R14: ffff88801ddfaca0 R15: 16f1c37565c00000 FS: 000055555629e400(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fffc5242fd8 CR3: 000000007c8cc000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_unlock include/linux/rcupdate.h:726 [inline] advance_sched+0x4ef/0x9a0 net/sched/sch_taprio.c:770 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x609/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:trace_lock_release include/trace/events/lock.h:58 [inline] RIP: 0010:lock_release+0xa9/0x720 kernel/locking/lockdep.c:5652 Code: 07 0f 87 f6 04 00 00 89 db be 08 00 00 00 48 89 d8 48 c1 f8 06 48 8d 3c c5 10 eb b8 8d e8 3f 93 66 00 48 0f a3 1d 17 0f 5c 0c <0f> 82 60 04 00 00 48 c7 c3 cc 1e b9 8d 48 b8 00 00 00 00 00 fc ff RSP: 0018:ffffc90003d77cd0 EFLAGS: 00000247 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff815cdbf1 RDX: fffffbfff1b71d63 RSI: 0000000000000008 RDI: ffffffff8db8eb10 RBP: 1ffff920007aef9c R08: 0000000000000000 R09: ffffffff8db8eb17 R10: fffffbfff1b71d62 R11: 0000000000000000 R12: ffff88814c1d9e18 R13: ffff88814c1d9e00 R14: ffff88804a4056d8 R15: ffff88801afb1490 __raw_spin_unlock include/linux/spinlock_api_smp.h:141 [inline] _raw_spin_unlock+0x12/0x40 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:389 [inline] list_lru_add+0x3ad/0x510 mm/list_lru.c:135 d_lru_add fs/dcache.c:431 [inline] retain_dentry fs/dcache.c:685 [inline] dput+0x7a7/0xdb0 fs/dcache.c:908 done_path_create fs/namei.c:3751 [inline] do_symlinkat+0x128/0x2e0 fs/namei.c:4329 __do_sys_symlinkat fs/namei.c:4343 [inline] __se_sys_symlinkat fs/namei.c:4340 [inline] __x64_sys_symlinkat+0x93/0xc0 fs/namei.c:4340 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:0x7fa5122889f7 Code: 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 0a 01 00 00 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:00007ffcaddeb728 EFLAGS: 00000202 ORIG_RAX: 000000000000010a RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa5122889f7 RDX: 00007fa5122e312e RSI: 00000000ffffff9c RDI: 00007fa5122e1e13 RBP: 0000000000000000 R08: 0000000000000000 R09: 00007ffcaddeb1a0 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 00007ffcaddeb7f0 rcu: rcu_preempt kthread starved for 10506 jiffies! g259081 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R running task stack:28328 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: NMI backtrace for cpu 1 CPU: 1 PID: 21554 Comm: syz-executor.0 Not tainted 5.18.0-rc7-syzkaller-00181-geaea45fc0e7b #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_check_gp_kthread_starvation.cold+0x1fb/0x200 kernel/rcu/tree_stall.h:490 print_other_cpu_stall kernel/rcu/tree_stall.h:595 [inline] check_cpu_stall kernel/rcu/tree_stall.h:741 [inline] rcu_pending kernel/rcu/tree.c:3923 [inline] rcu_sched_clock_irq+0x1f7c/0x2150 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:csd_lock_wait kernel/smp.c:411 [inline] RIP: 0010:smp_call_function_many_cond+0x49e/0x1110 kernel/smp.c:969 Code: d2 0b 00 85 ed 74 47 48 8b 04 24 49 89 c4 83 e0 07 49 c1 ec 03 48 89 c5 4d 01 fc 83 c5 03 e8 59 d0 0b 00 f3 90 41 0f b6 04 24 <40> 38 c5 7c 08 84 c0 0f 85 21 0a 00 00 8b 43 08 31 ff 83 e0 01 41 RSP: 0018:ffffc90004137a90 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff8880b9c44fc0 RCX: ffffc90003401000 RDX: 0000000000040000 RSI: ffffffff816ca537 RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff816ca55d R11: 0000000000000000 R12: ffffed10173889f9 R13: 0000000000000000 R14: 0000000000000001 R15: dffffc0000000000 on_each_cpu_cond_mask+0x56/0xa0 kernel/smp.c:1135 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1184 [inline] text_poke_bp_batch+0x22c/0x6b0 arch/x86/kernel/alternative.c:1372 text_poke_flush arch/x86/kernel/alternative.c:1542 [inline] text_poke_flush arch/x86/kernel/alternative.c:1539 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1549 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 jump_label_update+0x32f/0x410 kernel/jump_label.c:830 static_key_enable_cpuslocked+0x1b1/0x260 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 __sched_core_enable kernel/sched/core.c:385 [inline] sched_core_get+0x9a/0x190 kernel/sched/core.c:409 sched_core_alloc_cookie kernel/sched/core_sched.c:18 [inline] sched_core_share_pid+0x3d7/0x9c0 kernel/sched/core_sched.c:184 __do_sys_prctl+0x7ed/0x13a0 kernel/sys.c:2608 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:0x7efd316890e9 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:00007efd32707168 EFLAGS: 00000246 ORIG_RAX: 000000000000009d RAX: ffffffffffffffda RBX: 00007efd3179bf60 RCX: 00007efd316890e9 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 000000000000003e RBP: 00007efd316e308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe73bcceff R14: 00007efd32707300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 00 85 c0 75 54 65 add %al,0x655475c0(%rbp) 6: 48 8b 1c 25 00 70 02 mov 0x27000,%rbx d: 00 e: 48 8d bb 3c 04 00 00 lea 0x43c(%rbx),%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: 0f b6 14 02 movzbl (%rdx,%rax,1),%edx * 2a: 48 89 f8 mov %rdi,%rax <-- trapping instruction 2d: 83 e0 07 and $0x7,%eax 30: 83 c0 03 add $0x3,%eax 33: 38 d0 cmp %dl,%al 35: 7c 08 jl 0x3f 37: 84 d2 test %dl,%dl 39: 0f 85 5e 01 00 00 jne 0x19d 3f: 8b .byte 0x8b