INFO: task syz.0.16:4993 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: 4993 ppid: 4769 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:1671 lookup_slow+0x5c/0x80 fs/namei.c:1688 walk_component+0x2b0/0x3a8 fs/namei.c:1984 link_path_walk+0x590/0xb8c fs/namei.c:-1 path_parentat fs/namei.c:2510 [inline] __filename_parentat+0x1b0/0x510 fs/namei.c:2534 filename_parentat fs/namei.c:2552 [inline] filename_create+0xd0/0x39c fs/namei.c:3824 do_mkdirat+0xa8/0x508 fs/namei.c:4088 __do_sys_mkdirat fs/namei.c:4113 [inline] __se_sys_mkdirat fs/namei.c:4111 [inline] __arm64_sys_mkdirat+0x90/0xa8 fs/namei.c:4111 __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:5022 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: 5022 ppid: 5003 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:1671 lookup_slow+0x5c/0x80 fs/namei.c:1688 walk_component+0x2b0/0x3a8 fs/namei.c:1984 link_path_walk+0x590/0xb8c fs/namei.c:-1 path_parentat fs/namei.c:2510 [inline] __filename_parentat+0x1b0/0x510 fs/namei.c:2534 filename_parentat fs/namei.c:2552 [inline] filename_create+0xd0/0x39c fs/namei.c:3824 do_mkdirat+0xa8/0x508 fs/namei.c:4088 __do_sys_mkdirat fs/namei.c:4113 [inline] __se_sys_mkdirat fs/namei.c:4111 [inline] __arm64_sys_mkdirat+0x90/0xa8 fs/namei.c:4111 __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: ffff8000142f1520 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:312 2 locks held by kworker/u4:2/148: 2 locks held by getty/3805: #0: ffff0000d44bf098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x40/0x50 drivers/tty/tty_ldsem.c:340 #1: ffff80001bcee2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x2f0/0xf6c drivers/tty/n_tty.c:2158 3 locks held by kworker/1:23/4699: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x678/0x1140 kernel/workqueue.c:2283 #1: ffff80001fd37c00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x6b8/0x1140 kernel/workqueue.c:2285 #2: ffff000188772240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x1c8/0x2704 drivers/net/netdevsim/fib.c:1480 2 locks held by syz.0.16/4991: 2 locks held by syz.0.16/4993: #0: ffff0000e2ed8168 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:797 [inline] #0: ffff0000e2ed8168 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: lookup_slow+0x4c/0x80 fs/namei.c:1687 #1: ffff0000cd5ed6d8 (&info->bfs_lock){+.+.}-{3:3}, at: bfs_lookup+0xc8/0x1a0 fs/bfs/dir.c:136 4 locks held by syz.1.17/5021: 2 locks held by syz.1.17/5022: #0: ffff0000ea85c168 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:797 [inline] #0: ffff0000ea85c168 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: lookup_slow+0x4c/0x80 fs/namei.c:1687 #1: ffff0000c86e70d8 (&info->bfs_lock){+.+.}-{3:3}, at: bfs_lookup+0xc8/0x1a0 fs/bfs/dir.c:136 2 locks held by syz.2.18/5045: 2 locks held by syz.2.18/5046: #0: ffff0000ea85c690 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:797 [inline] #0: ffff0000ea85c690 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: lookup_slow+0x4c/0x80 fs/namei.c:1687 #1: ffff0000ed2e12d8 (&info->bfs_lock){+.+.}-{3:3}, at: bfs_lookup+0xc8/0x1a0 fs/bfs/dir.c:136 2 locks held by syz.3.19/5068: 2 locks held by syz.3.19/5069: #0: ffff0000ea85cbb8 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:797 [inline] #0: ffff0000ea85cbb8 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: lookup_slow+0x4c/0x80 fs/namei.c:1687 #1: ffff0000e90816d8 (&info->bfs_lock){+.+.}-{3:3}, at: bfs_lookup+0xc8/0x1a0 fs/bfs/dir.c:136 2 locks held by syz.4.20/5106: 2 locks held by syz.4.20/5107: #0: ffff0000ea85d0e0 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:797 [inline] #0: ffff0000ea85d0e0 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: lookup_slow+0x4c/0x80 fs/namei.c:1687 #1: ffff0000ca9bf4d8 (&info->bfs_lock){+.+.}-{3:3}, at: bfs_lookup+0xc8/0x1a0 fs/bfs/dir.c:136 2 locks held by syz.5.21/5140: 2 locks held by syz.5.21/5141: #0: ffff0000ea85d608 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:797 [inline] #0: ffff0000ea85d608 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: lookup_slow+0x4c/0x80 fs/namei.c:1687 #1: ffff0000c9ef6ad8 (&info->bfs_lock){+.+.}-{3:3}, at: bfs_lookup+0xc8/0x1a0 fs/bfs/dir.c:136 2 locks held by syz.6.22/5174: 2 locks held by syz.6.22/5175: #0: ffff0000e2ed8690 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:797 [inline] #0: ffff0000e2ed8690 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: lookup_slow+0x4c/0x80 fs/namei.c:1687 #1: ffff0000db33aed8 (&info->bfs_lock){+.+.}-{3:3}, at: bfs_lookup+0xc8/0x1a0 fs/bfs/dir.c:136 2 locks held by syz.7.23/5206: 2 locks held by syz.7.23/5207: #0: ffff0000ea85db30 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:797 [inline] #0: ffff0000ea85db30 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: lookup_slow+0x4c/0x80 fs/namei.c:1687 #1: ffff0000ca67f0d8 (&info->bfs_lock){+.+.}-{3:3}, at: bfs_lookup+0xc8/0x1a0 fs/bfs/dir.c:136 2 locks held by syz.8.24/5244: 2 locks held by syz.8.24/5245: #0: ffff0000ea85e058 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:797 [inline] #0: ffff0000ea85e058 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: lookup_slow+0x4c/0x80 fs/namei.c:1687 #1: ffff0000d5ad50d8 (&info->bfs_lock){+.+.}-{3:3}, at: bfs_lookup+0xc8/0x1a0 fs/bfs/dir.c:136 3 locks held by syz.9.25/5276: 2 locks held by syz.9.25/5277: #0: ffff0000ea85e580 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:797 [inline] #0: ffff0000ea85e580 (&type->i_mutex_dir_key#8){.+.+}-{3:3}, at: lookup_slow+0x4c/0x80 fs/namei.c:1687 #1: ffff0000cd5baed8 (&info->bfs_lock){+.+.}-{3:3}, at: bfs_lookup+0xc8/0x1a0 fs/bfs/dir.c:136 =============================================