rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=6ed/1/0x4000000000000000 softirq=63462/63463 fqs=2512 (detected by 1, t=10502 jiffies, g=102737, q=1651) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 20546 Comm: syz-executor.0 Not tainted 5.16.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:strlen+0x37/0x60 lib/string.c:487 Code: 00 00 fc ff df 48 89 f8 66 2e 0f 1f 84 00 00 00 00 00 90 48 89 c3 48 c1 e8 03 42 0f b6 04 38 84 c0 75 0b 48 8d 43 01 80 3b 00 <75> e7 eb 13 89 d9 80 e1 07 38 c1 7c ec 48 89 df e8 74 92 89 fd eb RSP: 0018:ffffc90000007960 EFLAGS: 00000002 RAX: ffffffff8b9ec001 RBX: ffffffff8b9ec000 RCX: 0000000000007a03 RDX: 0000000000000000 RSI: ffff8880231a7300 RDI: ffffffff8b9ec000 RBP: ffffc90000007a98 R08: 0000000000000000 R09: 0000000000000001 R10: fffffbfff1bfd58e R11: 0000000000000000 R12: 0000000000000000 R13: ffffffff8c9ec5c0 R14: ffffffff8b9ec000 R15: dffffc0000000000 FS: 00005555555fc400(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f190c687090 CR3: 000000003487d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_event_get_offsets_lock_acquire include/trace/events/lock.h:13 [inline] perf_trace_lock_acquire+0x113/0x4a0 include/trace/events/lock.h:13 trace_lock_acquire+0x161/0x190 include/trace/events/lock.h:13 lock_acquire+0xa5/0x4d0 kernel/locking/lockdep.c:5608 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:349 [inline] advance_sched+0x4c/0x930 net/sched/sch_taprio.c:714 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x50b/0xa60 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x3b3/0x1040 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0xf9/0x270 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 RIP: 0010:lock_is_held_type+0x143/0x190 Code: 75 40 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 75 46 41 f7 c4 00 02 00 00 74 01 fb 65 48 8b 04 25 28 00 00 00 <48> 3b 44 24 08 75 3c 89 d8 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f RSP: 0018:ffffc9000440fc18 EFLAGS: 00000206 RAX: 92114e2fe1976900 RBX: 0000000000000000 RCX: 0000000080000002 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000 RBP: ffffc9000440fce8 R08: dffffc0000000000 R09: fffffbfff1bfd58e R10: fffffbfff1bfd58e R11: 0000000000000000 R12: 0000000000000246 R13: ffff8880229cd700 R14: 00000000ffffffff R15: ffffffff8cb1dd60 lock_is_held include/linux/lockdep.h:283 [inline] rcu_read_lock_sched_held+0x89/0x130 kernel/rcu/update.c:125 trace_lock_acquire+0x59/0x190 include/trace/events/lock.h:13 lock_acquire+0xa5/0x4d0 kernel/locking/lockdep.c:5608 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:349 [inline] pick_file+0x2f/0x1f0 fs/file.c:614 close_fd+0x45/0x70 fs/file.c:638 __do_sys_close fs/open.c:1341 [inline] __se_sys_close fs/open.c:1339 [inline] __x64_sys_close+0x34/0x90 fs/open.c:1339 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f190c525adb Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44 RSP: 002b:00007fff16d3a030 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 000000000000001d RCX: 00007f190c525adb RDX: ffffffffffffffbc RSI: ffffffffffffffff RDI: 000000000000001c RBP: 00007f190c687960 R08: 0000000000000000 R09: 00007f190c68a608 R10: 00007fff16d3a130 R11: 0000000000000293 R12: 00000000000d8fed R13: 00007fff16d3a130 R14: 00007f190c685f60 R15: 0000000000000032 rcu: rcu_preempt kthread starved for 5475 jiffies! g102737 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:26576 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6253 schedule+0x12b/0x1f0 kernel/sched/core.c:6326 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1881 rcu_gp_fqs_loop+0x1fd/0x770 kernel/rcu/tree.c:1955 rcu_gp_kthread+0xa5/0x350 kernel/rcu/tree.c:2128 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 rcu: Stack dump where RCU GP kthread last ran: NMI backtrace for cpu 1 CPU: 1 PID: 19612 Comm: syz-executor.0 Not tainted 5.16.0-rc7-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+0x1dc/0x2d8 lib/dump_stack.c:106 nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x16a/0x280 lib/nmi_backtrace.c:62 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline] rcu_check_gp_kthread_starvation+0x1ff/0x270 kernel/rcu/tree_stall.h:481 print_other_cpu_stall kernel/rcu/tree_stall.h:586 [inline] check_cpu_stall kernel/rcu/tree_stall.h:729 [inline] rcu_pending kernel/rcu/tree.c:3878 [inline] rcu_sched_clock_irq+0x23d5/0x2bc0 kernel/rcu/tree.c:2597 update_process_times+0x197/0x200 kernel/time/timer.c:1785 tick_sched_handle kernel/time/tick-sched.c:226 [inline] tick_sched_timer+0x27d/0x420 kernel/time/tick-sched.c:1428 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x4cb/0xa60 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x3b3/0x1040 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0xf9/0x270 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 RIP: 0010:csd_lock_wait kernel/smp.c:440 [inline] RIP: 0010:smp_call_function_many_cond+0xbb2/0xda0 kernel/smp.c:969 Code: 83 e6 01 31 ff e8 ee b1 0b 00 41 83 e7 01 49 bf 00 00 00 00 00 fc ff df 75 0e e8 c9 ad 0b 00 eb 4c 0f 1f 80 00 00 00 00 f3 90 <42> 0f b6 04 3b 84 c0 75 11 41 f7 45 00 01 00 00 00 74 2b e8 a6 ad RSP: 0018:ffffc9000b7a7380 EFLAGS: 00000293 RAX: ffffffff8178d06a RBX: 1ffff1101734831d RCX: ffff888018f9ba00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000b7a74c0 R08: ffffffff8178d032 R09: ffffffff8442f410 R10: 0000000000000009 R11: ffff888018f9ba00 R12: 0000000000000000 R13: ffff8880b9a418e8 R14: ffff8880b9b3a640 R15: dffffc0000000000 on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1135 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1112 [inline] text_poke_bp_batch+0x310/0x940 arch/x86/kernel/alternative.c:1297 text_poke_flush arch/x86/kernel/alternative.c:1451 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1458 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 static_key_disable_cpuslocked+0xcc/0x1b0 kernel/jump_label.c:207 static_key_disable+0x16/0x20 kernel/jump_label.c:215 tracepoint_remove_func kernel/tracepoint.c:417 [inline] tracepoint_probe_unregister+0x730/0x9c0 kernel/tracepoint.c:551 trace_event_reg+0x215/0x250 perf_trace_event_unreg+0xaf/0x220 kernel/trace/trace_event_perf.c:162 perf_trace_destroy+0x93/0xb0 kernel/trace/trace_event_perf.c:243 _free_event+0x874/0xe50 kernel/events/core.c:4982 put_event kernel/events/core.c:5076 [inline] perf_event_release_kernel+0x86f/0x900 kernel/events/core.c:5191 perf_release+0x37/0x40 kernel/events/core.c:5201 __fput+0x3fc/0x870 fs/file_table.c:280 task_work_run+0x146/0x1c0 kernel/task_work.c:164 exit_task_work include/linux/task_work.h:32 [inline] do_exit+0x705/0x2340 kernel/exit.c:832 do_group_exit+0x168/0x2d0 kernel/exit.c:929 get_signal+0x1740/0x2120 kernel/signal.c:2852 arch_do_signal_or_restart+0x9c/0x730 arch/x86/kernel/signal.c:868 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x191/0x220 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x2e/0x70 kernel/entry/common.c:300 do_syscall_64+0x53/0xd0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f190c572e99 Code: Unable to access opcode bytes at RIP 0x7f190c572e6f. RSP: 002b:00007f190aee8168 EFLAGS: 00000246 ORIG_RAX: 0000000000000129 RAX: 0000000000000000 RBX: 00007f190c685f60 RCX: 00007f190c572e99 RDX: 0000000000000016 RSI: 0000000000000b85 RDI: 0000000000000b85 RBP: 00007f190c5ccff1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020000100 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff16d39fcf R14: 00007f190aee8300 R15: 0000000000022000 ---------------- Code disassembly (best guess), 4 bytes skipped: 0: df 48 89 fisttps -0x77(%rax) 3: f8 clc 4: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) b: 00 00 00 e: 90 nop f: 48 89 c3 mov %rax,%rbx 12: 48 c1 e8 03 shr $0x3,%rax 16: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax 1b: 84 c0 test %al,%al 1d: 75 0b jne 0x2a 1f: 48 8d 43 01 lea 0x1(%rbx),%rax 23: 80 3b 00 cmpb $0x0,(%rbx) * 26: 75 e7 jne 0xf <-- trapping instruction 28: eb 13 jmp 0x3d 2a: 89 d9 mov %ebx,%ecx 2c: 80 e1 07 and $0x7,%cl 2f: 38 c1 cmp %al,%cl 31: 7c ec jl 0x1f 33: 48 89 df mov %rbx,%rdi 36: e8 74 92 89 fd callq 0xfd8992af 3b: eb .byte 0xeb