INFO: task syz.4.310:5510 blocked for more than 143 seconds. Not tainted 5.15.165-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.310 state:D stack: 0 pid: 5510 ppid: 4237 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 kern_path_create+0x4c/0x194 fs/namei.c:3876 unix_bind_bsd net/unix/af_unix.c:1073 [inline] unix_bind+0x328/0x7f4 net/unix/af_unix.c:1171 __sys_bind+0x1e8/0x284 net/socket.c:1715 __do_sys_bind net/socket.c:1726 [inline] __se_sys_bind net/socket.c:1724 [inline] __arm64_sys_bind+0x7c/0x94 net/socket.c:1724 __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: 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 kworker/u4:4/555: 2 locks held by getty/3785: #0: ffff0000d3264098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x40/0x50 drivers/tty/tty_ldsem.c:340 #1: ffff80001bfe32e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x414/0x1204 drivers/tty/n_tty.c:2158 4 locks held by kworker/u4:12/4224: 2 locks held by kworker/u4:13/4225: #0: ffff0000c0029138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff80001feb7c00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 1 lock held by syz.4.310/5495: 2 locks held by syz.4.310/5510: #0: ffff0000e7c88460 (sb_writers#22){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000dd760188 (&type->i_mutex_dir_key#16/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline] #1: ffff0000dd760188 (&type->i_mutex_dir_key#16/1){+.+.}-{3:3}, at: filename_create+0x204/0x468 fs/namei.c:3835 1 lock held by syz.4.833/7523: 1 lock held by syz.0.840/7552: 1 lock held by syz.2.842/7545: #0: ffff0000d23386d8 (&mm->mmap_lock){++++}-{3:3}, at: mmap_write_lock_killable include/linux/mmap_lock.h:87 [inline] #0: ffff0000d23386d8 (&mm->mmap_lock){++++}-{3:3}, at: vm_mmap_pgoff+0x15c/0x2b4 mm/util.c:549 1 lock held by syz.2.842/7546: 1 lock held by syz.3.843/7548: #0: ffff0000c8147418 (&mm->mmap_lock){++++}-{3:3}, at: mmap_write_lock_killable include/linux/mmap_lock.h:87 [inline] #0: ffff0000c8147418 (&mm->mmap_lock){++++}-{3:3}, at: vm_mmap_pgoff+0x15c/0x2b4 mm/util.c:549 2 locks held by syz.3.843/7549: 2 locks held by syz.1.836/7555: #0: ffff0000cbd12918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xe0/0x6b0 block/bdev.c:912 #1: ffff0000cbcb1468 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_release+0x58/0x210 drivers/block/loop.c:2070 =============================================