INFO: task syz-executor.1:17916 blocked for more than 143 seconds. Not tainted 5.10.230 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:27936 pid:17916 ppid: 286 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:3797 [inline] __schedule+0x824/0x1ea0 kernel/sched/core.c:4545 schedule+0xcb/0x270 kernel/sched/core.c:4623 schedule_preempt_disabled+0xc/0x20 kernel/sched/core.c:4682 __mutex_lock_common kernel/locking/mutex.c:1047 [inline] __mutex_lock+0x7a8/0x10b0 kernel/locking/mutex.c:1109 perf_event_ctx_lock_nested+0x243/0x4f0 kernel/events/core.c:1392 perf_event_ctx_lock kernel/events/core.c:1405 [inline] perf_event_release_kernel+0x3c1/0xc80 kernel/events/core.c:5112 perf_release+0x33/0x50 kernel/events/core.c:5223 __fput+0x285/0x9f0 fs/file_table.c:281 task_work_run+0xe2/0x1a0 kernel/task_work.c:185 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x186/0x190 kernel/entry/common.c:199 syscall_exit_to_user_mode+0x38/0x1d0 kernel/entry/common.c:274 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7fbac33e272b RSP: 002b:00007ffd71aa7190 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007fbac33e272b RDX: 00007fbac35492a8 RSI: 00000000000f4240 RDI: 0000000000000004 RBP: 0000000000000000 R08: 0000000000000000 R09: 00007fbac3548818 R10: 00007ffd71ad0090 R11: 0000000000000293 R12: 0000000000348fa1 R13: 00000000000003e8 R14: 00007fbac3542f60 R15: 0000000000348f83 INFO: task syz-executor.1:17922 blocked for more than 143 seconds. Not tainted 5.10.230 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:29504 pid:17922 ppid: 286 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:3797 [inline] __schedule+0x824/0x1ea0 kernel/sched/core.c:4545 schedule+0xcb/0x270 kernel/sched/core.c:4623 schedule_preempt_disabled+0xc/0x20 kernel/sched/core.c:4682 __mutex_lock_common kernel/locking/mutex.c:1047 [inline] __mutex_lock+0x7a8/0x10b0 kernel/locking/mutex.c:1109 mutex_lock_double kernel/events/core.c:11716 [inline] __perf_event_ctx_lock_double kernel/events/core.c:11860 [inline] __do_sys_perf_event_open+0x1244/0x2e60 kernel/events/core.c:12133 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x67/0xd1 RIP: 0033:0x7fbac342fb19 RSP: 002b:00007fbac0984188 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 00007fbac3543020 RCX: 00007fbac342fb19 RDX: 0000000000000000 RSI: 00000000000005bc RDI: 0000000020000000 RBP: 00007fbac3489f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd71aa712f R14: 00007fbac0984300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/22: #0: ffffffff84ff9960 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x27b kernel/locking/lockdep.c:6407 1 lock held by in:imklog/178: 1 lock held by syz-executor.1/17916: #0: ffff888055cf20b0 (&ctx->mutex){+.+.}-{3:3}, at: perf_event_ctx_lock_nested+0x243/0x4f0 kernel/events/core.c:1392 3 locks held by syz-executor.1/17922: #0: ffff888054ea4d58 (&sig->exec_update_lock){++++}-{3:3}, at: __do_sys_perf_event_open+0xfc1/0x2e60 kernel/events/core.c:12115 #1: ffff888055cf20b0 (&ctx->mutex){+.+.}-{3:3}, at: mutex_lock_double kernel/events/core.c:11715 [inline] #1: ffff888055cf20b0 (&ctx->mutex){+.+.}-{3:3}, at: __perf_event_ctx_lock_double kernel/events/core.c:11860 [inline] #1: ffff888055cf20b0 (&ctx->mutex){+.+.}-{3:3}, at: __do_sys_perf_event_open+0x1237/0x2e60 kernel/events/core.c:12133 #2: ffff888055cf20b0 (&ctx->mutex/1){+.+.}-{3:3}, at: mutex_lock_double kernel/events/core.c:11716 [inline] #2: ffff888055cf20b0 (&ctx->mutex/1){+.+.}-{3:3}, at: __perf_event_ctx_lock_double kernel/events/core.c:11860 [inline] #2: ffff888055cf20b0 (&ctx->mutex/1){+.+.}-{3:3}, at: __do_sys_perf_event_open+0x1244/0x2e60 kernel/events/core.c:12133 =============================================