INFO: task syz.4.340:7996 bloc INFO: task syz.4.340:7996 blocked for more than 143 seconds. Not tainted 6.15.0-rc7-syzkaller-gd7fa1af5b33e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.340 state:D stack:0 pid:7996 tgid:7995 ppid:6493 task_flags:0x440140 flags:0x00000001 Call trace: __switch_to+0x414/0x834 arch/arm64/kernel/process.c:735 (T) context_switch kernel/sched/core.c:5382 [inline] __schedule+0x13b0/0x28d4 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0xb4/0x230 kernel/sched/core.c:6860 xlog_grant_head_wait+0x400/0xae8 fs/xfs/xfs_log.c:267 xlog_grant_head_check+0x210/0x394 fs/xfs/xfs_log.c:-1 xfs_log_reserve+0x2c0/0x898 fs/xfs/xfs_log.c:437 xfs_trans_reserve+0x1c8/0x568 fs/xfs/xfs_trans.c:196 xfs_trans_alloc+0x3e0/0x858 fs/xfs/xfs_trans.c:284 xfs_trans_alloc_inode+0x108/0x42c fs/xfs/xfs_trans.c:1096 xfs_attr_set+0x6d8/0x1020 fs/xfs/libxfs/xfs_attr.c:1098 xfs_attr_change+0x254/0x334 fs/xfs/xfs_xattr.c:128 xfs_xattr_set+0x120/0x200 fs/xfs/xfs_xattr.c:186 __vfs_setxattr+0x3d8/0x400 fs/xattr.c:200 __vfs_setxattr_noperm+0x120/0x5c4 fs/xattr.c:234 __vfs_setxattr_locked+0x1ec/0x218 fs/xattr.c:295 vfs_setxattr+0x158/0x2ac fs/xattr.c:321 do_setxattr fs/xattr.c:636 [inline] file_setxattr+0x1b8/0x294 fs/xattr.c:646 path_setxattrat+0x2ac/0x320 fs/xattr.c:711 __do_sys_fsetxattr fs/xattr.c:761 [inline] __se_sys_fsetxattr fs/xattr.c:758 [inline] __arm64_sys_fsetxattr+0xc0/0xdc fs/xattr.c:758 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x58/0x17c arch/arm64/kernel/entry-common.c:767 el0t_64_sync_handler+0x78/0x108 arch/arm64/kernel/entry-common.c:786 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 Showing all locks held in the system: 2 locks held by kworker/0:0/9: #0: ffff0000d144b548 ((wq_completion)xfs-sync/loop4){+.+.}-{0:0}, at: process_one_work+0x658/0x156c kernel/workqueue.c:3212 #1: ffff800097627bc0 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6ec/0x156c kernel/workqueue.c:3212 1 lock held by khungtaskd/32: #0: ffff80008f508920 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:330 2 locks held by pr/ttyAMA0/46: 2 locks held by getty/6263: #0: ffff0000d2ec50a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff800098feb2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x34c/0xfa0 drivers/tty/n_tty.c:2222 3 locks held by syz.4.340/7996: #0: ffff0000d26f0420 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write_file+0x64/0x1e8 fs/namespace.c:600 #1: ffff0000f551b1b0 (&sb->s_type->i_mutex_key#26){++++}-{4:4}, at: inode_lock include/linux/fs.h:867 [inline] #1: ffff0000f551b1b0 (&sb->s_type->i_mutex_key#26){++++}-{4:4}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:320 #2: ffff0000d26f0610 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0x108/0x42c fs/xfs/xfs_trans.c:1096 =============================================