INFO: task syz-executor.5:6018 blocked for more than 143 seconds. Not tainted 5.15.107-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack: 0 pid: 6018 ppid: 4104 flags:0x00000009 Call trace: __switch_to+0x308/0x5e8 arch/arm64/kernel/process.c:518 context_switch kernel/sched/core.c:5026 [inline] __schedule+0xf10/0x1e38 kernel/sched/core.c:6372 schedule+0x11c/0x1c8 kernel/sched/core.c:6455 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_setattr_size+0x45c/0xc00 fs/xfs/xfs_iops.c:926 xfs_vn_setattr_size+0x1cc/0x3d8 fs/xfs/xfs_iops.c:1018 xfs_vn_setattr+0x1c0/0x524 fs/xfs/xfs_iops.c:1043 notify_change+0xac4/0xd60 fs/attr.c:488 do_truncate+0x1c0/0x28c fs/open.c:65 handle_truncate fs/namei.c:3195 [inline] do_open fs/namei.c:3542 [inline] path_openat+0x20e8/0x26f0 fs/namei.c:3672 do_filp_open+0x1a8/0x3b4 fs/namei.c:3699 do_sys_openat2+0x128/0x3d8 fs/open.c:1211 do_sys_open fs/open.c:1227 [inline] __do_sys_openat fs/open.c:1243 [inline] __se_sys_openat fs/open.c:1238 [inline] __arm64_sys_openat+0x1f0/0x240 fs/open.c:1238 __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:596 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614 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: ffff800014aa1660 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:268 4 locks held by kworker/u4:5/526: 1 lock held by udevd/3585: 2 locks held by getty/3736: #0: ffff0000d2fff098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x40/0x50 drivers/tty/tty_ldsem.c:340 #1: ffff80001ab7b2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x414/0x1200 drivers/tty/n_tty.c:2147 2 locks held by syz-executor.0/4099: #0: ffff0000cb7d2118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xe0/0x6b0 block/bdev.c:912 #1: ffff0000cb75c468 (&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0xa8/0x9b8 drivers/block/loop.c:1365 4 locks held by syz-executor.5/6018: #0: ffff0000c089e460 (sb_writers#15){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff000120d21200 (&sb->s_type->i_mutex_key#23){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff000120d21200 (&sb->s_type->i_mutex_key#23){++++}-{3:3}, at: do_truncate+0x1ac/0x28c fs/open.c:63 #2: ffff000120d213a0 (mapping.invalidate_lock#5){++++}-{3:3}, at: xfs_ilock+0x204/0x4c4 fs/xfs/xfs_inode.c:192 #3: ffff0000c089e650 (sb_internal#3){.+.+}-{0:0}, at: xfs_setattr_size+0x45c/0xc00 fs/xfs/xfs_iops.c:926 1 lock held by syz-executor.3/9304: 2 locks held by syz-executor.5/9325: #0: ffff0001382c40e0 (&type->s_umount_key#65/1){+.+.}-{3:3}, at: alloc_super+0x1b8/0x844 fs/super.c:229 #1: ffff800014aa5be8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #1: ffff800014aa5be8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x320/0x660 kernel/rcu/tree_exp.h:840 2 locks held by syz-executor.1/9327: =============================================