INFO: task syz-executor.4:7092 blocked for more than 143 seconds. Not tainted 6.9.0-rc6-syzkaller-00053-g0106679839f7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:26040 pid:7092 tgid:7077 ppid:5611 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x1796/0x4a00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 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:3066 [inline] do_renameat2+0x62c/0x13f0 fs/namei.c:4972 __do_sys_rename fs/namei.c:5084 [inline] __se_sys_rename fs/namei.c:5082 [inline] __x64_sys_rename+0x86/0xa0 fs/namei.c:5082 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5dca27dea9 RSP: 002b:00007f5dcb09c0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007f5dca3ac050 RCX: 00007f5dca27dea9 RDX: 0000000000000000 RSI: 0000000020000f00 RDI: 0000000020000400 RBP: 00007f5dca2ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f5dca3ac050 R15: 00007ffc4458f5c8 INFO: task syz-executor.4:7101 blocked for more than 144 seconds. Not tainted 6.9.0-rc6-syzkaller-00053-g0106679839f7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:26040 pid:7101 tgid:7077 ppid:5611 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x1796/0x4a00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 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] filename_create+0x260/0x540 fs/namei.c:3892 do_mkdirat+0xbd/0x3a0 fs/namei.c:4138 __do_sys_mkdirat fs/namei.c:4161 [inline] __se_sys_mkdirat fs/namei.c:4159 [inline] __x64_sys_mkdirat+0x89/0xa0 fs/namei.c:4159 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5dca27c9a7 RSP: 002b:00007f5dcb07aef8 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f5dcb07af80 RCX: 00007f5dca27c9a7 RDX: 00000000000001ff RSI: 0000000020000040 RDI: 00000000ffffff9c RBP: 0000000020000140 R08: 00000000200000c0 R09: 0000000000000000 R10: 0000000020000140 R11: 0000000000000246 R12: 0000000020000040 R13: 00007f5dcb07af40 R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8e334d60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8e334d60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8e334d60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by getty/4827: #0: ffff88802f0a20a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 1 lock held by syz-executor.4/7078: 2 locks held by syz-executor.4/7092: #0: ffff88807f930420 (sb_writers#29){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff88805717c188 (&type->i_mutex_dir_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:830 [inline] #1: ffff88805717c188 (&type->i_mutex_dir_key#21/1){+.+.}-{3:3}, at: lock_rename fs/namei.c:3066 [inline] #1: ffff88805717c188 (&type->i_mutex_dir_key#21/1){+.+.}-{3:3}, at: do_renameat2+0x62c/0x13f0 fs/namei.c:4972 2 locks held by syz-executor.4/7101: #0: ffff88807f930420 (sb_writers#29){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff88805717c188 (&type->i_mutex_dir_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:830 [inline] #1: ffff88805717c188 (&type->i_mutex_dir_key#21/1){+.+.}-{3:3}, at: filename_create+0x260/0x540 fs/namei.c:3892 5 locks held by syz-executor.0/8844: 1 lock held by syz-executor.4/9256: 1 lock held by syz-executor.1/9305: 2 locks held by syz-executor.3/9307: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.9.0-rc6-syzkaller-00053-g0106679839f7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xfde/0x1020 kernel/hung_task.c:380 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 8844 Comm: syz-executor.0 Not tainted 6.9.0-rc6-syzkaller-00053-g0106679839f7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:check_preemption_disabled+0x60/0x120 lib/smp_processor_id.c:19 Code: 00 48 3b 44 24 08 0f 85 ce 00 00 00 89 d8 48 83 c4 10 5b 41 5c 41 5e 41 5f c3 cc cc cc cc 48 c7 04 24 00 00 00 00 9c 8f 04 24 04 24 00 02 00 00 74 c5 49 89 f6 49 89 ff 65 4c 8b 24 25 80 d3 RSP: 0018:ffffc900100df4a0 EFLAGS: 00000046 RAX: 0000000080000000 RBX: 0000000000000001 RCX: ffff888076c21e00 RDX: ffff888076c21e00 RSI: ffffffff8bcaca20 RDI: ffffffff8c1eaaa0 RBP: 0000000000000001 R08: ffffffff8b72a639 R09: ffffffff8b731be0 R10: 0000000000000002 R11: ffff888076c21e00 R12: 0000000000000246 R13: ffff888076c21e00 R14: 00000000ffffffff R15: ffff88805dc03ed8 FS: 0000555570958480(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f109d907000 CR3: 000000006da70000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lockdep_recursion_finish kernel/locking/lockdep.c:467 [inline] lock_is_held_type+0x101/0x190 kernel/locking/lockdep.c:5826 lock_is_held include/linux/lockdep.h:231 [inline] xa_entry include/linux/xarray.h:1216 [inline] xas_descend+0xfe/0x470 lib/xarray.c:206 xas_load lib/xarray.c:244 [inline] xas_find+0x213/0xaa0 lib/xarray.c:1250 find_get_entry mm/filemap.c:1966 [inline] find_lock_entries+0x28b/0x1110 mm/filemap.c:2067 shmem_undo_range+0x2d6/0x1df0 mm/shmem.c:987 shmem_truncate_range mm/shmem.c:1114 [inline] shmem_evict_inode+0x29b/0xa60 mm/shmem.c:1242 evict+0x2a8/0x630 fs/inode.c:667 __dentry_kill+0x20d/0x630 fs/dcache.c:603 dput+0x19f/0x2b0 fs/dcache.c:845 __fput+0x678/0x8a0 fs/file_table.c:430 task_work_run+0x24f/0x310 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218 do_syscall_64+0x102/0x240 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f699d87dc0b Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00 RSP: 002b:00007ffe5ca04f50 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 00007f699d87dc0b RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000003 RBP: 00007ffe5ca0500c R08: 0000000000000000 R09: 00007ffe5ca04cf7 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000032 R13: 000000000005c542 R14: 000000000005bcb8 R15: 000000000000000c