INFO: task syz.0.17:6720 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.17 state:D stack:0 pid:6720 tgid:6720 ppid:6646 task_flags:0x440140 flags:0x00800001 Call trace: __switch_to+0x418/0x87c arch/arm64/kernel/process.c:741 (T) context_switch kernel/sched/core.c:5357 [inline] __schedule+0x13b0/0x2864 kernel/sched/core.c:6961 __schedule_loop kernel/sched/core.c:7043 [inline] schedule+0xb4/0x230 kernel/sched/core.c:7058 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:1075 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_setxattr fs/xattr.c:747 [inline] __se_sys_setxattr fs/xattr.c:743 [inline] __arm64_sys_setxattr+0xc0/0xdc fs/xattr.c:743 __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/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Showing all locks held in the system: 1 lock held by khungtaskd/32: #0: ffff80008f9c9360 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:330 3 locks held by kworker/u8:4/237: 3 locks held by kworker/u9:1/6135: #0: ffff0000d0bee148 ((wq_completion)hci2){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3210 #1: ffff8000a1377bc0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3210 #2: ffff0000ce8b0dc0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x184/0x33c net/bluetooth/hci_sync.c:331 2 locks held by getty/6316: #0: ffff0000d473a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff8000993c42f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x34c/0xfa4 drivers/tty/n_tty.c:2222 3 locks held by syz.0.17/6720: #0: ffff0000c5a5e428 (sb_writers#11){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:557 #1: ffff0000f0869a70 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline] #1: ffff0000f0869a70 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:320 #2: ffff0000c5a5e618 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc+0xb4/0x898 fs/xfs/xfs_trans.c:256 3 locks held by syz.1.18/6752: #0: ffff0000dc38c428 (sb_writers#11){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:557 #1: ffff0000f0ab9a70 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline] #1: ffff0000f0ab9a70 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:320 #2: ffff0000dc38c618 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc+0xb4/0x898 fs/xfs/xfs_trans.c:256 3 locks held by syz.2.19/6792: #0: ffff0000c4260428 (sb_writers#11){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:557 #1: ffff0000f0abb970 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline] #1: ffff0000f0abb970 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:320 #2: ffff0000c4260618 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc+0xb4/0x898 fs/xfs/xfs_trans.c:256 3 locks held by syz.3.20/6824: #0: ffff0000d604e428 (sb_writers#11){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:557 #1: ffff0000f0abd870 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline] #1: ffff0000f0abd870 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:320 #2: ffff0000d604e618 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc+0xb4/0x898 fs/xfs/xfs_trans.c:256 3 locks held by syz.4.21/6865: #0: ffff0000d56f2428 (sb_writers#11){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:557 #1: ffff0000f0abf770 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline] #1: ffff0000f0abf770 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:320 #2: ffff0000d56f2618 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc+0xb4/0x898 fs/xfs/xfs_trans.c:256 3 locks held by syz.5.22/6904: #0: ffff0000d4bf0428 (sb_writers#11){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:557 #1: ffff0000f086b970 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline] #1: ffff0000f086b970 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:320 #2: ffff0000d4bf0618 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc+0xb4/0x898 fs/xfs/xfs_trans.c:256 3 locks held by syz.6.23/6950: #0: ffff0000d6258428 (sb_writers#11){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:557 #1: ffff0000f0bc9a70 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline] #1: ffff0000f0bc9a70 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:320 #2: ffff0000d6258618 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc+0xb4/0x898 fs/xfs/xfs_trans.c:256 3 locks held by syz.7.24/6989: #0: ffff0000cf9f6428 (sb_writers#11){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:557 #1: ffff0000f086d870 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline] #1: ffff0000f086d870 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:320 #2: ffff0000cf9f6618 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc+0xb4/0x898 fs/xfs/xfs_trans.c:256 3 locks held by syz.8.25/7029: #0: ffff0000c81a6428 (sb_writers#11){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:557 #1: ffff0000f0bcb970 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline] #1: ffff0000f0bcb970 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:320 #2: ffff0000c81a6618 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc+0xb4/0x898 fs/xfs/xfs_trans.c:256 3 locks held by syz.9.26/7068: #0: ffff0000d6b98428 (sb_writers#11){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:557 #1: ffff0000f086f770 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline] #1: ffff0000f086f770 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:320 #2: ffff0000d6b98618 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc+0xb4/0x898 fs/xfs/xfs_trans.c:256 =============================================