INFO: task syz-executor.0:9685 blocked for more than 143 seconds. Not tainted 5.10.90 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27952 pid: 9685 ppid: 285 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:12809 [inline] perf_event_init_task+0x252/0x800 kernel/events/core.c:12884 copy_process+0x1721/0x66c0 kernel/fork.c:2079 kernel_clone+0xe7/0xa20 kernel/fork.c:2467 __do_sys_clone+0xc8/0x110 kernel/fork.c:2584 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7fce054caf41 RSP: 002b:00007ffc0df83fb8 EFLAGS: 00000206 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007fce029dc700 RCX: 00007fce054caf41 RDX: 00007fce029dc9d0 RSI: 00007fce029dc2f0 RDI: 00000000003d0f00 RBP: 00007ffc0df841f0 R08: 00007fce029dc700 R09: 00007fce029dc700 R10: 00007fce029dc9d0 R11: 0000000000000206 R12: 00007ffc0df8406e R13: 00007ffc0df8406f R14: 00007fce029dc300 R15: 0000000000022000 INFO: task syz-executor.0:9722 blocked for more than 143 seconds. Not tainted 5.10.90 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:29496 pid: 9722 ppid: 285 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:11600 [inline] __perf_event_ctx_lock_double kernel/events/core.c:11659 [inline] __do_sys_perf_event_open+0x1244/0x2d00 kernel/events/core.c:11929 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7fce054c9b19 RSP: 002b:00007fce029fd188 EFLAGS: 00000246 ORIG_RAX: 000000000000012a RAX: ffffffffffffffda RBX: 00007fce055dd0e0 RCX: 00007fce054c9b19 RDX: 0000000000000000 RSI: 00000000000001ae RDI: 0000000020000000 RBP: 00007fce05523f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc0df8406f R14: 00007fce029fd300 R15: 0000000000022000 INFO: task syz-executor.0:9695 blocked for more than 143 seconds. Not tainted 5.10.90 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28712 pid: 9695 ppid: 9685 flags:0x10004006 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_ctx_lock_nested+0x243/0x4a0 kernel/events/core.c:1356 perf_event_ctx_lock kernel/events/core.c:1369 [inline] perf_event_release_kernel+0x3a6/0xc20 kernel/events/core.c:5013 perf_release+0x33/0x40 kernel/events/core.c:5111 __fput+0x285/0x980 fs/file_table.c:281 task_work_run+0xe2/0x1a0 kernel/task_work.c:151 exit_task_work include/linux/task_work.h:30 [inline] do_exit+0xc1b/0x2770 kernel/exit.c:811 do_group_exit+0x125/0x310 kernel/exit.c:908 get_signal+0x469/0x2200 kernel/signal.c:2748 arch_do_signal+0x88/0x1b70 arch/x86/kernel/signal.c:805 exit_to_user_mode_loop kernel/entry/common.c:161 [inline] exit_to_user_mode_prepare+0xf7/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:0x7fce054c9b19 RSP: 002b:00007fce02a1e218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007fce055dd028 RCX: 00007fce054c9b19 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fce055dd028 RBP: 00007fce055dd020 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fce055dd02c R13: 00007ffc0df8406f R14: 00007fce02a1e300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/22: #0: ffffffff84df6960 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x269 kernel/locking/lockdep.c:6379 1 lock held by in:imklog/177: 2 locks held by rs:main Q:Reg/178: #0: ffff88800cc16870 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:934 #1: ffff88800f930438 (sb_writers#3){.+.+}-{0:0}, at: ksys_write+0x12d/0x250 fs/read_write.c:658 1 lock held by syz-executor.0/9685: #0: ffff8880432b48b0 (&ctx->mutex){+.+.}-{3:3}, at: perf_event_init_context kernel/events/core.c:12809 [inline] #0: ffff8880432b48b0 (&ctx->mutex){+.+.}-{3:3}, at: perf_event_init_task+0x252/0x800 kernel/events/core.c:12884 3 locks held by syz-executor.0/9722: #0: ffff8880428260d8 (&sig->exec_update_lock){++++}-{3:3}, at: __do_sys_perf_event_open+0xfc1/0x2d00 kernel/events/core.c:11911 #1: ffff8880432b48b0 (&ctx->mutex){+.+.}-{3:3}, at: mutex_lock_double kernel/events/core.c:11599 [inline] #1: ffff8880432b48b0 (&ctx->mutex){+.+.}-{3:3}, at: __perf_event_ctx_lock_double kernel/events/core.c:11659 [inline] #1: ffff8880432b48b0 (&ctx->mutex){+.+.}-{3:3}, at: __do_sys_perf_event_open+0x1237/0x2d00 kernel/events/core.c:11929 #2: ffff8880432b48b0 (&ctx->mutex/1){+.+.}-{3:3}, at: mutex_lock_double kernel/events/core.c:11600 [inline] #2: ffff8880432b48b0 (&ctx->mutex/1){+.+.}-{3:3}, at: __perf_event_ctx_lock_double kernel/events/core.c:11659 [inline] #2: ffff8880432b48b0 (&ctx->mutex/1){+.+.}-{3:3}, at: __do_sys_perf_event_open+0x1244/0x2d00 kernel/events/core.c:11929 1 lock held by syz-executor.0/9695: #0: ffff8880432b48b0 (&ctx->mutex){+.+.}-{3:3}, at: perf_event_ctx_lock_nested+0x243/0x4a0 kernel/events/core.c:1356 =============================================