INFO: task syz-executor.5:31789 blocked for more than 143 seconds. Not tainted 6.4.0-rc7-syzkaller-ge40939bbfc68 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:0 pid:31789 ppid:5998 flags:0x00000001 Call trace: __switch_to+0x320/0x754 arch/arm64/kernel/process.c:556 context_switch kernel/sched/core.c:5343 [inline] __schedule+0x1368/0x23b8 kernel/sched/core.c:6669 schedule+0xc4/0x170 kernel/sched/core.c:6745 xlog_grant_head_wait+0x390/0xa84 fs/xfs/xfs_log.c:307 xlog_grant_head_check+0x218/0x3d8 xfs_log_reserve+0x388/0xbcc fs/xfs/xfs_log.c:486 xfs_trans_reserve+0x1f4/0x5e0 fs/xfs/xfs_trans.c:194 xfs_trans_alloc+0x424/0x938 fs/xfs/xfs_trans.c:283 xfs_trans_alloc_inode+0x114/0x404 fs/xfs/xfs_trans.c:1198 xfs_attr_set+0x8e8/0x13d0 fs/xfs/libxfs/xfs_attr.c:1024 xfs_attr_change fs/xfs/xfs_xattr.c:106 [inline] xfs_xattr_set+0x1a8/0x30c fs/xfs/xfs_xattr.c:151 __vfs_setxattr+0x3d8/0x400 fs/xattr.c:201 __vfs_setxattr_noperm+0x110/0x528 fs/xattr.c:235 __vfs_setxattr_locked+0x1ec/0x218 fs/xattr.c:296 vfs_setxattr+0x1a8/0x344 fs/xattr.c:322 do_setxattr fs/xattr.c:630 [inline] setxattr+0x208/0x29c fs/xattr.c:653 path_setxattr+0x17c/0x258 fs/xattr.c:672 __do_sys_setxattr fs/xattr.c:688 [inline] __se_sys_setxattr fs/xattr.c:684 [inline] __arm64_sys_setxattr+0xbc/0xd8 fs/xattr.c:684 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x244 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x198 arch/arm64/kernel/syscall.c:191 el0_svc+0x4c/0x160 arch/arm64/kernel/entry-common.c:647 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:665 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 Showing all locks held in the system: 2 locks held by kworker/0:1/9: #0: ffff0000dea0fd38 ((wq_completion)xfs-sync/loop5){+.+.}-{0:0}, at: process_one_work+0x664/0x12d4 kernel/workqueue.c:2378 #1: ffff8000927d7c20 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6a8/0x12d4 kernel/workqueue.c:2380 1 lock held by rcu_tasks_kthre/13: #0: ffff80008e0916d0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x44/0xcf4 kernel/rcu/tasks.h:518 1 lock held by rcu_tasks_trace/14: #0: ffff80008e091a90 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x44/0xcf4 kernel/rcu/tasks.h:518 1 lock held by khungtaskd/29: #0: ffff80008e091500 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:326 3 locks held by kworker/u4:3/40: #0: ffff0001b4237b58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:558 [inline] #0: ffff0001b4237b58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1366 [inline] #0: ffff0001b4237b58 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1653 [inline] #0: ffff0001b4237b58 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x2d8/0x23b8 kernel/sched/core.c:6586 #1: ffff0001b4223e08 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x3c0/0x618 kernel/sched/psi.c:996 #2: ffff0000c41f81d8 (key#17){+...}-{2:2}, at: spin_lock_bh include/linux/spinlock.h:355 [inline] #2: ffff0000c41f81d8 (key#17){+...}-{2:2}, at: batadv_nc_purge_paths+0xd0/0x378 net/batman-adv/network-coding.c:442 2 locks held by getty/5735: #0: ffff0000d9d60098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff800092e202f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x414/0x1210 drivers/tty/n_tty.c:2176 3 locks held by syz-executor.5/31789: #0: ffff0001334e8460 (sb_writers#16){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:394 #1: ffff0000e01f2238 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:775 [inline] #1: ffff0000e01f2238 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x17c/0x344 fs/xattr.c:321 #2: ffff0001334e8650 (sb_internal#4){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0x114/0x404 fs/xfs/xfs_trans.c:1198 3 locks held by syz-executor.2/32439: #0: ffff00013e06c460 (sb_writers#16){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:394 #1: ffff0000e01f0338 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:775 [inline] #1: ffff0000e01f0338 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x17c/0x344 fs/xattr.c:321 #2: ffff00013e06c650 (sb_internal#4){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0x114/0x404 fs/xfs/xfs_trans.c:1198 1 lock held by syz-executor.5/1712: 2 locks held by syz-executor.4/1720: =============================================