INFO: task syz-executor.0:13295 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.0 state:D stack:27952 pid:13295 ppid: 4705 flags:0x10000004 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 perf_event_init_context kernel/events/core.c:12870 [inline] perf_event_init_task+0x252/0x800 kernel/events/core.c:12945 copy_process+0x1721/0x66f0 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:0x7fd309024f41 RSP: 002b:00007ffc0652fdc8 EFLAGS: 00000206 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007fd306557700 RCX: 00007fd309024f41 RDX: 00007fd3065579d0 RSI: 00007fd3065572f0 RDI: 00000000003d0f00 RBP: 00007ffc06530000 R08: 00007fd306557700 R09: 00007fd306557700 R10: 00007fd3065579d0 R11: 0000000000000206 R12: 00007ffc0652fe7e R13: 00007ffc0652fe7f R14: 00007fd306557300 R15: 0000000000022000 INFO: task syz-executor.0:13308 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.0 state:D stack:29176 pid:13308 ppid: 4705 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:0x7fd309023b19 RSP: 002b:00007fd306578188 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 00007fd309137020 RCX: 00007fd309023b19 RDX: 0000000000000000 RSI: 00000000000002c5 RDI: 0000000020000000 RBP: 00007fd30907df6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc0652fe7f R14: 00007fd306578300 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 2 locks held by kworker/u4:10/6221: #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: ffff88804a1efda8 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x8df/0x1590 kernel/workqueue.c:2254 1 lock held by syz-executor.0/13295: #0: ffff88801aff9cb0 (&ctx->mutex){+.+.}-{3:3}, at: perf_event_init_context kernel/events/core.c:12870 [inline] #0: ffff88801aff9cb0 (&ctx->mutex){+.+.}-{3:3}, at: perf_event_init_task+0x252/0x800 kernel/events/core.c:12945 3 locks held by syz-executor.0/13308: #0: ffff88804d3592d8 (&sig->exec_update_lock){++++}-{3:3}, at: __do_sys_perf_event_open+0xfc1/0x2d00 kernel/events/core.c:11972 #1: ffff88801aff9cb0 (&ctx->mutex){+.+.}-{3:3}, at: mutex_lock_double kernel/events/core.c:11660 [inline] #1: ffff88801aff9cb0 (&ctx->mutex){+.+.}-{3:3}, at: __perf_event_ctx_lock_double kernel/events/core.c:11720 [inline] #1: ffff88801aff9cb0 (&ctx->mutex){+.+.}-{3:3}, at: __do_sys_perf_event_open+0x1237/0x2d00 kernel/events/core.c:11990 #2: ffff88801aff9cb0 (&ctx->mutex/1){+.+.}-{3:3}, at: mutex_lock_double kernel/events/core.c:11661 [inline] #2: ffff88801aff9cb0 (&ctx->mutex/1){+.+.}-{3:3}, at: __perf_event_ctx_lock_double kernel/events/core.c:11720 [inline] #2: ffff88801aff9cb0 (&ctx->mutex/1){+.+.}-{3:3}, at: __do_sys_perf_event_open+0x1244/0x2d00 kernel/events/core.c:11990 =============================================