INFO: task syz-executor.3:11731 blocked for more than 143 seconds. Not tainted 5.10.109 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:29496 pid:11731 ppid: 288 flags:0x10004004 Call Trace: context_switch kernel/sched/core.c:3791 [inline] __schedule+0x848/0x1e80 kernel/sched/core.c:4540 schedule+0xcb/0x270 kernel/sched/core.c:4618 schedule_preempt_disabled+0xc/0x20 kernel/sched/core.c:4677 __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:11661 [inline] __perf_event_ctx_lock_double kernel/events/core.c:11720 [inline] __do_sys_perf_event_open+0x1244/0x2d00 kernel/events/core.c:11990 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f7c6e251b19 RSP: 002b:00007f7c6b7c7188 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 00007f7c6e364f60 RCX: 00007f7c6e251b19 RDX: 0000000000000000 RSI: 000000000000024f RDI: 0000000020001d80 RBP: 00007f7c6e2abf6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe2765385f R14: 00007f7c6b7c7300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/22: #0: ffffffff84df6fe0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x269 kernel/locking/lockdep.c:6379 3 locks held by in:imklog/178: #0: ffff88800d53eff0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:974 #1: ffff88806cf3b218 (&rq->lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1296 [inline] #1: ffff88806cf3b218 (&rq->lock){-.-.}-{2:2}, at: __schedule+0x1e2/0x1e80 kernel/sched/core.c:4458 #2: ffffffff84df6fe0 (rcu_read_lock){....}-{1:2}, at: trace_sched_stat_runtime include/trace/events/sched.h:435 [inline] #2: ffffffff84df6fe0 (rcu_read_lock){....}-{1:2}, at: update_curr+0x27d/0x7b0 kernel/sched/fair.c:879 2 locks held by kworker/u4:2/6138: #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: ffff8880452dfda8 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x8df/0x1590 kernel/workqueue.c:2254 3 locks held by syz-executor.3/11731: #0: ffff88800f87c058 (&sig->exec_update_lock){++++}-{3:3}, at: __do_sys_perf_event_open+0xfc1/0x2d00 kernel/events/core.c:11972 #1: ffff88800d5068b0 (&ctx->mutex){+.+.}-{3:3}, at: mutex_lock_double kernel/events/core.c:11660 [inline] #1: ffff88800d5068b0 (&ctx->mutex){+.+.}-{3:3}, at: __perf_event_ctx_lock_double kernel/events/core.c:11720 [inline] #1: ffff88800d5068b0 (&ctx->mutex){+.+.}-{3:3}, at: __do_sys_perf_event_open+0x1237/0x2d00 kernel/events/core.c:11990 #2: ffff88800d5068b0 (&ctx->mutex/1){+.+.}-{3:3}, at: mutex_lock_double kernel/events/core.c:11661 [inline] #2: ffff88800d5068b0 (&ctx->mutex/1){+.+.}-{3:3}, at: __perf_event_ctx_lock_double kernel/events/core.c:11720 [inline] #2: ffff88800d5068b0 (&ctx->mutex/1){+.+.}-{3:3}, at: __do_sys_perf_event_open+0x1244/0x2d00 kernel/events/core.c:11990 =============================================