INFO: task syz.0.16:4978 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.16 state:D stack: 0 pid: 4978 ppid: 4739 flags:0x00000009 Call trace: __switch_to+0x2f4/0x558 arch/arm64/kernel/process.c:521 context_switch kernel/sched/core.c:5049 [inline] __schedule+0xe08/0x1bf8 kernel/sched/core.c:6395 schedule+0x11c/0x1c8 kernel/sched/core.c:6478 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:5011 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.17 state:D stack: 0 pid: 5011 ppid: 4992 flags:0x00000009 Call trace: __switch_to+0x2f4/0x558 arch/arm64/kernel/process.c:521 context_switch kernel/sched/core.c:5049 [inline] __schedule+0xe08/0x1bf8 kernel/sched/core.c:6395 schedule+0x11c/0x1c8 kernel/sched/core.c:6478 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: ffff8000143513a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:311 2 locks held by getty/3804: #0: ffff0000d3ebf098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x40/0x50 drivers/tty/tty_ldsem.c:340 #1: ffff80001bd4e2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x2f0/0xf6c drivers/tty/n_tty.c:2158 3 locks held by kworker/1:13/4170: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x678/0x1140 kernel/workqueue.c:2283 #1: ffff80001fa57c00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x6b8/0x1140 kernel/workqueue.c:2285 #2: ffff0000ff6cc240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x1c8/0x2704 drivers/net/netdevsim/fib.c:1480 3 locks held by syz.0.16/4978: #0: ffff0000c180e460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000e2671980 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000e2671980 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:302 #2: ffff0000c180e650 (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/5011: #0: ffff0000c9f06460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000e2449980 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000e2449980 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:302 #2: ffff0000c9f06650 (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/5045: #0: ffff0000d4d60460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000e244b780 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000e244b780 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:302 #2: ffff0000d4d60650 (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/5075: #0: ffff0000d3e60460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000e244d580 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000e244d580 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:302 #2: ffff0000d3e60650 (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/5121: #0: ffff0000d59f8460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000e244f380 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000e244f380 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:302 #2: ffff0000d59f8650 (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/5161: #0: ffff0000c9074460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000ee8b1200 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000ee8b1200 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:302 #2: ffff0000c9074650 (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/5202: #0: ffff0000fb45e460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000ee8b3000 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000ee8b3000 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:302 #2: ffff0000fb45e650 (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/5241: #0: ffff0000cf278460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000e2673780 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000e2673780 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:302 #2: ffff0000cf278650 (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/5287: #0: ffff0000dc320460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000ee8b4e00 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000ee8b4e00 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:302 #2: ffff0000dc320650 (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/5329: #0: ffff0000fa914460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000e2675580 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff0000e2675580 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:302 #2: ffff0000fa914650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xac/0x330 fs/xfs/xfs_trans.c:1047 2 locks held by syz.0.30/5366: =============================================