INFO: task syz.0.15:5178 blocked for more than 143 seconds. Not tainted 6.1.116-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.15 state:D stack:0 pid:5178 ppid:5018 flags:0x00000001 Call trace: __switch_to+0x320/0x754 arch/arm64/kernel/process.c:553 context_switch kernel/sched/core.c:5241 [inline] __schedule+0xef4/0x1d44 kernel/sched/core.c:6558 schedule+0xc4/0x170 kernel/sched/core.c:6634 d_wait_lookup+0x1a0/0x27c fs/dcache.c:2632 d_alloc_parallel+0x9b0/0x1184 fs/dcache.c:2714 __lookup_slow+0x108/0x374 fs/namei.c:1675 lookup_slow+0x60/0x84 fs/namei.c:1707 walk_component fs/namei.c:1998 [inline] link_path_walk+0x830/0xcc8 fs/namei.c:2325 path_openat+0x1c8/0x2548 fs/namei.c:3779 do_filp_open+0x1bc/0x3cc fs/namei.c:3810 do_sys_openat2+0x128/0x3e0 fs/open.c:1318 do_sys_open fs/open.c:1334 [inline] __do_sys_openat fs/open.c:1350 [inline] __se_sys_openat fs/open.c:1345 [inline] __arm64_sys_openat+0x1f0/0x240 fs/open.c:1345 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 INFO: task syz.3.18:5184 blocked for more than 143 seconds. Not tainted 6.1.116-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.18 state:D stack:0 pid:5184 ppid:5021 flags:0x00000001 Call trace: __switch_to+0x320/0x754 arch/arm64/kernel/process.c:553 context_switch kernel/sched/core.c:5241 [inline] __schedule+0xef4/0x1d44 kernel/sched/core.c:6558 schedule+0xc4/0x170 kernel/sched/core.c:6634 d_wait_lookup+0x1a0/0x27c fs/dcache.c:2632 d_alloc_parallel+0x9b0/0x1184 fs/dcache.c:2714 __lookup_slow+0x108/0x374 fs/namei.c:1675 lookup_slow+0x60/0x84 fs/namei.c:1707 walk_component fs/namei.c:1998 [inline] link_path_walk+0x830/0xcc8 fs/namei.c:2325 path_openat+0x1c8/0x2548 fs/namei.c:3779 do_filp_open+0x1bc/0x3cc fs/namei.c:3810 do_sys_openat2+0x128/0x3e0 fs/open.c:1318 do_sys_open fs/open.c:1334 [inline] __do_sys_openat fs/open.c:1350 [inline] __se_sys_openat fs/open.c:1345 [inline] __arm64_sys_openat+0x1f0/0x240 fs/open.c:1345 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 Showing all locks held in the system: 2 locks held by kworker/u4:1/11: 1 lock held by rcu_tasks_kthre/12: #0: ffff800015bb5b70 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x44/0xcf4 kernel/rcu/tasks.h:517 1 lock held by rcu_tasks_trace/13: #0: ffff800015bb6370 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x44/0xcf4 kernel/rcu/tasks.h:517 1 lock held by khungtaskd/28: #0: ffff800015bb59a0 (rcu_read_lock){....}-{1:2} , at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:349 2 locks held by getty/4052: #0: ffff0000d61fd098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80001d7502f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x414/0x1214 drivers/tty/n_tty.c:2198 1 lock held by syz.0.15/5175: 1 lock held by syz.0.15/5178: #0: ffff0000ef570198 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:768 [inline] #0: ffff0000ef570198 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1706 1 lock held by syz.3.18/5182: 1 lock held by syz.3.18/5184: #0: ffff0000ef660198 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:768 [inline] (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1706 1 lock held by syz.4.19/5336: 1 lock held by syz.4.19/5338: #0: ffff0000ef570c48 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:768 [inline] #0: ffff0000ef570c48 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1706 1 lock held by syz.1.16/5358: 1 lock held by syz.1.16/5362: #0: ffff0000ef5716f8 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:768 [inline] #0: ffff0000ef5716f8 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1706 1 lock held by syz.2.17/5361: 1 lock held by syz.2.17/5366: #0: ffff0000ef5721a8 (&type->i_mutex_dir_key#8){.+.+}-{3:3} , at: inode_lock_shared include/linux/fs.h:768 [inline] , at: lookup_slow+0x50/0x84 fs/namei.c:1706 1 lock held by syz.5.20/5542: 1 lock held by syz.5.20/5543: #0: ffff0000ef572c58 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:768 [inline] #0: ffff0000ef572c58 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1706 1 lock held by syz.6.21/5550: 1 lock held by syz.6.21/5553: #0: ffff0000ef573708 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:768 [inline] #0: ffff0000ef573708 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1706 1 lock held by syz-executor/5754: 4 locks held by syz.7.22/5788: 1 lock held by syz.7.22/5790: #0: ffff0000ef660c48 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:768 [inline] #0: ffff0000ef660c48 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1706 1 lock held by syz.8.23/5850: 1 lock held by syz.8.23/5852: #0: ffff0000ef6616f8 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:768 [inline] ffff0000ef6616f8 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1706 1 lock held by syz.9.24/5866: 1 lock held by syz.9.24/5869: #0: ffff0000ef6621a8 ( &type->i_mutex_dir_key #8 ){.+.+}-{3:3} , at: inode_lock_shared include/linux/fs.h:768 [inline] , at: lookup_slow+0x50/0x84 fs/namei.c:1706 =============================================