tasks_rcu_exit_srcu_stall: rcu_tasks grace period number 13 (since boot) gp_state: RTGS_POST_SCAN_TASKLIST is 143250 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.4.0-rc5-next-20230609 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:rcu_tasks_kthre state:D stack:29072 pid:12 ppid:2 flags:0x00004000 Call Trace: __schedule+0x9a9/0x2b10 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+0x2c/0x50 INFO: task syz-executor.2:4956 blocked for more than 143 seconds. Not tainted 6.4.0-rc5-next-20230609 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:27328 pid:4956 ppid:267 flags:0x00004006 Call Trace: __schedule+0x9a9/0x2b10 schedule+0xdb/0x1a0 schedule_preempt_disabled+0x10/0x20 __mutex_lock+0xc10/0x1a30 perf_trace_destroy+0x27/0x1c0 _free_event+0x207/0x1150 perf_event_release_kernel+0x5b8/0x7a0 perf_release+0x37/0x50 __fput+0x26f/0xa50 task_work_run+0x174/0x280 do_exit+0xaba/0x2780 do_group_exit+0xd4/0x2a0 get_signal+0x263f/0x26c0 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:0x7fa624836b19 RSP: 002b:00007fa621dac218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007fa624949f68 RCX: 00007fa624836b19 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fa624949f68 RBP: 00007fa624949f60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fa624949f6c R13: 00007ffc96f7768f R14: 00007fa621dac300 R15: 0000000000022000 INFO: task kworker/0:1:5848 blocked for more than 143 seconds. Not tainted 6.4.0-rc5-next-20230609 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:1 state:D stack:27024 pid:5848 ppid:2 flags:0x00004000 Workqueue: events kprobe_optimizer Call Trace: __schedule+0x9a9/0x2b10 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+0x2c/0x50 INFO: task syz-executor.6:7032 blocked for more than 143 seconds. Not tainted 6.4.0-rc5-next-20230609 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.6 state:D stack:27104 pid:7032 ppid:274 flags:0x00004004 Call Trace: __schedule+0x9a9/0x2b10 schedule+0xdb/0x1a0 schedule_preempt_disabled+0x10/0x20 __mutex_lock+0xc10/0x1a30 arch_static_call_transform+0x23/0xa0 __static_call_update+0xd3/0x620 tracepoint_add_func+0xa2e/0xe60 tracepoint_probe_register+0xa5/0xf0 trace_event_reg+0x297/0x350 perf_trace_event_init+0x516/0xa20 perf_trace_init+0x1a4/0x2f0 perf_tp_event_init+0xa6/0x120 perf_try_init_event+0x130/0x570 perf_event_alloc.part.0+0xf84/0x3a30 __do_sys_perf_event_open+0x4d9/0x2a60 do_syscall_64+0x3f/0x90 entry_SYSCALL_64_after_hwframe+0x6e/0xd8 RIP: 0033:0x7fb7a4845b19 RSP: 002b:00007fb7a1dbb188 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 00007fb7a4958f60 RCX: 00007fb7a4845b19 RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 0000000020000080 RBP: 00007fb7a489ff6d R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdc6880c1f R14: 00007fb7a1dbb300 R15: 0000000000022000 INFO: task syz-executor.3:7045 blocked for more than 143 seconds. Not tainted 6.4.0-rc5-next-20230609 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:26992 pid:7045 ppid:271 flags:0x00000004 Call Trace: __schedule+0x9a9/0x2b10 schedule+0xdb/0x1a0 schedule_preempt_disabled+0x10/0x20 __mutex_lock+0xc10/0x1a30 perf_trace_destroy+0x27/0x1c0 _free_event+0x207/0x1150 perf_event_release_kernel+0x5b8/0x7a0 perf_release+0x37/0x50 __fput+0x26f/0xa50 task_work_run+0x174/0x280 exit_to_user_mode_prepare+0x17d/0x180 syscall_exit_to_user_mode+0x1d/0x50 do_syscall_64+0x4c/0x90 entry_SYSCALL_64_after_hwframe+0x6e/0xd8 RIP: 0033:0x7fd27315672b RSP: 002b:00007ffe790f5380 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007fd27315672b RDX: 00007fd2732e1758 RSI: 0000000000000081 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 00007fd2732e1758 R13: 00007ffe790f54a0 R14: 00007fd2732b6f60 R15: 00000000000c3fff INFO: task syz-executor.3:7050 blocked for more than 143 seconds. Not tainted 6.4.0-rc5-next-20230609 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:28848 pid:7050 ppid:271 flags:0x00004006 Call Trace: __schedule+0x9a9/0x2b10 schedule+0xdb/0x1a0 schedule_preempt_disabled+0x10/0x20 __mutex_lock+0xc10/0x1a30 unregister_kretprobes.part.0+0x23/0x210 unregister_kretprobe+0x6d/0xa0 __unregister_trace_kprobe+0xaf/0x210 destroy_local_trace_kprobe+0xda/0x180 perf_try_init_event+0x465/0x570 perf_event_alloc.part.0+0xf84/0x3a30 __do_sys_perf_event_open+0x4d9/0x2a60 do_syscall_64+0x3f/0x90 entry_SYSCALL_64_after_hwframe+0x6e/0xd8 RIP: 0033:0x7fd2731a3b19 RSP: 002b:00007fd2706f8188 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 00007fd2732b7020 RCX: 00007fd2731a3b19 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000280 RBP: 00007fd2731fdf6d R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe790f531f R14: 00007fd2706f8300 R15: 0000000000022000 INFO: task syz-executor.5:7056 blocked for more than 143 seconds. Not tainted 6.4.0-rc5-next-20230609 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:26992 pid:7056 ppid:268 flags:0x00000004 Call Trace: __schedule+0x9a9/0x2b10 schedule+0xdb/0x1a0 schedule_preempt_disabled+0x10/0x20 __mutex_lock+0xc10/0x1a30 perf_trace_destroy+0x27/0x1c0 _free_event+0x207/0x1150 perf_event_release_kernel+0x5b8/0x7a0 perf_release+0x37/0x50 __fput+0x26f/0xa50 task_work_run+0x174/0x280 exit_to_user_mode_prepare+0x17d/0x180 syscall_exit_to_user_mode+0x1d/0x50 do_syscall_64+0x4c/0x90 entry_SYSCALL_64_after_hwframe+0x6e/0xd8 RIP: 0033:0x7f9126ce872b RSP: 002b:00007ffe5f006a90 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f9126ce872b RDX: 0000000000000000 RSI: ffffffff81143213 RDI: 0000000000000006 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b2c229c68 R10: 0000000000000c14 R11: 0000000000000293 R12: 00007f9126e49b60 R13: 00007f9126e49b60 R14: 00007f9126e48f60 R15: 00000000000c407f INFO: task syz-executor.4:7060 blocked for more than 143 seconds. Not tainted 6.4.0-rc5-next-20230609 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:26992 pid:7060 ppid:269 flags:0x00000004 Call Trace: __schedule+0x9a9/0x2b10 schedule+0xdb/0x1a0 schedule_preempt_disabled+0x10/0x20 __mutex_lock+0xc10/0x1a30 perf_trace_destroy+0x27/0x1c0 _free_event+0x207/0x1150 perf_event_release_kernel+0x5b8/0x7a0 perf_release+0x37/0x50 __fput+0x26f/0xa50 task_work_run+0x174/0x280 exit_to_user_mode_prepare+0x17d/0x180 syscall_exit_to_user_mode+0x1d/0x50 do_syscall_64+0x4c/0x90 entry_SYSCALL_64_after_hwframe+0x6e/0xd8 RIP: 0033:0x7ff089daf72b RSP: 002b:00007ffe58c58610 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007ff089daf72b RDX: 0000000000000000 RSI: ffffffff81390bba RDI: 0000000000000006 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b2c3295f0 R10: 0000000000000a9e R11: 0000000000000293 R12: 00007ff089f10b60 R13: 00007ff089f10b60 R14: 00007ff089f0ff60 R15: 00000000000c40c3 INFO: task syz-executor.1:7064 blocked for more than 143 seconds. Not tainted 6.4.0-rc5-next-20230609 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:26992 pid:7064 ppid:270 flags:0x00000004 Call Trace: __schedule+0x9a9/0x2b10 schedule+0xdb/0x1a0 schedule_preempt_disabled+0x10/0x20 __mutex_lock+0xc10/0x1a30 perf_trace_destroy+0x27/0x1c0 _free_event+0x207/0x1150 perf_event_release_kernel+0x5b8/0x7a0 perf_release+0x37/0x50 __fput+0x26f/0xa50 task_work_run+0x174/0x280 exit_to_user_mode_prepare+0x17d/0x180 syscall_exit_to_user_mode+0x1d/0x50 do_syscall_64+0x4c/0x90 entry_SYSCALL_64_after_hwframe+0x6e/0xd8 RIP: 0033:0x7f41fa7dd72b RSP: 002b:00007ffed533ea70 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f41fa7dd72b RDX: 00007f41fa961e60 RSI: ffffffff81390ce3 RDI: 0000000000000003 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b2c0234ac R10: 00000000000013b3 R11: 0000000000000293 R12: 00000000000c417b R13: 00000000000003e8 R14: 00007f41fa93df60 R15: 00000000000c40e4 INFO: task syz-executor.7:7076 blocked for more than 143 seconds. Not tainted 6.4.0-rc5-next-20230609 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.7 state:D stack:29648 pid:7076 ppid:273 flags:0x00000004 Call Trace: __schedule+0x9a9/0x2b10 schedule+0xdb/0x1a0 schedule_preempt_disabled+0x10/0x20 __mutex_lock+0xc10/0x1a30 perf_trace_init+0x4d/0x2f0 perf_tp_event_init+0xa6/0x120 perf_try_init_event+0x130/0x570 perf_event_alloc.part.0+0xf84/0x3a30 __do_sys_perf_event_open+0x4d9/0x2a60 do_syscall_64+0x3f/0x90 entry_SYSCALL_64_after_hwframe+0x6e/0xd8 RIP: 0033:0x7fc2e1a4db19 RSP: 002b:00007fc2defc3188 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 00007fc2e1b60f60 RCX: 00007fc2e1a4db19 RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 0000000020000080 RBP: 00007fc2e1aa7f6d R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd99b2b70f R14: 00007fc2defc3300 R15: 0000000000022000 Future hung task reports are suppressed, see sysctl kernel.hung_task_warnings Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8560a6f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xe10 1 lock held by ksoftirqd/1/19: 1 lock held by khungtaskd/25: #0: ffffffff8560b2c0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 1 lock held by in:imklog/163: 1 lock held by syz-executor.4/4384: #0: ffffffff85665708 (event_mutex){+.+.}-{3:3}, at: perf_trace_destroy+0x27/0x1c0 1 lock held by syz-executor.4/4386: #0: ffffffff85665708 (event_mutex){+.+.}-{3:3}, at: perf_trace_destroy+0x27/0x1c0 1 lock held by syz-executor.1/4863: #0: ffffffff85665708 (event_mutex){+.+.}-{3:3}, at: perf_trace_destroy+0x27/0x1c0 1 lock held by syz-executor.2/4956: #0: ffffffff85665708 (event_mutex){+.+.}-{3:3}, at: perf_trace_destroy+0x27/0x1c0 1 lock held by syz-executor.1/5162: #0: ffffffff85665708 (event_mutex){+.+.}-{3:3}, at: perf_trace_destroy+0x27/0x1c0 5 locks held by kworker/0:1/5848: #0: ffff888008468d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x99d/0x1770 #1: ffff888049a07db0 ((optimizing_work).work){+.+.}-{0:0}, at: process_one_work+0x9d0/0x1770 #2: ffffffff856527e8 (kprobe_mutex){+.+.}-{3:3}, at: kprobe_optimizer+0x25/0x7e0 #3: ffffffff854e2cb0 (cpu_hotplug_lock){++++}-{0:0}, at: kprobe_optimizer+0x2a/0x7e0 #4: ffffffff854f6c28 (text_mutex){+.+.}-{3:3}, at: kprobe_optimizer+0x38/0x7e0 1 lock held by syz-executor.3/6363: #0: ffffffff85665708 (event_mutex){+.+.}-{3:3}, at: perf_trace_destroy+0x27/0x1c0 1 lock held by syz-executor.1/6970: #0: ffffffff85665708 (event_mutex){+.+.}-{3:3}, at: perf_trace_destroy+0x27/0x1c0 1 lock held by syz-executor.1/6973: #0: ffffffff85665708 (event_mutex){+.+.}-{3:3}, at: perf_trace_destroy+0x27/0x1c0 1 lock held by syz-executor.1/7021: #0: ffffffff85665708 (event_mutex){+.+.}-{3:3}, at: perf_trace_destroy+0x27/0x1c0 6 locks held by syz-executor.6/7032: #0: ffffffff87b6c530 (&pmus_srcu){.+.+}-{0:0}, at: perf_event_alloc.part.0+0xcd2/0x3a30 #1: ffffffff85665708 (event_mutex){+.+.}-{3:3}, at: perf_trace_init+0x4d/0x2f0 #2: ffffffff85657848 (tracepoints_mutex){+.+.}-{3:3}, at: tracepoint_probe_register+0x7c/0xf0 #3: ffffffff854e2cb0 (cpu_hotplug_lock){++++}-{0:0}, at: __static_call_update+0x8b/0x620 #4: ffffffff856817a8 (static_call_mutex){+.+.}-{3:3}, at: __static_call_update+0x99/0x620 #5: ffffffff854f6c28 (text_mutex){+.+.}-{3:3}, at: arch_static_call_transform+0x23/0xa0 1 lock held by syz-executor.3/7045: #0: ffffffff85665708 (event_mutex){+.+.}-{3:3}, at: perf_trace_destroy+0x27/0x1c0 2 locks held by syz-executor.3/7050: #0: ffffffff87b6c530 (&pmus_srcu){.+.+}-{0:0}, at: perf_event_alloc.part.0+0xcd2/0x3a30 #1: ffffffff856527e8 (kprobe_mutex){+.+.}-{3:3}, at: unregister_kretprobes.part.0+0x23/0x210 1 lock held by syz-executor.5/7056: #0: ffffffff85665708 (event_mutex){+.+.}-{3:3}, at: perf_trace_destroy+0x27/0x1c0 1 lock held by syz-executor.4/7060: #0: ffffffff85665708 (event_mutex){+.+.}-{3:3}, at: perf_trace_destroy+0x27/0x1c0 1 lock held by syz-executor.1/7064: #0: ffffffff85665708 (event_mutex){+.+.}-{3:3}, at: perf_trace_destroy+0x27/0x1c0 2 locks held by syz-executor.7/7076: #0: ffffffff87b6c530 (&pmus_srcu){.+.+}-{0:0}, at: perf_event_alloc.part.0+0xcd2/0x3a30 #1: ffffffff85665708 (event_mutex){+.+.}-{3:3}, at: perf_trace_init+0x4d/0x2f0 ============================================= tasks_rcu_exit_srcu_stall: rcu_tasks grace period number 13 (since boot) gp_state: RTGS_POST_SCAN_TASKLIST is 153490 jiffies old. Please check any exiting tasks stuck between calls to exit_tasks_rcu_start() and exit_tasks_rcu_finish()