INFO: task syz.0.17:4518 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:4518 ppid:4449 flags:0x00000009 Call trace: __switch_to+0x2f4/0x550 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5245 [inline] __schedule+0xdd0/0x1b0c kernel/sched/core.c:6562 schedule+0xc4/0x170 kernel/sched/core.c:6638 xlog_grant_head_wait+0x3a8/0xa88 fs/xfs/xfs_log.c:307 xlog_grant_head_check+0x1b4/0x320 fs/xfs/xfs_log.c:-1 xfs_log_reserve+0x344/0xbb0 fs/xfs/xfs_log.c:486 xfs_trans_reserve+0x1f0/0x5d4 fs/xfs/xfs_trans.c:194 xfs_trans_alloc+0x420/0x91c fs/xfs/xfs_trans.c:283 xfs_trans_alloc_inode+0xac/0x330 fs/xfs/xfs_trans.c:1190 xfs_attr_set+0x82c/0x1280 fs/xfs/libxfs/xfs_attr.c:1024 xfs_attr_change fs/xfs/xfs_xattr.c:106 [inline] xfs_xattr_set+0x104/0x1ec fs/xfs/xfs_xattr.c:151 __vfs_setxattr+0x384/0x3a0 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:309 do_setxattr fs/xattr.c:594 [inline] setxattr+0x258/0x2d8 fs/xattr.c:617 path_setxattr+0x130/0x260 fs/xattr.c:636 __do_sys_setxattr fs/xattr.c:652 [inline] __se_sys_setxattr fs/xattr.c:648 [inline] __arm64_sys_setxattr+0xbc/0xd8 fs/xattr.c:648 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b4 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x130 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x128 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 Showing all locks held in the system: 2 locks held by kworker/u4:1/11: 1 lock held by rcu_tasks_kthre/12: #0: ffff8000153e7c30 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x40/0xbb4 kernel/rcu/tasks.h:517 1 lock held by rcu_tasks_trace/13: #0: ffff8000153e8450 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x40/0xbb4 kernel/rcu/tasks.h:517 1 lock held by khungtaskd/28: #0: ffff8000153e72c0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:349 3 locks held by kworker/0:2/112: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff800020607c20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 #2: ffff0000dca92240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x1d0/0x27cc drivers/net/netdevsim/fib.c:1491 2 locks held by getty/4080: #0: ffff0000d693e098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80001cfe32f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x2ec/0xfa0 drivers/tty/n_tty.c:2198 2 locks held by kworker/1:4/4367: #0: ffff0000cfd4f138 ((wq_completion)xfs-sync/loop6){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff800020917c20 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 2 locks held by kworker/0:14/4408: #0: ffff0000c63a0d38 ((wq_completion)xfs-sync/loop3){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff800020b07c20 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 2 locks held by kworker/1:6/4412: #0: ffff0000cff80538 ((wq_completion)xfs-sync/loop1){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff800020b47c20 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 2 locks held by kworker/1:8/4414: #0: ffff0000d27c5938 ((wq_completion)xfs-sync/loop0){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff800020b67c20 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 2 locks held by kworker/1:9/4471: #0: ffff0000dc5d6138 ((wq_completion)xfs-sync/loop5){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff800020f17c20 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 2 locks held by kworker/1:11/4473: #0: ffff0000d01a9538 ((wq_completion)xfs-sync/loop2){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff800020f37c20 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 2 locks held by kworker/1:12/4474: #0: ffff0000d7c19538 ((wq_completion)xfs-sync/loop4){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff800020f47c20 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 2 locks held by kworker/1:13/4475: #0: ffff0000d12e9138 ((wq_completion)xfs-sync/loop7){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff800020f57c20 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 3 locks held by syz.0.17/4518: #0: ffff0000d7f0a460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:402 #1: ffff0000ea748338 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #1: ffff0000ea748338 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:308 #2: ffff0000d7f0a650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xac/0x330 fs/xfs/xfs_trans.c:1190 3 locks held by syz.1.18/4541: #0: ffff0000f0076460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:402 #1: ffff0000ea74b1b8 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #1: ffff0000ea74b1b8 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:308 #2: ffff0000f0076650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xac/0x330 fs/xfs/xfs_trans.c:1190 3 locks held by syz.2.19/4565: #0: ffff0000f06b2460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:402 #1: ffff0000ea74e038 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #1: ffff0000ea74e038 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:308 #2: ffff0000f06b2650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xac/0x330 fs/xfs/xfs_trans.c:1190 3 locks held by syz.3.20/4588: #0: ffff0000dd290460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:402 #1: ffff0000ea6de038 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #1: ffff0000ea6de038 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:308 #2: ffff0000dd290650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xac/0x330 fs/xfs/xfs_trans.c:1190 3 locks held by syz.4.21/4626: #0: ffff0000d01ca460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:402 #1: ffff0000ea5931b8 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #1: ffff0000ea5931b8 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:308 #2: ffff0000d01ca650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xac/0x330 fs/xfs/xfs_trans.c:1190 3 locks held by syz.5.22/4660: #0: ffff0000d248c460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:402 #1: ffff0000ea596fb8 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #1: ffff0000ea596fb8 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:308 #2: ffff0000d248c650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xac/0x330 fs/xfs/xfs_trans.c:1190 3 locks held by syz.6.23/4692: #0: ffff0000fe680460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:402 #1: ffff0000ea74c8f8 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #1: ffff0000ea74c8f8 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:308 #2: ffff0000fe680650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xac/0x330 fs/xfs/xfs_trans.c:1190 3 locks held by syz.7.24/4726: #0: ffff0000c3c14460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:402 #1: ffff0000ea4f0af8 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #1: ffff0000ea4f0af8 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:308 #2: ffff0000c3c14650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xac/0x330 fs/xfs/xfs_trans.c:1190 3 locks held by syz.8.25/4764: #0: ffff0000ebb00460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:402 #1: ffff0000ea4f50b8 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #1: ffff0000ea4f50b8 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:308 #2: ffff0000ebb00650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xac/0x330 fs/xfs/xfs_trans.c:1190 3 locks held by syz.9.26/4797: #0: ffff0000d6fb2460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:402 #1: ffff0000ea593978 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #1: ffff0000ea593978 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x138/0x2ac fs/xattr.c:308 #2: ffff0000d6fb2650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xac/0x330 fs/xfs/xfs_trans.c:1190 =============================================