INFO: task syz.1.19:6798 blocked for more than 143 seconds. Not tainted 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.19 state:D stack:0 pid:6798 tgid:6797 ppid:6552 task_flags:0x440140 flags:0x00000011 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_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/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 INFO: task syz.1.19:6846 blocked for more than 143 seconds. Not tainted 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.19 state:D stack:0 pid:6846 tgid:6797 ppid:6552 task_flags:0x400040 flags:0x00000001 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 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:7115 rwsem_down_write_slowpath+0x6b4/0x10f4 kernel/locking/rwsem.c:1185 __down_write_common kernel/locking/rwsem.c:1317 [inline] __down_write kernel/locking/rwsem.c:1326 [inline] down_write+0xb4/0xc0 kernel/locking/rwsem.c:1591 inode_lock include/linux/fs.h:869 [inline] vfs_setxattr+0x138/0x2ac fs/xattr.c:320 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 INFO: task syz.1.19:6852 blocked for more than 143 seconds. Not tainted 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.19 state:D stack:0 pid:6852 tgid:6797 ppid:6552 task_flags:0x440140 flags:0x00000011 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_icreate+0x70/0x1f0 fs/xfs/xfs_trans.c:1200 xfs_create_tmpfile+0x1c0/0x4b8 fs/xfs/xfs_inode.c:822 xfs_generic_create+0x2c4/0x8f4 fs/xfs/xfs_iops.c:227 xfs_vn_tmpfile+0x6c/0xd0 fs/xfs/xfs_iops.c:1260 vfs_tmpfile+0x2d8/0x698 fs/namei.c:3938 do_tmpfile+0xd8/0x238 fs/namei.c:4003 path_openat+0x2618/0x2c40 fs/namei.c:4037 do_filp_open+0x18c/0x36c fs/namei.c:4073 do_sys_openat2+0x11c/0x1b4 fs/open.c:1435 do_sys_open fs/open.c:1450 [inline] __do_sys_openat fs/open.c:1466 [inline] __se_sys_openat fs/open.c:1461 [inline] __arm64_sys_openat+0x120/0x158 fs/open.c:1461 __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: 2 locks held by kworker/u8:1/14: 1 lock held by khungtaskd/32: #0: ffff80008f9a9060 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:330 2 locks held by kworker/u8:4/258: 2 locks held by getty/6312: #0: ffff0000d2cb50a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff8000993a42f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x34c/0xfa4 drivers/tty/n_tty.c:2222 2 locks held by kworker/1:5/6615: #0: ffff0000f61d1148 ((wq_completion)xfs-sync/loop1){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3210 #1: ffff8000a4aa7bc0 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3210 3 locks held by syz.1.19/6798: #0: ffff0000f652e428 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:557 #1: ffff0000c1673970 (&sb->s_type->i_mutex_key#21){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline] #1: ffff0000c1673970 (&sb->s_type->i_mutex_key#21){+.+.}-{4:4}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:320 #2: ffff0000f652e618 (sb_internal#4){.+.+}-{0:0}, at: xfs_trans_alloc+0x108/0x898 fs/xfs/xfs_trans.c:257 2 locks held by syz.1.19/6846: #0: ffff0000f652e428 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:557 #1: ffff0000c1673970 (&sb->s_type->i_mutex_key#21){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline] #1: ffff0000c1673970 (&sb->s_type->i_mutex_key#21){+.+.}-{4:4}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:320 2 locks held by syz.1.19/6852: #0: ffff0000f652e428 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:557 #1: ffff0000f652e618 (sb_internal#4){.+.+}-{0:0}, at: xfs_trans_alloc+0x108/0x898 fs/xfs/xfs_trans.c:257 =============================================