INFO: task syz.0.16:5118 blocked for more than 143 seconds. Not tainted 5.15.185-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.16 state:D stack: 0 pid: 5118 ppid: 4923 flags:0x00000009 Call trace: __switch_to+0x2f4/0x558 arch/arm64/kernel/process.c:521 context_switch kernel/sched/core.c:5030 [inline] __schedule+0xe00/0x1c0c kernel/sched/core.c:6376 schedule+0x11c/0x1c8 kernel/sched/core.c:6459 xlog_grant_head_wait+0x390/0x9a0 fs/xfs/xfs_log.c:256 xlog_grant_head_check+0x1b4/0x320 fs/xfs/xfs_log.c:-1 xfs_log_reserve+0x334/0xae0 fs/xfs/xfs_log.c:464 xfs_trans_reserve+0x1e4/0x598 fs/xfs/xfs_trans.c:197 xfs_trans_alloc+0x4c0/0x9fc fs/xfs/xfs_trans.c:288 xfs_trans_alloc_inode+0xac/0x330 fs/xfs/xfs_trans.c:1047 xfs_attr_set+0x698/0x1034 fs/xfs/libxfs/xfs_attr.c:772 xfs_xattr_set+0xe8/0x1c4 fs/xfs/xfs_xattr.c:59 __vfs_setxattr+0x388/0x3a4 fs/xattr.c:182 __vfs_setxattr_noperm+0x120/0x564 fs/xattr.c:216 __vfs_setxattr_locked+0x1ec/0x218 fs/xattr.c:277 vfs_setxattr+0x158/0x2ac fs/xattr.c:303 do_setxattr fs/xattr.c:588 [inline] setxattr+0x248/0x2ac fs/xattr.c:611 path_setxattr+0x12c/0x25c fs/xattr.c:630 __do_sys_lsetxattr fs/xattr.c:653 [inline] __se_sys_lsetxattr fs/xattr.c:649 [inline] __arm64_sys_lsetxattr+0xbc/0xd8 fs/xattr.c:649 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x78/0x1e0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 INFO: task syz.1.17:5144 blocked for more than 143 seconds. Not tainted 5.15.185-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.17 state:D stack: 0 pid: 5144 ppid: 5130 flags:0x00000009 Call trace: __switch_to+0x2f4/0x558 arch/arm64/kernel/process.c:521 context_switch kernel/sched/core.c:5030 [inline] __schedule+0xe00/0x1c0c kernel/sched/core.c:6376 schedule+0x11c/0x1c8 kernel/sched/core.c:6459 xlog_grant_head_wait+0x390/0x9a0 fs/xfs/xfs_log.c:256 xlog_grant_head_check+0x1b4/0x320 fs/xfs/xfs_log.c:-1 xfs_log_reserve+0x334/0xae0 fs/xfs/xfs_log.c:464 xfs_trans_reserve+0x1e4/0x598 fs/xfs/xfs_trans.c:197 xfs_trans_alloc+0x4c0/0x9fc fs/xfs/xfs_trans.c:288 xfs_trans_alloc_inode+0xac/0x330 fs/xfs/xfs_trans.c:1047 xfs_attr_set+0x698/0x1034 fs/xfs/libxfs/xfs_attr.c:772 xfs_xattr_set+0xe8/0x1c4 fs/xfs/xfs_xattr.c:59 __vfs_setxattr+0x388/0x3a4 fs/xattr.c:182 __vfs_setxattr_noperm+0x120/0x564 fs/xattr.c:216 __vfs_setxattr_locked+0x1ec/0x218 fs/xattr.c:277 vfs_setxattr+0x158/0x2ac fs/xattr.c:303 do_setxattr fs/xattr.c:588 [inline] setxattr+0x248/0x2ac fs/xattr.c:611 path_setxattr+0x12c/0x25c fs/xattr.c:630 __do_sys_lsetxattr fs/xattr.c:653 [inline] __se_sys_lsetxattr fs/xattr.c:649 [inline] __arm64_sys_lsetxattr+0xbc/0xd8 fs/xattr.c:649 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x78/0x1e0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffff8000143311e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:311 4 locks held by kworker/u4:6/1659: 1 lock held by klogd/3632: 2 locks held by getty/3797: #0: ffff0000d3789098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x40/0x50 drivers/tty/tty_ldsem.c:340 #1: ffff80001bd2b2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x2f0/0xf6c drivers/tty/n_tty.c:2158 3 locks held by syz.0.16/5118: #0: ffff0000daa52460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000ee489200 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000ee489200 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:302 #2: ffff0000daa52650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xac/0x330 fs/xfs/xfs_trans.c:1047 3 locks held by syz.1.17/5144: #0: ffff0000ddf80460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000ee452100 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000ee452100 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:302 #2: ffff0000ddf80650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xac/0x330 fs/xfs/xfs_trans.c:1047 3 locks held by syz.2.18/5168: #0: ffff0000d91ea460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000ee453f00 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000ee453f00 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:302 #2: ffff0000d91ea650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xac/0x330 fs/xfs/xfs_trans.c:1047 3 locks held by syz.3.19/5198: #0: ffff0000c93cc460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000ee455d00 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000ee455d00 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:302 #2: ffff0000c93cc650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xac/0x330 fs/xfs/xfs_trans.c:1047 3 locks held by syz.4.20/5231: #0: ffff0000d8a6a460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000ee48b000 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000ee48b000 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:302 #2: ffff0000d8a6a650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xac/0x330 fs/xfs/xfs_trans.c:1047 3 locks held by syz.5.21/5264: #0: ffff0000f804e460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000ee48b780 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000ee48b780 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:302 #2: ffff0000f804e650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xac/0x330 fs/xfs/xfs_trans.c:1047 3 locks held by syz.6.22/5297: #0: ffff0000fc0ce460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000ee5f1200 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000ee5f1200 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:302 #2: ffff0000fc0ce650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xac/0x330 fs/xfs/xfs_trans.c:1047 3 locks held by syz.7.23/5336: #0: ffff0000cf6c4460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000ee5f1980 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000ee5f1980 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:302 #2: ffff0000cf6c4650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xac/0x330 fs/xfs/xfs_trans.c:1047 3 locks held by syz.8.24/5369: #0: ffff0000c995c460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000ee48ec00 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000ee48ec00 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:302 #2: ffff0000c995c650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xac/0x330 fs/xfs/xfs_trans.c:1047 3 locks held by syz.9.25/5403: #0: ffff0000ec184460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000ee5f3780 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000ee5f3780 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:302 #2: ffff0000ec184650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xac/0x330 fs/xfs/xfs_trans.c:1047 =============================================