INFO: task syz-executor.2:7404 blocked for more than 143 seconds. Not tainted 5.10.79 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:27952 pid: 7404 ppid: 286 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:3787 [inline] __schedule+0x848/0x1e80 kernel/sched/core.c:4536 schedule+0xcb/0x270 kernel/sched/core.c:4614 schedule_preempt_disabled+0xc/0x20 kernel/sched/core.c:4673 __mutex_lock_common kernel/locking/mutex.c:1047 [inline] __mutex_lock+0x7c9/0x1250 kernel/locking/mutex.c:1109 perf_event_init_context kernel/events/core.c:12825 [inline] perf_event_init_task+0x252/0x800 kernel/events/core.c:12900 copy_process+0x1721/0x66b0 kernel/fork.c:2079 kernel_clone+0xe7/0xa20 kernel/fork.c:2466 __do_sys_clone+0xc8/0x110 kernel/fork.c:2583 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7ff6bb462f41 RSP: 002b:00007ffda35ad1a8 EFLAGS: 00000206 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007ff6b8995700 RCX: 00007ff6bb462f41 RDX: 00007ff6b89959d0 RSI: 00007ff6b89952f0 RDI: 00000000003d0f00 RBP: 00007ffda35ad3e0 R08: 00007ff6b8995700 R09: 00007ff6b8995700 R10: 00007ff6b89959d0 R11: 0000000000000206 R12: 00007ffda35ad25e R13: 00007ffda35ad25f R14: 00007ff6b8995300 R15: 0000000000022000 INFO: task syz-executor.2:7426 blocked for more than 143 seconds. Not tainted 5.10.79 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:27952 pid: 7426 ppid: 286 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:3787 [inline] __schedule+0x848/0x1e80 kernel/sched/core.c:4536 schedule+0xcb/0x270 kernel/sched/core.c:4614 schedule_preempt_disabled+0xc/0x20 kernel/sched/core.c:4673 __mutex_lock_common kernel/locking/mutex.c:1047 [inline] __mutex_lock+0x7c9/0x1250 kernel/locking/mutex.c:1109 mutex_lock_double kernel/events/core.c:11619 [inline] __perf_event_ctx_lock_double kernel/events/core.c:11678 [inline] __do_sys_perf_event_open+0x1244/0x2d00 kernel/events/core.c:11948 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7ff6bb461b19 RSP: 002b:00007ff6b89b6188 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 00007ff6bb575020 RCX: 00007ff6bb461b19 RDX: 0000000000000000 RSI: 0000000000000141 RDI: 0000000020000000 RBP: 00007ff6bb4bbf6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffda35ad25f R14: 00007ff6b89b6300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/22: #0: ffffffff84df6760 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x269 kernel/locking/lockdep.c:6379 1 lock held by systemd-journal/104: 1 lock held by in:imklog/181: #0: ffff88800ccdf9f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:930 2 locks held by rs:main Q:Reg/182: #0: ffff88800cfd14f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:930 #1: ffff88800f91a438 (sb_writers#3){.+.+}-{0:0}, at: ksys_write+0x12d/0x250 fs/read_write.c:658 1 lock held by syz-executor.2/7404: #0: ffff88800cecb4b0 (&ctx->mutex){+.+.}-{3:3}, at: perf_event_init_context kernel/events/core.c:12825 [inline] #0: ffff88800cecb4b0 (&ctx->mutex){+.+.}-{3:3}, at: perf_event_init_task+0x252/0x800 kernel/events/core.c:12900 3 locks held by syz-executor.2/7426: #0: ffff88800c2efad8 (&sig->exec_update_lock){++++}-{3:3}, at: __do_sys_perf_event_open+0xfc1/0x2d00 kernel/events/core.c:11930 #1: ffff88800cecb4b0 (&ctx->mutex){+.+.}-{3:3}, at: mutex_lock_double kernel/events/core.c:11618 [inline] #1: ffff88800cecb4b0 (&ctx->mutex){+.+.}-{3:3}, at: __perf_event_ctx_lock_double kernel/events/core.c:11678 [inline] #1: ffff88800cecb4b0 (&ctx->mutex){+.+.}-{3:3}, at: __do_sys_perf_event_open+0x1237/0x2d00 kernel/events/core.c:11948 #2: ffff88800cecb4b0 (&ctx->mutex/1){+.+.}-{3:3}, at: mutex_lock_double kernel/events/core.c:11619 [inline] #2: ffff88800cecb4b0 (&ctx->mutex/1){+.+.}-{3:3}, at: __perf_event_ctx_lock_double kernel/events/core.c:11678 [inline] #2: ffff88800cecb4b0 (&ctx->mutex/1){+.+.}-{3:3}, at: __do_sys_perf_event_open+0x1244/0x2d00 kernel/events/core.c:11948 =============================================