rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=0a3/1/0x4000000000000000 softirq=36928/36929 fqs=2499 (detected by 0, t=10502 jiffies, g=61693, q=968) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 21259 Comm: syz-executor.5 Not tainted 5.16.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:match_held_lock+0x8/0xc0 kernel/locking/lockdep.c:5086 Code: 89 e8 1b 79 bc ff 48 c7 c7 40 0e ac 89 e8 0f 79 bc ff e8 9e e8 cc ff 31 c0 5d c3 0f 1f 80 00 00 00 00 53 48 89 fb 48 83 ec 08 <48> 39 77 10 74 6a 66 f7 47 22 f0 ff 74 5a 48 8b 46 08 48 89 f7 48 RSP: 0018:ffffc90000dc0c28 EFLAGS: 00000096 RAX: 0000000000000005 RBX: ffff8880179c2788 RCX: ffffc90000dc0cc8 RDX: 0000000000000002 RSI: ffffffff9070e8c0 RDI: ffff8880179c2788 RBP: 1ffff920001b8191 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff8880179c2788 R13: ffffffff9070e8c0 R14: ffffc90000dc0cc8 R15: 0000000000000001 FS: 00007f95d7836700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30722000 CR3: 0000000032113000 CR4: 0000000000350ee0 Call Trace: find_held_lock+0x2d/0x110 kernel/locking/lockdep.c:5130 __lock_release kernel/locking/lockdep.c:5314 [inline] lock_release+0x1f2/0x720 kernel/locking/lockdep.c:5657 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:149 [inline] _raw_spin_unlock_irqrestore+0x16/0x70 kernel/locking/spinlock.c:194 debug_object_deactivate lib/debugobjects.c:757 [inline] debug_object_deactivate+0x264/0x300 lib/debugobjects.c:723 debug_hrtimer_deactivate kernel/time/hrtimer.c:425 [inline] debug_deactivate kernel/time/hrtimer.c:481 [inline] __run_hrtimer kernel/time/hrtimer.c:1653 [inline] __hrtimer_run_queues+0x3f8/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:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x38/0x70 kernel/locking/spinlock.c:194 Code: 74 24 10 e8 ba f1 07 f8 48 89 ef e8 02 68 08 f8 81 e3 00 02 00 00 75 25 9c 58 f6 c4 02 75 2d 48 85 db 74 01 fb bf 01 00 00 00 c3 31 fb f7 65 8b 05 fc 65 ad 76 85 c0 74 0a 5b 5d c3 e8 80 21 RSP: 0018:ffffc90001f6fb80 EFLAGS: 00000206 RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff1b228f9 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffffffff8bba3000 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff817e2bc8 R11: 0000000000000000 R12: 000000007fffffff R13: ffffc90001f6fcc0 R14: 003b9aca00000000 R15: 0000000000000000 timekeeping_inject_offset+0x4aa/0x620 kernel/time/timekeeping.c:1372 do_adjtimex+0x28f/0xa90 kernel/time/timekeeping.c:2409 do_clock_adjtime kernel/time/posix-timers.c:1109 [inline] __do_sys_clock_adjtime+0x163/0x270 kernel/time/posix-timers.c:1121 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:0x7f95da2c0ae9 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:00007f95d7836188 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 00007f95da3d3f60 RCX: 00007f95da2c0ae9 RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000000 RBP: 00007f95da31af6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc35c60e9f R14: 00007f95d7836300 R15: 0000000000022000 rcu: rcu_preempt kthread starved for 5496 jiffies! g61693 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:28688 pid: 14 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 schedule_timeout+0x14a/0x2a0 kernel/time/timer.c:1881 rcu_gp_fqs_loop+0x186/0x810 kernel/rcu/tree.c:1955 rcu_gp_kthread+0x1de/0x320 kernel/rcu/tree.c:2128 kthread+0x405/0x4f0 kernel/kthread.c:327 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: 11218 Comm: syz-executor.4 Not tainted 5.16.0-rc1-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:105 nmi_trigger_cpumask_backtrace+0x1ae/0x220 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: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+0x2125/0x2200 kernel/rcu/tree.c:2597 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:1421 __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:csd_lock_wait kernel/smp.c:440 [inline] RIP: 0010:smp_call_function_many_cond+0x452/0xc20 kernel/smp.c:969 Code: 0b 00 85 ed 74 4d 48 b8 00 00 00 00 00 fc ff df 4d 89 f4 4c 89 f5 49 c1 ec 03 83 e5 07 49 01 c4 83 c5 03 e8 80 75 0b 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 33 06 00 00 8b 43 08 31 RSP: 0018:ffffc90004c47680 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b9d3fca0 RCX: 0000000000000000 RDX: ffff88806ec4d700 RSI: ffffffff816c7260 RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff816c7286 R11: 0000000000000000 R12: ffffed10173a7f95 R13: 0000000000000001 R14: ffff8880b9d3fca8 R15: 0000000000000001 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:1112 [inline] text_poke_bp_batch+0x1b3/0x560 arch/x86/kernel/alternative.c:1297 text_poke_flush arch/x86/kernel/alternative.c:1451 [inline] text_poke_flush arch/x86/kernel/alternative.c:1448 [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 jump_label_update+0x1d5/0x430 kernel/jump_label.c:830 static_key_disable_cpuslocked+0x152/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+0x632/0xc30 kernel/tracepoint.c:551 trace_event_reg+0x181/0x350 kernel/trace/trace_events.c:517 perf_trace_event_unreg.isra.0+0xac/0x2b0 kernel/trace/trace_event_perf.c:162 perf_trace_destroy+0xb5/0xf0 kernel/trace/trace_event_perf.c:243 _free_event+0x2ee/0x1390 kernel/events/core.c:4982 put_event kernel/events/core.c:5076 [inline] perf_event_release_kernel+0x6f2/0x940 kernel/events/core.c:5191 perf_release+0x33/0x40 kernel/events/core.c:5201 __fput+0x286/0x9f0 fs/file_table.c:280 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 exit_task_work include/linux/task_work.h:32 [inline] do_exit+0xc14/0x2b40 kernel/exit.c:832 do_group_exit+0x125/0x310 kernel/exit.c:929 get_signal+0x47d/0x2220 kernel/signal.c:2830 arch_do_signal_or_restart+0x2a9/0x1c40 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+0x17d/0x290 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f001110bae9 Code: Unable to access opcode bytes at RIP 0x7f001110babf. RSP: 002b:00007f000e681218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f001121ef68 RCX: 00007f001110bae9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f001121ef68 RBP: 00007f001121ef60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f001121ef6c R13: 00007ffd8e29d7ef R14: 00007f000e681300 R15: 0000000000022000 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: e8 1b 79 bc ff callq 0xffbc7920 5: 48 c7 c7 40 0e ac 89 mov $0xffffffff89ac0e40,%rdi c: e8 0f 79 bc ff callq 0xffbc7920 11: e8 9e e8 cc ff callq 0xffcce8b4 16: 31 c0 xor %eax,%eax 18: 5d pop %rbp 19: c3 retq 1a: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 21: 53 push %rbx 22: 48 89 fb mov %rdi,%rbx 25: 48 83 ec 08 sub $0x8,%rsp * 29: 48 39 77 10 cmp %rsi,0x10(%rdi) <-- trapping instruction 2d: 74 6a je 0x99 2f: 66 f7 47 22 f0 ff testw $0xfff0,0x22(%rdi) 35: 74 5a je 0x91 37: 48 8b 46 08 mov 0x8(%rsi),%rax 3b: 48 89 f7 mov %rsi,%rdi 3e: 48 rex.W