INFO: task syz-executor120:5001 blocked for more than 143 seconds. Not tainted 6.4.0-rc7-syzkaller-00226-ga92b7d26c743 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor120 state:D stack:25640 pid:5001 ppid:4999 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 xlog_grant_head_wait+0x140/0xb10 fs/xfs/xfs_log.c:307 xlog_grant_head_check+0x3d9/0x420 fs/xfs/xfs_log.c:369 xfs_log_reserve+0x35d/0x890 fs/xfs/xfs_log.c:486 xfs_trans_reserve+0x479/0x670 fs/xfs/xfs_trans.c:194 xfs_trans_alloc+0x33e/0x880 fs/xfs/xfs_trans.c:283 xfs_trans_alloc_icreate+0xb9/0x230 fs/xfs/xfs_trans.c:1253 xfs_create+0x5d7/0x1080 fs/xfs/xfs_inode.c:1002 xfs_generic_create+0x5ea/0x790 fs/xfs/xfs_iops.c:199 lookup_open.isra.0+0x105a/0x1400 fs/namei.c:3492 open_last_lookups fs/namei.c:3560 [inline] path_openat+0x975/0x2750 fs/namei.c:3788 do_filp_open+0x1ba/0x410 fs/namei.c:3818 do_sys_openat2+0x16d/0x4c0 fs/open.c:1356 do_sys_open fs/open.c:1372 [inline] __do_sys_openat fs/open.c:1388 [inline] __se_sys_openat fs/open.c:1383 [inline] __x64_sys_openat+0x143/0x1f0 fs/open.c:1383 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f2d0eee62c9 RSP: 002b:00007ffe6c494838 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 61746f7571727375 RCX: 00007f2d0eee62c9 RDX: 000000000000275a RSI: 0000000020000040 RDI: 00000000ffffff9c RBP: 0000000000000000 R08: 0000000000000002 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe6c494860 R13: 0000000000000000 R14: 431bde82d7b634db R15: 0000000000000000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8c7984f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:518 1 lock held by rcu_tasks_trace/14: #0: ffffffff8c7981f0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:518 1 lock held by khungtaskd/27: #0: ffffffff8c799100 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6559 2 locks held by getty/4755: #0: ffff888027e45098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2176 3 locks held by syz-executor120/5001: #0: ffff88807d21e460 (sb_writers#9){.+.+}-{0:0}, at: open_last_lookups fs/namei.c:3549 [inline] #0: ffff88807d21e460 (sb_writers#9){.+.+}-{0:0}, at: path_openat+0x2716/0x2750 fs/namei.c:3788 #1: ffff888073da0338 (&inode->i_sb->s_type->i_mutex_dir_key){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:775 [inline] #1: ffff888073da0338 (&inode->i_sb->s_type->i_mutex_dir_key){+.+.}-{3:3}, at: open_last_lookups fs/namei.c:3557 [inline] #1: ffff888073da0338 (&inode->i_sb->s_type->i_mutex_dir_key){+.+.}-{3:3}, at: path_openat+0x90f/0x2750 fs/namei.c:3788 #2: ffff88807d21e650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_icreate+0xb9/0x230 fs/xfs/xfs_trans.c:1253 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 6.4.0-rc7-syzkaller-00226-ga92b7d26c743 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106 nmi_cpu_backtrace+0x29c/0x350 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x2a4/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xe16/0x1090 kernel/hung_task.c:379 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:48 [inline] NMI backtrace for cpu 0 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:86 [inline] NMI backtrace for cpu 0 skipped: idling at acpi_safe_halt+0x40/0x50 drivers/acpi/processor_idle.c:112