INFO: task syz.0.16:4727 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.16 state:D stack: 0 pid: 4727 ppid: 4688 flags:0x00000009 Call trace: __switch_to+0x2f4/0x540 arch/arm64/kernel/process.c:521 context_switch kernel/sched/core.c:5049 [inline] __schedule+0xe20/0x1c6c kernel/sched/core.c:6395 schedule+0x11c/0x1c8 kernel/sched/core.c:6478 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6537 __mutex_lock_common+0xae0/0x1ea4 kernel/locking/mutex.c:669 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0xac/0x11c kernel/locking/mutex.c:743 bfs_lookup+0xc8/0x1a0 fs/bfs/dir.c:136 __lookup_slow+0x25c/0x39c fs/namei.c:1671 lookup_slow+0x60/0x84 fs/namei.c:1688 walk_component+0x2b8/0x3b8 fs/namei.c:1984 link_path_walk+0x5a0/0xbd4 fs/namei.c:-1 path_parentat fs/namei.c:2510 [inline] __filename_parentat+0x1e4/0x558 fs/namei.c:2534 filename_parentat fs/namei.c:2552 [inline] filename_create+0xd4/0x3a8 fs/namei.c:3867 do_mkdirat+0xac/0x514 fs/namei.c:4131 __do_sys_mkdirat fs/namei.c:4156 [inline] __se_sys_mkdirat fs/namei.c:4154 [inline] __arm64_sys_mkdirat+0x90/0xa8 fs/namei.c:4154 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x28c arch/arm64/kernel/syscall.c:52 el0_svc_common+0x13c/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x5c/0x140 arch/arm64/kernel/syscall.c:181 el0_svc+0x78/0x1d4 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffff800014591520 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:312 2 locks held by getty/3805: #0: ffff0000d3e0a098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x40/0x50 drivers/tty/tty_ldsem.c:340 #1: ffff80001cf8e2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x2ec/0xf90 drivers/tty/n_tty.c:2158 2 locks held by syz.0.16/4726: 2 locks held by syz.0.16/4727: #0: ffff0000e2588168 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:803 [inline] #0: ffff0000e2588168 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1687 #1: ffff0000c0fda4d8 (&info->bfs_lock){+.+.}-{3:3}, at: bfs_lookup+0xc8/0x1a0 fs/bfs/dir.c:136 2 locks held by syz.1.17/4751: 2 locks held by syz.1.17/4752: #0: ffff000108ad0168 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:803 [inline] #0: ffff000108ad0168 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1687 #1: ffff0000c1c300d8 (&info->bfs_lock){+.+.}-{3:3}, at: bfs_lookup+0xc8/0x1a0 fs/bfs/dir.c:136 2 locks held by syz.2.18/4771: 2 locks held by syz.2.18/4772: #0: ffff000108ad0690 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:803 [inline] #0: ffff000108ad0690 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1687 #1: ffff0000e803a2d8 (&info->bfs_lock){+.+.}-{3:3}, at: bfs_lookup+0xc8/0x1a0 fs/bfs/dir.c:136 2 locks held by syz.3.19/4789: 2 locks held by syz.3.19/4790: #0: ffff000108ad0bb8 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:803 [inline] #0: ffff000108ad0bb8 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1687 #1: ffff0000d09aced8 (&info->bfs_lock){+.+.}-{3:3}, at: bfs_lookup+0xc8/0x1a0 fs/bfs/dir.c:136 2 locks held by syz.4.20/4816: 2 locks held by syz.4.20/4817: #0: ffff0000e2588690 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:803 [inline] #0: ffff0000e2588690 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1687 #1: ffff0000ca4d74d8 (&info->bfs_lock){+.+.}-{3:3}, at: bfs_lookup+0xc8/0x1a0 fs/bfs/dir.c:136 2 locks held by syz.5.21/4849: 2 locks held by syz.5.21/4850: #0: ffff000108ad10e0 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:803 [inline] #0: ffff000108ad10e0 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1687 #1: ffff0000ecdb78d8 (&info->bfs_lock){+.+.}-{3:3}, at: bfs_lookup+0xc8/0x1a0 fs/bfs/dir.c:136 2 locks held by syz.6.22/4875: 2 locks held by syz.6.22/4876: #0: ffff0000e2588bb8 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:803 [inline] #0: ffff0000e2588bb8 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1687 #1: ffff0000c62848d8 (&info->bfs_lock){+.+.}-{3:3}, at: bfs_lookup+0xc8/0x1a0 fs/bfs/dir.c:136 4 locks held by syz.7.23/4902: 2 locks held by syz.7.23/4903: #0: ffff000108ad1608 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:803 [inline] #0: ffff000108ad1608 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1687 #1: ffff0000cb4a10d8 (&info->bfs_lock){+.+.}-{3:3}, at: bfs_lookup+0xc8/0x1a0 fs/bfs/dir.c:136 2 locks held by syz.8.24/4935: 2 locks held by syz.8.24/4936: #0: ffff0000e25890e0 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:803 [inline] #0: ffff0000e25890e0 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1687 #1: ffff0000d691eed8 (&info->bfs_lock){+.+.}-{3:3}, at: bfs_lookup+0xc8/0x1a0 fs/bfs/dir.c:136 =============================================