INFO: task syz.1.17:5359 blocked for more than 143 seconds. Not tainted 6.1.137-syzkaller-00002-gac7079a42ea5 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.17 state:D stack:0 pid:5359 ppid:5158 flags:0x00000009 Call trace: __switch_to+0x2f4/0x568 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5244 [inline] __schedule+0xdd4/0x1b2c kernel/sched/core.c:6561 schedule+0xc4/0x170 kernel/sched/core.c:6637 rwsem_down_write_slowpath+0xb74/0x125c kernel/locking/rwsem.c:1189 __down_write_common kernel/locking/rwsem.c:1314 [inline] __down_write kernel/locking/rwsem.c:1323 [inline] down_write_nested+0x90/0x94 kernel/locking/rwsem.c:1690 inode_lock_nested include/linux/fs.h:793 [inline] do_unlinkat+0x18c/0x4e8 fs/namei.c:4373 __do_sys_unlinkat fs/namei.c:4433 [inline] __se_sys_unlinkat fs/namei.c:4426 [inline] __arm64_sys_unlinkat+0xe0/0xfc fs/namei.c:4426 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x138 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 INFO: task syz.2.18:5384 blocked for more than 143 seconds. Not tainted 6.1.137-syzkaller-00002-gac7079a42ea5 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.18 state:D stack:0 pid:5384 ppid:5167 flags:0x00000009 Call trace: __switch_to+0x2f4/0x568 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5244 [inline] __schedule+0xdd4/0x1b2c kernel/sched/core.c:6561 schedule+0xc4/0x170 kernel/sched/core.c:6637 rwsem_down_write_slowpath+0xb74/0x125c kernel/locking/rwsem.c:1189 __down_write_common kernel/locking/rwsem.c:1314 [inline] __down_write kernel/locking/rwsem.c:1323 [inline] down_write_nested+0x90/0x94 kernel/locking/rwsem.c:1690 inode_lock_nested include/linux/fs.h:793 [inline] do_unlinkat+0x18c/0x4e8 fs/namei.c:4373 __do_sys_unlinkat fs/namei.c:4433 [inline] __se_sys_unlinkat fs/namei.c:4426 [inline] __arm64_sys_unlinkat+0xe0/0xfc fs/namei.c:4426 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x138 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffff8000151c5430 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x40/0xbb4 kernel/rcu/tasks.h:517 1 lock held by rcu_tasks_trace/13: #0: ffff8000151c5c50 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x40/0xbb4 kernel/rcu/tasks.h:517 1 lock held by khungtaskd/28: #0: ffff8000151c4ac0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:349 3 locks held by kworker/u4:5/1643: 2 locks held by getty/4061: #0: ffff0000d614f098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80001cd502f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x2ec/0xf9c drivers/tty/n_tty.c:2198 3 locks held by syz.1.17/5357: 2 locks held by syz.1.17/5359: #0: ffff0000f3828460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:393 #1: ffff0000e47f0188 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #1: ffff0000e47f0188 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: do_unlinkat+0x18c/0x4e8 fs/namei.c:4373 2 locks held by syz.2.18/5378: 2 locks held by syz.2.18/5384: #0: ffff0000d3306460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:393 #1: ffff0000e47f06d0 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #1: ffff0000e47f06d0 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: do_unlinkat+0x18c/0x4e8 fs/namei.c:4373 3 locks held by syz.3.19/5539: 2 locks held by syz.3.19/5541: #0: ffff0000d9b3c460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:393 #1: ffff0000e47f0c18 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #1: ffff0000e47f0c18 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: do_unlinkat+0x18c/0x4e8 fs/namei.c:4373 2 locks held by syz.0.16/5546: 2 locks held by syz.0.16/5551: #0: ffff0000c91d6460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:393 #1: ffff0000e47f1160 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #1: ffff0000e47f1160 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: do_unlinkat+0x18c/0x4e8 fs/namei.c:4373 2 locks held by syz.4.20/5549: 2 locks held by syz.4.20/5552: #0: ffff0000ed406460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:393 #1: ffff0001059cc188 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #1: ffff0001059cc188 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: do_unlinkat+0x18c/0x4e8 fs/namei.c:4373 2 locks held by syz.5.21/5789: 2 locks held by syz.5.21/5795: #0: ffff0000d030e460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:393 #1: ffff0000e47f16a8 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #1: ffff0000e47f16a8 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: do_unlinkat+0x18c/0x4e8 fs/namei.c:4373 3 locks held by syz.6.22/5792: 2 locks held by syz.6.22/5796: #0: ffff0000ce48c460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:393 #1: ffff0000e47f1bf0 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #1: ffff0000e47f1bf0 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: do_unlinkat+0x18c/0x4e8 fs/namei.c:4373 3 locks held by syz.7.23/5889: 2 locks held by syz.7.23/5892: #0: ffff0000f0576460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:393 #1: ffff0001059cc6d0 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #1: ffff0001059cc6d0 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: do_unlinkat+0x18c/0x4e8 fs/namei.c:4373 2 locks held by syz.8.24/5901: 2 locks held by syz.8.24/5903: #0: ffff0000f1588460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:393 #1: ffff0000e47f2138 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #1: ffff0000e47f2138 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: do_unlinkat+0x18c/0x4e8 fs/namei.c:4373 2 locks held by syz.9.25/5916: 2 locks held by syz.9.25/5917: #0: ffff0000dd85a460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:393 #1: ffff0001059ccc18 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #1: ffff0001059ccc18 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: do_unlinkat+0x18c/0x4e8 fs/namei.c:4373 =============================================