INFO: task syz-executor.6:4691 blocked for more than 143 seconds. Not tainted 5.10.123 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.6 state:D stack:27952 pid: 4691 ppid: 289 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:3792 [inline] __schedule+0x848/0x1e80 kernel/sched/core.c:4541 schedule+0xcb/0x270 kernel/sched/core.c:4619 schedule_preempt_disabled+0xc/0x20 kernel/sched/core.c:4678 __mutex_lock_common kernel/locking/mutex.c:1047 [inline] __mutex_lock+0x7c9/0x1250 kernel/locking/mutex.c:1109 perf_event_ctx_lock_nested+0x243/0x4a0 kernel/events/core.c:1386 perf_event_ctx_lock kernel/events/core.c:1399 [inline] perf_event_release_kernel+0x3a6/0xc20 kernel/events/core.c:5072 perf_release+0x33/0x40 kernel/events/core.c:5170 __fput+0x285/0x980 fs/file_table.c:281 task_work_run+0xe2/0x1a0 kernel/task_work.c:151 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_user_mode_loop kernel/entry/common.c:164 [inline] exit_to_user_mode_prepare+0x155/0x160 kernel/entry/common.c:191 syscall_exit_to_user_mode+0x38/0x230 kernel/entry/common.c:266 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f350281c72b RSP: 002b:00007ffc88810bb0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007f350281c72b RDX: 00007f3502983068 RSI: 0000000000000081 RDI: 0000000000000004 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 00007f3502983068 R13: 00007ffc88810cd0 R14: 00007f350297cf60 R15: 0000000000045eaf INFO: task syz-executor.6:4693 blocked for more than 143 seconds. Not tainted 5.10.123 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.6 state:D stack:29232 pid: 4693 ppid: 289 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:3792 [inline] __schedule+0x848/0x1e80 kernel/sched/core.c:4541 schedule+0xcb/0x270 kernel/sched/core.c:4619 schedule_preempt_disabled+0xc/0x20 kernel/sched/core.c:4678 __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:11664 [inline] __perf_event_ctx_lock_double kernel/events/core.c:11723 [inline] __do_sys_perf_event_open+0x1244/0x2cb0 kernel/events/core.c:11996 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f3502869b19 RSP: 002b:00007f34ffdbe188 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 00007f350297d020 RCX: 00007f3502869b19 RDX: 0000000000000000 RSI: 0000000000000047 RDI: 0000000020000000 RBP: 00007f35028c3f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc88810b4f R14: 00007f34ffdbe300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/23: #0: ffffffff84df7460 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x269 kernel/locking/lockdep.c:6389 1 lock held by in:imklog/191: #0: ffff88800ed22af0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:1003 2 locks held by kworker/u4:4/325: #0: ffff888007c61138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888007c61138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff888007c61138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff888007c61138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:617 [inline] #0: ffff888007c61138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: ffff888007c61138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x8ac/0x1590 kernel/workqueue.c:2250 #1: ffff88804427fda8 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x8df/0x1590 kernel/workqueue.c:2254 1 lock held by syz-executor.6/4691: #0: ffff8880177e90b0 (&ctx->mutex){+.+.}-{3:3}, at: perf_event_ctx_lock_nested+0x243/0x4a0 kernel/events/core.c:1386 3 locks held by syz-executor.6/4693: #0: ffff888017f660d8 (&sig->exec_update_lock){++++}-{3:3}, at: __do_sys_perf_event_open+0xfc1/0x2cb0 kernel/events/core.c:11978 #1: ffff8880177e90b0 (&ctx->mutex){+.+.}-{3:3}, at: mutex_lock_double kernel/events/core.c:11663 [inline] #1: ffff8880177e90b0 (&ctx->mutex){+.+.}-{3:3}, at: __perf_event_ctx_lock_double kernel/events/core.c:11723 [inline] #1: ffff8880177e90b0 (&ctx->mutex){+.+.}-{3:3}, at: __do_sys_perf_event_open+0x1237/0x2cb0 kernel/events/core.c:11996 #2: ffff8880177e90b0 (&ctx->mutex/1){+.+.}-{3:3}, at: mutex_lock_double kernel/events/core.c:11664 [inline] #2: ffff8880177e90b0 (&ctx->mutex/1){+.+.}-{3:3}, at: __perf_event_ctx_lock_double kernel/events/core.c:11723 [inline] #2: ffff8880177e90b0 (&ctx->mutex/1){+.+.}-{3:3}, at: __do_sys_perf_event_open+0x1244/0x2cb0 kernel/events/core.c:11996 =============================================