INFO: task syz-executor.4:6497 blocked for more than 143 seconds. Not tainted 6.9.0-rc3-syzkaller-gb5d2afe8745b #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:0 pid:6497 tgid:6493 ppid:6263 flags:0x00000005 Call trace: __switch_to+0x314/0x560 arch/arm64/kernel/process.c:553 context_switch kernel/sched/core.c:5409 [inline] __schedule+0x14bc/0x24ec kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0xbc/0x238 kernel/sched/core.c:6838 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6895 __mutex_lock_common+0xbd8/0x21a0 kernel/locking/mutex.c:684 __mutex_lock kernel/locking/mutex.c:752 [inline] mutex_lock_nested+0x2c/0x38 kernel/locking/mutex.c:804 __fdget_pos+0x218/0x2a4 fs/file.c:1191 fdget_pos include/linux/file.h:76 [inline] __do_sys_getdents64 fs/readdir.c:405 [inline] __se_sys_getdents64 fs/readdir.c:394 [inline] __arm64_sys_getdents64+0x19c/0x4a0 fs/readdir.c:394 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:48 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:133 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:152 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 Showing all locks held in the system: 2 locks held by kworker/u8:1/12: #0: ffff0000c53dc148 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_one_work+0x668/0x15d4 kernel/workqueue.c:3228 #1: ffff800093c27c20 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x6b4/0x15d4 kernel/workqueue.c:3228 1 lock held by khungtaskd/30: #0: ffff80008f057880 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:328 2 locks held by kworker/u8:4/43: 2 locks held by kworker/u8:7/618: #0: ffff0000c0031148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x668/0x15d4 kernel/workqueue.c:3228 #1: ffff0001b3df0c88 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x3c0/0x618 kernel/sched/psi.c:988 2 locks held by getty/6011: #0: ffff0000d231e0a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff800097b5e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x41c/0x1228 drivers/tty/n_tty.c:2201 3 locks held by syz-executor.0/6362: 2 locks held by syz-executor.2/6371: 2 locks held by syz-executor.4/6494: 1 lock held by syz-executor.4/6497: #0: ffff0000c7c98848 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x218/0x2a4 fs/file.c:1191 2 locks held by syz-executor.3/6510: 3 locks held by syz-executor.1/6643: 2 locks held by syz-executor.2/8764: 2 locks held by syz-executor.3/8772: #0: ffff0000d8c7d258 (&net->xfrm.xfrm_cfg_mutex){+.+.}-{3:3}, at: pfkey_sendmsg+0x3bc/0xe14 net/key/af_key.c:3697 #1: ffff800091cf26a8 (pfkey_mutex){+.+.}-{3:3}, at: pfkey_register+0xf0/0x74c net/key/af_key.c:1699 1 lock held by syz-executor.3/8776: #0: ffff0000d8c7d258 (&net->xfrm.xfrm_cfg_mutex){+.+.}-{3:3}, at: xfrm_netlink_rcv+0x74/0xa0 net/xfrm/xfrm_user.c:3185 2 locks held by syz-executor.3/8783: 2 locks held by syz-executor.1/8815: 1 lock held by syz-executor.4/8817: #0: ffff0000deb83810 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:795 [inline] #0: ffff0000deb83810 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release net/socket.c:658 [inline] #0: ffff0000deb83810 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: sock_close+0x80/0x1e8 net/socket.c:1421 =============================================