tasks_rcu_exit_srcu_stall: rcu_tasks grace period number 37 (since boot) gp_state: RTGS_POST_SCAN_TASKLIST is 143531 jiffies old. Please check any exiting tasks stuck between calls to exit_tasks_rcu_start() and exit_tasks_rcu_finish() INFO: task rcu_tasks_kthre:12 blocked for more than 143 seconds. Not tainted 6.5.0-rc3-next-20230725 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:rcu_tasks_kthre state:D stack:29040 pid:12 ppid:2 flags:0x00004000 Call Trace: __schedule+0x9a9/0x2b00 schedule+0xdb/0x1a0 schedule_timeout+0x3b0/0x400 __wait_for_common+0x1d3/0x550 __synchronize_srcu+0x142/0x240 rcu_tasks_postscan+0x50/0x70 rcu_tasks_wait_gp+0x448/0xb90 rcu_tasks_one_gp+0xa69/0xe10 rcu_tasks_kthread+0x1a7/0x240 kthread+0x33f/0x440 ret_from_fork+0x2f/0x70 ret_from_fork_asm+0x1b/0x30 INFO: task kworker/1:2:54 blocked for more than 143 seconds. Not tainted 6.5.0-rc3-next-20230725 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:2 state:D stack:27592 pid:54 ppid:2 flags:0x00004000 Workqueue: events kprobe_optimizer Call Trace: __schedule+0x9a9/0x2b00 schedule+0xdb/0x1a0 schedule_timeout+0x3b0/0x400 __wait_for_common+0x1d3/0x550 __wait_rcu_gp+0x24e/0x400 synchronize_rcu_tasks_generic.constprop.0+0xd6/0x170 kprobe_optimizer+0x343/0x7e0 process_one_work+0xabf/0x1770 worker_thread+0x64f/0x12a0 kthread+0x33f/0x440 ret_from_fork+0x2f/0x70 ret_from_fork_asm+0x1b/0x30 INFO: task syz-executor.7:4965 blocked for more than 143 seconds. Not tainted 6.5.0-rc3-next-20230725 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.7 state:D stack:25992 pid:4965 ppid:284 flags:0x00004006 Call Trace: __schedule+0x9a9/0x2b00 schedule+0xdb/0x1a0 schedule_preempt_disabled+0x10/0x20 __mutex_lock+0xc10/0x1a30 unregister_kprobe+0x22/0xc0 __unregister_trace_kprobe+0x1a2/0x210 destroy_local_trace_kprobe+0xda/0x180 _free_event+0x207/0x1190 perf_event_release_kernel+0x5b8/0x7a0 perf_release+0x37/0x50 __fput+0x406/0xad0 task_work_run+0x174/0x280 do_exit+0xa92/0x2740 do_group_exit+0xd4/0x2a0 get_signal+0x2693/0x2720 arch_do_signal_or_restart+0x79/0x590 exit_to_user_mode_prepare+0xeb/0x180 syscall_exit_to_user_mode+0x1d/0x50 do_syscall_64+0x4c/0x90 entry_SYSCALL_64_after_hwframe+0x6e/0xd8 RIP: 0033:0x7feaf7d4db19 RSP: 002b:00007feaf5281218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007feaf7e610e8 RCX: 00007feaf7d4db19 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007feaf7e610e8 RBP: 00007feaf7e610e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007feaf7e610ec R13: 00007ffc02d0472f R14: 00007feaf5281300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8560b910 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xe10 1 lock held by ksoftirqd/0/13: 1 lock held by khungtaskd/25: #0: ffffffff8560c4e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 5 locks held by kworker/1:2/54: #0: ffff888008468d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x99d/0x1770 #1: ffff88800fa07d90 ((optimizing_work).work){+.+.}-{0:0}, at: process_one_work+0x9d0/0x1770 #2: ffffffff856551a8 (kprobe_mutex){+.+.}-{3:3}, at: kprobe_optimizer+0x25/0x7e0 #3: ffffffff854e3210 (cpu_hotplug_lock){++++}-{0:0}, at: kprobe_optimizer+0x2a/0x7e0 #4: ffffffff854f77e8 (text_mutex){+.+.}-{3:3}, at: kprobe_optimizer+0x38/0x7e0 1 lock held by systemd-journal/87: 1 lock held by in:imklog/163: #0: ffff88800d889c48 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x97/0xb0 1 lock held by syz-executor.7/4965: #0: ffffffff856551a8 (kprobe_mutex){+.+.}-{3:3}, at: unregister_kprobe+0x22/0xc0 2 locks held by syz-executor.7/17704: #0: ffffffff87baadb0 (&pmus_srcu){.+.+}-{0:0}, at: perf_event_alloc.part.0+0xcd2/0x3a70 #1: ffffffff856551a8 (kprobe_mutex){+.+.}-{3:3}, at: register_kprobe+0x131/0x1580 2 locks held by syz-executor.7/17711: #0: ffffffff87baadb0 (&pmus_srcu){.+.+}-{0:0}, at: perf_event_alloc.part.0+0xcd2/0x3a70 #1: ffffffff856551a8 (kprobe_mutex){+.+.}-{3:3}, at: register_kprobe+0x131/0x1580 ============================================= tasks_rcu_exit_srcu_stall: rcu_tasks grace period number 37 (since boot) gp_state: RTGS_POST_SCAN_TASKLIST is 153771 jiffies old. Please check any exiting tasks stuck between calls to exit_tasks_rcu_start() and exit_tasks_rcu_finish()