INFO: task syz.0.16:4983 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: 4983 ppid: 4774 flags:0x00000009 Call trace: __switch_to+0x2f4/0x558 arch/arm64/kernel/process.c:521 context_switch kernel/sched/core.c:5049 [inline] __schedule+0xe08/0x1bf8 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+0xa9c/0x1edc 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+0x24c/0x380 fs/namei.c:1663 lookup_slow+0x5c/0x80 fs/namei.c:1680 walk_component+0x2b0/0x3a8 fs/namei.c:1976 link_path_walk+0x590/0xb8c fs/namei.c:-1 path_parentat fs/namei.c:2502 [inline] __filename_parentat+0x1b0/0x510 fs/namei.c:2526 filename_parentat fs/namei.c:2544 [inline] filename_create+0xd0/0x39c fs/namei.c:3816 do_mkdirat+0xa8/0x508 fs/namei.c:4080 __do_sys_mkdirat fs/namei.c:4105 [inline] __se_sys_mkdirat fs/namei.c:4103 [inline] __arm64_sys_mkdirat+0x90/0xa8 fs/namei.c:4103 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x78/0x1e0 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 INFO: task syz.1.17:5011 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.17 state:D stack: 0 pid: 5011 ppid: 4991 flags:0x00000001 Call trace: __switch_to+0x2f4/0x558 arch/arm64/kernel/process.c:521 context_switch kernel/sched/core.c:5049 [inline] __schedule+0xe08/0x1bf8 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+0xa9c/0x1edc 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+0x24c/0x380 fs/namei.c:1663 lookup_slow+0x5c/0x80 fs/namei.c:1680 walk_component+0x2b0/0x3a8 fs/namei.c:1976 link_path_walk+0x590/0xb8c fs/namei.c:-1 path_parentat fs/namei.c:2502 [inline] __filename_parentat+0x1b0/0x510 fs/namei.c:2526 filename_parentat fs/namei.c:2544 [inline] filename_create+0xd0/0x39c fs/namei.c:3816 do_mkdirat+0xa8/0x508 fs/namei.c:4080 __do_sys_mkdirat fs/namei.c:4105 [inline] __se_sys_mkdirat fs/namei.c:4103 [inline] __arm64_sys_mkdirat+0x90/0xa8 fs/namei.c:4103 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x78/0x1e0 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: ffff8000143513a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:311 3 locks held by kworker/u4:2/148: 2 locks held by getty/3804: #0: ffff0000d481b098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x40/0x50 drivers/tty/tty_ldsem.c:340 #1: ffff80001bd6e2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x2f0/0xf6c drivers/tty/n_tty.c:2158 2 locks held by syz.0.16/4982: 2 locks held by syz.0.16/4983: #0: ffff0000e2360168 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:797 [inline] #0: ffff0000e2360168 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: lookup_slow+0x4c/0x80 fs/namei.c:1679 #1: ffff0000c086f0d8 (&info->bfs_lock){+.+.}-{3:3}, at: bfs_lookup+0xc8/0x1a0 fs/bfs/dir.c:136 3 locks held by syz.1.17/5010: 2 locks held by syz.1.17/5011: #0: ffff000108708168 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:797 [inline] #0: ffff000108708168 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: lookup_slow+0x4c/0x80 fs/namei.c:1679 #1: ffff0000d67dc8d8 (&info->bfs_lock){+.+.}-{3:3}, at: bfs_lookup+0xc8/0x1a0 fs/bfs/dir.c:136 3 locks held by syz.2.18/5035: 2 locks held by syz.2.18/5036: #0: ffff000108708690 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:797 [inline] #0: ffff000108708690 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: lookup_slow+0x4c/0x80 fs/namei.c:1679 #1: ffff0000e7e51cd8 (&info->bfs_lock){+.+.}-{3:3}, at: bfs_lookup+0xc8/0x1a0 fs/bfs/dir.c:136 2 locks held by syz.3.19/5058: 2 locks held by syz.3.19/5059: #0: ffff000108708bb8 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:797 [inline] #0: ffff000108708bb8 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: lookup_slow+0x4c/0x80 fs/namei.c:1679 #1: ffff0000d60904d8 (&info->bfs_lock){+.+.}-{3:3}, at: bfs_lookup+0xc8/0x1a0 fs/bfs/dir.c:136 2 locks held by syz.4.20/5095: 2 locks held by syz.4.20/5096: #0: ffff0000e2360690 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:797 [inline] #0: ffff0000e2360690 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: lookup_slow+0x4c/0x80 fs/namei.c:1679 #1: ffff0000de039ad8 (&info->bfs_lock){+.+.}-{3:3}, at: bfs_lookup+0xc8/0x1a0 fs/bfs/dir.c:136 2 locks held by syz.5.21/5128: 2 locks held by syz.5.21/5129: #0: ffff0000e2360bb8 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:797 [inline] #0: ffff0000e2360bb8 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: lookup_slow+0x4c/0x80 fs/namei.c:1679 #1: ffff0000d67348d8 (&info->bfs_lock){+.+.}-{3:3}, at: bfs_lookup+0xc8/0x1a0 fs/bfs/dir.c:136 2 locks held by syz.6.22/5160: 2 locks held by syz.6.22/5161: #0: ffff0001087090e0 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:797 [inline] #0: ffff0001087090e0 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: lookup_slow+0x4c/0x80 fs/namei.c:1679 #1: ffff0000d70baed8 (&info->bfs_lock){+.+.}-{3:3}, at: bfs_lookup+0xc8/0x1a0 fs/bfs/dir.c:136 2 locks held by syz.7.23/5193: 2 locks held by syz.7.23/5194: #0: ffff000108709608 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:797 [inline] #0: ffff000108709608 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: lookup_slow+0x4c/0x80 fs/namei.c:1679 #1: ffff0000d8818cd8 (&info->bfs_lock){+.+.}-{3:3}, at: bfs_lookup+0xc8/0x1a0 fs/bfs/dir.c:136 2 locks held by syz.8.24/5231: 2 locks held by syz.8.24/5232: #0: ffff0000e23610e0 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:797 [inline] #0: ffff0000e23610e0 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: lookup_slow+0x4c/0x80 fs/namei.c:1679 #1: ffff0000d7b1aed8 (&info->bfs_lock){+.+.}-{3:3}, at: bfs_lookup+0xc8/0x1a0 fs/bfs/dir.c:136 2 locks held by syz.9.25/5264: 2 locks held by syz.9.25/5265: #0: ffff000108709b30 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:797 [inline] #0: ffff000108709b30 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: lookup_slow+0x4c/0x80 fs/namei.c:1679 #1: ffff0000d2f13cd8 (&info->bfs_lock){+.+.}-{3:3}, at: bfs_lookup+0xc8/0x1a0 fs/bfs/dir.c:136 =============================================