INFO: task syz-executor.2:8061 blocked for more than 143 seconds. Not tainted 6.10.0-rc3-next-20240611-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:25056 pid:8061 tgid:8060 ppid:7504 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5192 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678 rwsem_down_write_slowpath+0xeeb/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1af/0x200 kernel/locking/rwsem.c:1306 inode_lock_nested include/linux/fs.h:830 [inline] lock_rename fs/namei.c:3085 [inline] do_renameat2+0x62c/0x13f0 fs/namei.c:4990 __do_sys_renameat fs/namei.c:5096 [inline] __se_sys_renameat fs/namei.c:5093 [inline] __x64_sys_renameat+0xb8/0xd0 fs/namei.c:5093 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1018e7cea9 RSP: 002b:00007f1019c350c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000108 RAX: ffffffffffffffda RBX: 00007f1018fb3f80 RCX: 00007f1018e7cea9 RDX: 0000000000000006 RSI: 0000000020000180 RDI: 0000000000000006 RBP: 00007f1018eebff4 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000200001c0 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f1018fb3f80 R15: 00007ffc821868f8 Showing all locks held in the system: 2 locks held by kworker/u8:0/11: 2 locks held by kworker/u8:1/12: #0: ffff8880182f4948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3223 [inline] #0: ffff8880182f4948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3329 #1: ffffc90000117d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3224 [inline] #1: ffffc90000117d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3329 1 lock held by khungtaskd/30: #0: ffffffff8e3354a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline] #0: ffffffff8e3354a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #0: ffffffff8e3354a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6689 3 locks held by kworker/u8:6/2443: #0: ffff88802a6a0148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3223 [inline] #0: ffff88802a6a0148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3329 #1: ffffc9000942fd00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3224 [inline] #1: ffffc9000942fd00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3329 #2: ffffffff8f5ef4c8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xd0/0x16f0 net/ipv6/addrconf.c:4193 2 locks held by kworker/u8:9/2922: 2 locks held by getty/4847: #0: ffff88802aa9e0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002efe2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211 2 locks held by syz-fuzzer/5085: 3 locks held by kworker/1:4/5162: #0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3223 [inline] #0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3329 #1: ffffc9000463fd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3224 [inline] #1: ffffc9000463fd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3329 #2: ffffffff8f5ef4c8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276 2 locks held by syz-executor.2/8061: #0: ffff88801f5c6420 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff888058cdbba0 (&type->i_mutex_dir_key#15/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:830 [inline] #1: ffff888058cdbba0 (&type->i_mutex_dir_key#15/1){+.+.}-{3:3}, at: lock_rename fs/namei.c:3085 [inline] #1: ffff888058cdbba0 (&type->i_mutex_dir_key#15/1){+.+.}-{3:3}, at: do_renameat2+0x62c/0x13f0 fs/namei.c:4990 4 locks held by syz-executor.2/8063: 2 locks held by syz-executor.4/8492: #0: ffff88803411e0e0 (&type->s_umount_key#69){+.+.}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff88803411e0e0 (&type->s_umount_key#69){+.+.}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88803411e0e0 (&type->s_umount_key#69){+.+.}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:505