INFO: task syz.1.110:4653 blocked for more than 143 seconds. Not tainted 5.15.166-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.110 state:D stack: 0 pid: 4653 ppid: 4024 flags:0x00000001 Call trace: __switch_to+0x308/0x5e8 arch/arm64/kernel/process.c:518 context_switch kernel/sched/core.c:5027 [inline] __schedule+0xf10/0x1e48 kernel/sched/core.c:6373 schedule+0x11c/0x1c8 kernel/sched/core.c:6456 rwsem_down_write_slowpath+0xd94/0x17e0 kernel/locking/rwsem.c:1165 __down_write_common kernel/locking/rwsem.c:1292 [inline] __down_write kernel/locking/rwsem.c:1301 [inline] down_write_nested+0xec/0x130 kernel/locking/rwsem.c:1668 inode_lock_nested include/linux/fs.h:824 [inline] filename_create+0x204/0x468 fs/namei.c:3835 do_symlinkat+0xd8/0x6b0 fs/namei.c:4448 __do_sys_symlinkat fs/namei.c:4475 [inline] __se_sys_symlinkat fs/namei.c:4472 [inline] __arm64_sys_symlinkat+0xa4/0xbc fs/namei.c:4472 __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+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 INFO: task syz.1.110:4658 blocked for more than 143 seconds. Not tainted 5.15.166-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.110 state:D stack: 0 pid: 4658 ppid: 4024 flags:0x00000001 Call trace: __switch_to+0x308/0x5e8 arch/arm64/kernel/process.c:518 context_switch kernel/sched/core.c:5027 [inline] __schedule+0xf10/0x1e48 kernel/sched/core.c:6373 schedule+0x11c/0x1c8 kernel/sched/core.c:6456 rwsem_down_write_slowpath+0xd94/0x17e0 kernel/locking/rwsem.c:1165 __down_write_common kernel/locking/rwsem.c:1292 [inline] __down_write kernel/locking/rwsem.c:1301 [inline] down_write_nested+0xec/0x130 kernel/locking/rwsem.c:1668 do_renameat2+0x534/0x10c0 fs/namei.c:4924 __do_sys_renameat2 fs/namei.c:5018 [inline] __se_sys_renameat2 fs/namei.c:5015 [inline] __arm64_sys_renameat2+0xe0/0xfc fs/namei.c:5015 __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+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/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: 4 locks held by kworker/u4:0/9: 1 lock held by khungtaskd/27: #0: ffff800014c817a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:311 2 locks held by getty/3780: #0: ffff0000d4ce8098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x40/0x50 drivers/tty/tty_ldsem.c:340 #1: ffff80001d5ee2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x414/0x1204 drivers/tty/n_tty.c:2158 1 lock held by syz.3.4/4142: 2 locks held by kworker/u4:12/4210: 2 locks held by syz.1.110/4643: 2 locks held by syz.1.110/4653: #0: ffff0000cdf6a460 (sb_writers#19){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000e6db96a8 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff0000e6db96a8 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: filename_create+0x204/0x468 fs/namei.c:3835 2 locks held by syz.1.110/4658: #0: ffff0000cdf6a460 (sb_writers#19){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000e6db96a8 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: do_renameat2+0x534/0x10c0 fs/namei.c:4924 2 locks held by syz.0.325/5546: 1 lock held by syz.0.325/5555: #0: ffff0000e6dbb658 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:799 [inline] #0: ffff0000e6dbb658 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1679 1 lock held by syz.0.325/5558: #0: ffff0000e6dbb658 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:799 [inline] #0: ffff0000e6dbb658 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1679 1 lock held by syz.0.325/5560: #0: ffff0000e6dbb658 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:799 [inline] #0: ffff0000e6dbb658 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1679 2 locks held by syz.2.476/6059: 1 lock held by syz.2.476/6063: #0: ffff0000f08ebba0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:799 [inline] #0: ffff0000f08ebba0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1679 1 lock held by syz.2.476/6064: #0: ffff0000f08ebba0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:799 [inline] #0: ffff0000f08ebba0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow+0x50/0x84 fs/namei.c:1679 1 lock held by syz.3.611/6519: 1 lock held by syz.0.615/6527: 1 lock held by syz.1.624/6562: #0: ffff0000e6e37410 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #0: ffff0000e6e37410 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: __sock_release net/socket.c:648 [inline] #0: ffff0000e6e37410 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: sock_close+0x80/0x1fc net/socket.c:1336 =============================================