tasks_rcu_exit_srcu_stall: rcu_tasks grace period number 349 (since boot) gp_state: RTGS_POST_SCAN_TASKLIST is 153387 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-next-20230706 #1
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:rcu_tasks_kthre state:D stack:28480 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+0x9b8/0xd30
rcu_tasks_kthread+0x84/0xb0
kthread+0x33f/0x440
ret_from_fork+0x2c/0x50
INFO: task kworker/1:3:60 blocked for more than 143 seconds.
Not tainted 6.4.0-next-20230706 #1
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:3 state:D stack:26136 pid:60 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+0x2c/0x50
INFO: task syz-executor.3:6737 blocked for more than 143 seconds.
Not tainted 6.4.0-next-20230706 #1
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:26240 pid:6737 ppid:6185 flags:0x00004006
Call Trace:
__schedule+0x9a9/0x2b00
schedule+0xdb/0x1a0
schedule_preempt_disabled+0x10/0x20
__mutex_lock+0xc10/0x1a30
arch_jump_label_transform_queue+0x5c/0x110
__jump_label_update+0x12e/0x410
jump_label_update+0x325/0x400
static_key_disable_cpuslocked+0x156/0x1b0
static_key_disable+0x1a/0x20
tracepoint_probe_unregister+0x65d/0xc60
trace_event_reg+0x185/0x350
perf_trace_event_unreg.isra.0+0xae/0x1e0
perf_trace_destroy+0xc8/0x1c0
_free_event+0x207/0x1150
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+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:0x7ffa881aeb19
RSP: 002b:00007ffa856e2218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007ffa882c20e8 RCX: 00007ffa881aeb19
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007ffa882c20e8
RBP: 00007ffa882c20e0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffa882c20ec
R13: 00007ffcee01945f R14: 00007ffa856e2300 R15: 0000000000022000
INFO: task syz-executor.2:6959 blocked for more than 143 seconds.
Not tainted 6.4.0-next-20230706 #1
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:29040 pid:6959 ppid:274 flags:0x00004004
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
perf_event_alloc.part.0+0x1869/0x3a30
__do_sys_perf_event_open+0x4d9/0x2a60
do_syscall_64+0x3f/0x90
entry_SYSCALL_64_after_hwframe+0x6e/0xd8
RIP: 0033:0x7fdff3e1eb19
RSP: 002b:00007fdff1394188 EFLAGS: 00000246 ORIG_RAX: 000000000000012a
RAX: ffffffffffffffda RBX: 00007fdff3f31f60 RCX: 00007fdff3e1eb19
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000280
RBP: 00007fdff3e78f6d R08: 0000000000000006 R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffed2600b1f R14: 00007fdff1394300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8560a7f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd30
1 lock held by khungtaskd/25:
#0: ffffffff8560b3c0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340
5 locks held by kworker/1:3/60:
#0: ffff888008468d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x99d/0x1770
#1: ffff88800d16fdb0 ((optimizing_work).work){+.+.}-{0:0}, at: process_one_work+0x9d0/0x1770
#2: ffffffff856536c8 (kprobe_mutex){+.+.}-{3:3}, at: kprobe_optimizer+0x25/0x7e0
#3: ffffffff854e2af0 (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 in:imklog/165:
3 locks held by rs:main Q:Reg/166:
#0: ffff88806ce39518 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x1d0/0x2b00
#1: ffff88800d10c3e8 (sb_writers#3){.+.+}-{0:0}, at: ksys_write+0x122/0x250
#2: ffff8880183cd810 (&sb->s_type->i_mutex_key#6){++++}-{3:3}, at: ext4_buffered_write_iter+0xb4/0x3d0
2 locks held by agetty/208:
#0: ffff8880145f4098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x90
#1: ffffc900007cd2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfb9/0x14a0
5 locks held by syz-executor.3/6737:
#0: ffffffff856665e8 (event_mutex){+.+.}-{3:3}, at: perf_trace_destroy+0x27/0x1c0
#1: ffffffff856586a8 (tracepoints_mutex){+.+.}-{3:3}, at: tracepoint_probe_unregister+0x31/0xc60
#2: ffffffff854e2af0 (cpu_hotplug_lock){++++}-{0:0}, at: static_key_disable+0x12/0x20
#3: ffffffff85688948 (jump_label_mutex){+.+.}-{3:3}, at: static_key_disable_cpuslocked+0x10c/0x1b0
#4: ffffffff854f6c28 (text_mutex){+.+.}-{3:3}, at: arch_jump_label_transform_queue+0x5c/0x110
1 lock held by syz-executor.2/6959:
#0: ffffffff856536c8 (kprobe_mutex){+.+.}-{3:3}, at: unregister_kprobe+0x22/0xc0
=============================================
tasks_rcu_exit_srcu_stall: rcu_tasks grace period number 349 (since boot) gp_state: RTGS_POST_SCAN_TASKLIST is 163627 jiffies old.
Please check any exiting tasks stuck between calls to exit_tasks_rcu_start() and exit_tasks_rcu_finish()