INFO: task syz.1.17:4716 blocked for more than 143 seconds. Not tainted 5.15.185-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.17 state:D stack: 0 pid: 4716 ppid: 4526 flags:0x00000001 Call trace: __switch_to+0x2f4/0x558 arch/arm64/kernel/process.c:521 context_switch kernel/sched/core.c:5030 [inline] __schedule+0xe00/0x1c0c kernel/sched/core.c:6376 schedule+0x11c/0x1c8 kernel/sched/core.c:6459 rwsem_down_write_slowpath+0xcb8/0x13f4 kernel/locking/rwsem.c:1165 __down_write_common kernel/locking/rwsem.c:1292 [inline] __down_write kernel/locking/rwsem.c:1301 [inline] down_write+0xe8/0x12c kernel/locking/rwsem.c:1552 inode_lock include/linux/fs.h:787 [inline] open_last_lookups fs/namei.c:3529 [inline] path_openat+0x5f4/0x26e4 fs/namei.c:3739 do_filp_open+0x164/0x330 fs/namei.c:3769 do_sys_openat2+0x128/0x3d8 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_openat fs/open.c:1285 [inline] __se_sys_openat fs/open.c:1280 [inline] __arm64_sys_openat+0x120/0x154 fs/open.c:1280 __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.2.18:4717 blocked for more than 143 seconds. Not tainted 5.15.185-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.18 state:D stack: 0 pid: 4717 ppid: 4530 flags:0x00000001 Call trace: __switch_to+0x2f4/0x558 arch/arm64/kernel/process.c:521 context_switch kernel/sched/core.c:5030 [inline] __schedule+0xe00/0x1c0c kernel/sched/core.c:6376 schedule+0x11c/0x1c8 kernel/sched/core.c:6459 rwsem_down_write_slowpath+0xcb8/0x13f4 kernel/locking/rwsem.c:1165 __down_write_common kernel/locking/rwsem.c:1292 [inline] __down_write kernel/locking/rwsem.c:1301 [inline] down_write+0xe8/0x12c kernel/locking/rwsem.c:1552 inode_lock include/linux/fs.h:787 [inline] open_last_lookups fs/namei.c:3529 [inline] path_openat+0x5f4/0x26e4 fs/namei.c:3739 do_filp_open+0x164/0x330 fs/namei.c:3769 do_sys_openat2+0x128/0x3d8 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_openat fs/open.c:1285 [inline] __se_sys_openat fs/open.c:1280 [inline] __arm64_sys_openat+0x120/0x154 fs/open.c:1280 __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: ffff8000143311e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:311 2 locks held by kworker/u4:4/335: 2 locks held by udevd/3641: 2 locks held by getty/3801: #0: ffff0000d361b098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x40/0x50 drivers/tty/tty_ldsem.c:340 #1: ffff80001b7a02e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x2f0/0xf6c drivers/tty/n_tty.c:2158 2 locks held by syz.1.17/4709: 2 locks held by syz.1.17/4716: #0: ffff0000dc63a460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000ef98c188 (&type->i_mutex_dir_key#8){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000ef98c188 (&type->i_mutex_dir_key#8){+.+.}-{3:3}, at: open_last_lookups fs/namei.c:3529 [inline] #1: ffff0000ef98c188 (&type->i_mutex_dir_key#8){+.+.}-{3:3}, at: path_openat+0x5f4/0x26e4 fs/namei.c:3739 3 locks held by syz.2.18/4713: 2 locks held by syz.2.18/4717: #0: ffff0000caa10460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000ef964188 (&type->i_mutex_dir_key#8){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000ef964188 (&type->i_mutex_dir_key#8){+.+.}-{3:3}, at: open_last_lookups fs/namei.c:3529 [inline] #1: ffff0000ef964188 (&type->i_mutex_dir_key#8){+.+.}-{3:3}, at: path_openat+0x5f4/0x26e4 fs/namei.c:3739 2 locks held by syz.3.19/4875: 2 locks held by syz.3.19/4881: #0: ffff0000d2326460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000ef98c6d0 (&type->i_mutex_dir_key#8){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000ef98c6d0 (&type->i_mutex_dir_key#8){+.+.}-{3:3}, at: open_last_lookups fs/namei.c:3529 [inline] #1: ffff0000ef98c6d0 (&type->i_mutex_dir_key#8){+.+.}-{3:3}, at: path_openat+0x5f4/0x26e4 fs/namei.c:3739 2 locks held by syz.4.20/4878: 2 locks held by syz.4.20/4885: #0: ffff0000d26e4460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000ef98cc18 (&type->i_mutex_dir_key#8){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000ef98cc18 (&type->i_mutex_dir_key#8){+.+.}-{3:3}, at: open_last_lookups fs/namei.c:3529 [inline] #1: ffff0000ef98cc18 (&type->i_mutex_dir_key#8){+.+.}-{3:3}, at: path_openat+0x5f4/0x26e4 fs/namei.c:3739 2 locks held by syz.0.16/4882: 2 locks held by syz.0.16/4888: #0: ffff0000d31fa460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000ef98d160 (&type->i_mutex_dir_key#8){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000ef98d160 (&type->i_mutex_dir_key#8){+.+.}-{3:3}, at: open_last_lookups fs/namei.c:3529 [inline] #1: ffff0000ef98d160 (&type->i_mutex_dir_key#8){+.+.}-{3:3}, at: path_openat+0x5f4/0x26e4 fs/namei.c:3739 2 locks held by syz.5.21/5026: 2 locks held by syz.5.21/5027: #0: ffff0000dc250460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000ef9646d0 (&type->i_mutex_dir_key#8){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000ef9646d0 (&type->i_mutex_dir_key#8){+.+.}-{3:3}, at: open_last_lookups fs/namei.c:3529 [inline] #1: ffff0000ef9646d0 (&type->i_mutex_dir_key#8){+.+.}-{3:3}, at: path_openat+0x5f4/0x26e4 fs/namei.c:3739 2 locks held by syz.6.22/5031: 2 locks held by syz.6.22/5033: #0: ffff0000da0cc460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000ef98d6a8 (&type->i_mutex_dir_key#8){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000ef98d6a8 (&type->i_mutex_dir_key#8){+.+.}-{3:3}, at: open_last_lookups fs/namei.c:3529 [inline] #1: ffff0000ef98d6a8 (&type->i_mutex_dir_key#8){+.+.}-{3:3}, at: path_openat+0x5f4/0x26e4 fs/namei.c:3739 2 locks held by kworker/u4:8/5045: 2 locks held by syz.7.23/5076: 2 locks held by syz.7.23/5080: #0: ffff000139f66460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000ef964c18 (&type->i_mutex_dir_key#8){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000ef964c18 (&type->i_mutex_dir_key#8){+.+.}-{3:3}, at: open_last_lookups fs/namei.c:3529 [inline] #1: ffff0000ef964c18 (&type->i_mutex_dir_key#8){+.+.}-{3:3}, at: path_openat+0x5f4/0x26e4 fs/namei.c:3739 2 locks held by syz.9.25/5078: 2 locks held by syz.9.25/5083: #0: ffff00013fc7e460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000ef98dbf0 (&type->i_mutex_dir_key#8){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000ef98dbf0 (&type->i_mutex_dir_key#8){+.+.}-{3:3}, at: open_last_lookups fs/namei.c:3529 [inline] #1: ffff0000ef98dbf0 (&type->i_mutex_dir_key#8){+.+.}-{3:3}, at: path_openat+0x5f4/0x26e4 fs/namei.c:3739 3 locks held by syz.8.24/5082: 2 locks held by syz.8.24/5084: #0: ffff0000d49b0460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000ef98e138 (&type->i_mutex_dir_key#8){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000ef98e138 (&type->i_mutex_dir_key#8){+.+.}-{3:3}, at: open_last_lookups fs/namei.c:3529 [inline] #1: ffff0000ef98e138 (&type->i_mutex_dir_key#8){+.+.}-{3:3}, at: path_openat+0x5f4/0x26e4 fs/namei.c:3739 3 locks held by udevd/5132: =============================================