INFO: task syz.4.425:5360 blocked for more than 143 seconds. Not tainted 5.15.164-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.425 state:D stack: 0 pid: 5360 ppid: 4027 flags:0x00000009 Call trace: __switch_to+0x308/0x5e8 arch/arm64/kernel/process.c:518 context_switch kernel/sched/core.c:5030 [inline] __schedule+0xf10/0x1e48 kernel/sched/core.c:6376 schedule+0x11c/0x1c8 kernel/sched/core.c:6459 xlog_grant_head_wait+0x390/0xa88 fs/xfs/xfs_log.c:256 xlog_grant_head_check+0x218/0x3d8 xfs_log_reserve+0x384/0xc1c fs/xfs/xfs_log.c:464 xfs_trans_reserve+0x1e8/0x5a4 fs/xfs/xfs_trans.c:197 xfs_trans_alloc+0x4c4/0xaa4 fs/xfs/xfs_trans.c:288 xfs_trans_alloc_inode+0x114/0x404 fs/xfs/xfs_trans.c:1047 xfs_attr_set+0x73c/0x11e0 fs/xfs/libxfs/xfs_attr.c:772 xfs_xattr_set+0x1a8/0x30c fs/xfs/xfs_xattr.c:59 __vfs_setxattr+0x388/0x3a4 fs/xattr.c:182 __vfs_setxattr_noperm+0x110/0x528 fs/xattr.c:216 __vfs_setxattr_locked+0x1ec/0x218 fs/xattr.c:277 vfs_setxattr+0x1a8/0x344 fs/xattr.c:303 do_setxattr fs/xattr.c:588 [inline] setxattr+0x250/0x2b4 fs/xattr.c:611 path_setxattr+0x17c/0x258 fs/xattr.c:630 __do_sys_setxattr fs/xattr.c:646 [inline] __se_sys_setxattr fs/xattr.c:642 [inline] __arm64_sys_setxattr+0xbc/0xd8 fs/xattr.c:642 __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+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 INFO: task syz.4.425:5402 blocked for more than 143 seconds. Not tainted 5.15.164-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.425 state:D stack: 0 pid: 5402 ppid: 4027 flags:0x00000001 Call trace: __switch_to+0x308/0x5e8 arch/arm64/kernel/process.c:518 context_switch kernel/sched/core.c:5030 [inline] __schedule+0xf10/0x1e48 kernel/sched/core.c:6376 schedule+0x11c/0x1c8 kernel/sched/core.c:6459 xlog_grant_head_wait+0x390/0xa88 fs/xfs/xfs_log.c:256 xlog_grant_head_check+0x218/0x3d8 xfs_log_reserve+0x384/0xc1c fs/xfs/xfs_log.c:464 xfs_trans_reserve+0x1e8/0x5a4 fs/xfs/xfs_trans.c:197 xfs_trans_alloc+0x4c4/0xaa4 fs/xfs/xfs_trans.c:288 xfs_trans_alloc_ichange+0xe4/0x500 fs/xfs/xfs_trans.c:1149 xfs_setattr_nonsize+0x300/0xa94 fs/xfs/xfs_iops.c:694 xfs_vn_setattr+0x2b4/0x524 fs/xfs/xfs_iops.c:1029 notify_change+0xa34/0xcf8 fs/attr.c:505 vfs_utimes+0x418/0x674 fs/utimes.c:65 do_utimes_path fs/utimes.c:98 [inline] do_utimes+0x18c/0x264 fs/utimes.c:144 __do_sys_utimensat fs/utimes.c:163 [inline] __se_sys_utimensat fs/utimes.c:147 [inline] __arm64_sys_utimensat+0x144/0x238 fs/utimes.c:147 __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+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/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: ffff800014c91660 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:311 2 locks held by getty/3792: #0: ffff0000d3df3098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x40/0x50 drivers/tty/tty_ldsem.c:340 #1: ffff800018fe62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x414/0x1204 drivers/tty/n_tty.c:2158 4 locks held by udevd/4015: #0: ffff0000ceffd790 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xac/0xc44 fs/seq_file.c:182 #1: ffff0000e6d03088 (&of->mutex){+.+.}-{3:3}, at: kernfs_seq_start+0x58/0x3a0 fs/kernfs/file.c:112 #2: ffff00010509ea00 (kn->active#2){++++}-{0:0}, at: kernfs_seq_start+0x74/0x3a0 fs/kernfs/file.c:113 #3: ffff0000ef96f220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #3: ffff0000ef96f220 (&dev->mutex){....}-{3:3}, at: uevent_show+0x17c/0x340 drivers/base/core.c:2408 2 locks held by kworker/0:6/4066: #0: ffff0000e6aa8938 ((wq_completion)xfs-sync/loop4){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff80001cd67c00 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 2 locks held by kworker/1:4/4067: #0: ffff0000e6d09538 ((wq_completion)xfs-sync/loop3){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff80001cdf7c00 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 2 locks held by kworker/1:5/4068: #0: ffff0000e6a17138 ((wq_completion)xfs-sync/loop1){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff80001ce07c00 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 2 locks held by kworker/1:8/4155: #0: ffff0000e57e5d38 ((wq_completion)xfs-sync/loop2){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff80001cf97c00 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 4 locks held by kworker/u4:9/4412: 3 locks held by kworker/u4:10/4464: 3 locks held by syz.4.425/5360: #0: ffff0000dcb9a460 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000e647f380 (&sb->s_type->i_mutex_key#28){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff0000e647f380 (&sb->s_type->i_mutex_key#28){+.+.}-{3:3}, at: vfs_setxattr+0x17c/0x344 fs/xattr.c:302 #2: ffff0000dcb9a650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0x114/0x404 fs/xfs/xfs_trans.c:1047 3 locks held by syz.4.425/5402: #0: ffff0000dcb9a460 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000de167380 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff0000de167380 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_utimes+0x3c4/0x674 fs/utimes.c:64 #2: ffff0000dcb9a650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_ichange+0xe4/0x500 fs/xfs/xfs_trans.c:1149 4 locks held by kworker/1:9/5596: #0: ffff0000c275b938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff80001d2d7c00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff0000ced17220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #2: ffff0000ced17220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1b8/0x46b8 drivers/usb/core/hub.c:5769 #3: ffff0000ef96f220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #3: ffff0000ef96f220 (&dev->mutex){....}-{3:3}, at: __device_attach+0x90/0x480 drivers/base/dd.c:954 3 locks held by syz.1.695/6161: #0: ffff0000e919a460 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000fc808300 (&sb->s_type->i_mutex_key#28){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff0000fc808300 (&sb->s_type->i_mutex_key#28){+.+.}-{3:3}, at: vfs_setxattr+0x17c/0x344 fs/xattr.c:302 #2: ffff0000e919a650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0x114/0x404 fs/xfs/xfs_trans.c:1047 3 locks held by syz.1.695/6210: #0: ffff0000e919a460 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000de16ec00 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff0000de16ec00 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_utimes+0x3c4/0x674 fs/utimes.c:64 #2: ffff0000e919a650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_ichange+0xe4/0x500 fs/xfs/xfs_trans.c:1149 3 locks held by syz.2.709/6195: #0: ffff0000caf62460 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000fc80ce00 (&sb->s_type->i_mutex_key#28){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff0000fc80ce00 (&sb->s_type->i_mutex_key#28){+.+.}-{3:3}, at: vfs_setxattr+0x17c/0x344 fs/xattr.c:302 #2: ffff0000caf62650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0x114/0x404 fs/xfs/xfs_trans.c:1047 3 locks held by syz.3.917/6758: #0: ffff0000c1372460 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000fc80f380 (&sb->s_type->i_mutex_key#28){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff0000fc80f380 (&sb->s_type->i_mutex_key#28){+.+.}-{3:3}, at: vfs_setxattr+0x17c/0x344 fs/xattr.c:302 #2: ffff0000c1372650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0x114/0x404 fs/xfs/xfs_trans.c:1047 3 locks held by syz.3.917/6803: #0: ffff0000c1372460 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000fc80b780 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff0000fc80b780 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_utimes+0x3c4/0x674 fs/utimes.c:64 #2: ffff0000c1372650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_ichange+0xe4/0x500 fs/xfs/xfs_trans.c:1149 1 lock held by syz.3.1262/7736: =============================================