INFO: task syz.1.52:6929 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.52 state:D stack:0 pid:6929 tgid:6928 ppid:6551 task_flags:0x440140 flags:0x00000001 Call trace: __switch_to+0x418/0x87c arch/arm64/kernel/process.c:741 (T) context_switch kernel/sched/core.c:5325 [inline] __schedule+0x13b0/0x2864 kernel/sched/core.c:6929 __schedule_loop kernel/sched/core.c:7011 [inline] schedule+0xb4/0x230 kernel/sched/core.c:7026 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 fs/xfs/xfs_trans.c:176 [inline] xfs_trans_alloc+0x248/0x898 fs/xfs/xfs_trans.c:258 xfs_trans_alloc_inode+0x108/0x42c fs/xfs/xfs_trans.c:1076 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] filename_setxattr+0x20c/0x4f8 fs/xattr.c:665 path_setxattrat+0x2e8/0x320 fs/xattr.c:713 __do_sys_lsetxattr fs/xattr.c:754 [inline] __se_sys_lsetxattr fs/xattr.c:750 [inline] __arm64_sys_lsetxattr+0xc0/0xdc fs/xattr.c:750 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x254 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+0x5c/0x254 arch/arm64/kernel/entry-common.c:746 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:765 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Showing all locks held in the system: 2 locks held by kworker/1:1/26: #0: ffff0000f38ad548 ((wq_completion)xfs-sync/loop1){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3237 #1: ffff800097b47be0 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3237 1 lock held by khungtaskd/32: #0: ffff80008f76b5a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:330 1 lock held by klogd/6180: 2 locks held by getty/6333: #0: ffff0000d34630a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009bb2b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x34c/0xfa4 drivers/tty/n_tty.c:2222 3 locks held by syz.1.52/6929: #0: ffff0000d88f8420 (sb_writers#16){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:508 #1: ffff0000f31e2130 (&sb->s_type->i_mutex_key#24){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #1: ffff0000f31e2130 (&sb->s_type->i_mutex_key#24){+.+.}-{4:4}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:320 #2: ffff0000d88f8610 (sb_internal#3){.+.+}-{0:0}, at: xfs_trans_alloc+0xb4/0x898 fs/xfs/xfs_trans.c:256 =============================================