INFO: task kworker/0:1H:78 blocked for more than 144 seconds. Not tainted 6.1.23-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:1H state:D stack:0 pid:78 ppid:2 flags:0x00000008 Workqueue: xfs-log/loop4 xlog_ioend_work Call trace: __switch_to+0x320/0x754 arch/arm64/kernel/process.c:553 context_switch kernel/sched/core.c:5241 [inline] __schedule+0xee4/0x1c98 kernel/sched/core.c:6554 schedule+0xc4/0x170 kernel/sched/core.c:6630 schedule_timeout+0xb8/0x344 kernel/time/timer.c:1911 ___down_common+0x2a4/0x4f0 kernel/locking/semaphore.c:225 __down_common+0xdc/0x56c kernel/locking/semaphore.c:246 __down+0x18/0x24 kernel/locking/semaphore.c:254 down+0x94/0xe8 kernel/locking/semaphore.c:63 xfs_buf_lock+0x1a0/0x768 fs/xfs/xfs_buf.c:1120 xfs_buf_item_unpin+0x200/0x918 fs/xfs/xfs_buf_item.c:547 xfs_trans_committed_bulk+0x2d8/0x73c fs/xfs/xfs_trans.c:806 xlog_cil_committed+0x21c/0xd64 fs/xfs/xfs_log_cil.c:795 xlog_cil_process_committed+0x11c/0x174 fs/xfs/xfs_log_cil.c:823 xlog_state_shutdown_callbacks+0x23c/0x324 fs/xfs/xfs_log.c:538 xlog_force_shutdown+0x29c/0x350 fs/xfs/xfs_log.c:3821 xlog_ioend_work+0xa8/0xf8 fs/xfs/xfs_log.c:1402 process_one_work+0x7ac/0x1404 kernel/workqueue.c:2289 worker_thread+0x8e4/0xfec kernel/workqueue.c:2436 kthread+0x24c/0x2d4 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 INFO: task syz-executor.4:12457 blocked for more than 144 seconds. Not tainted 6.1.23-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:0 pid:12457 ppid:4363 flags:0x00000009 Call trace: __switch_to+0x320/0x754 arch/arm64/kernel/process.c:553 context_switch kernel/sched/core.c:5241 [inline] __schedule+0xee4/0x1c98 kernel/sched/core.c:6554 schedule+0xc4/0x170 kernel/sched/core.c:6630 xlog_wait+0x154/0x1d0 fs/xfs/xfs_log_priv.h:617 xlog_wait_on_iclog+0x354/0x690 fs/xfs/xfs_log.c:907 xlog_force_lsn+0x568/0x81c fs/xfs/xfs_log.c:3356 xfs_log_force_seq+0x218/0x50c fs/xfs/xfs_log.c:3393 __xfs_trans_commit+0xa1c/0x10a0 fs/xfs/xfs_trans.c:1014 xfs_trans_commit+0x24/0x34 fs/xfs/xfs_trans.c:1049 xfs_sync_sb_buf+0x150/0x1ec fs/xfs/libxfs/xfs_sb.c:1108 xfs_ioc_setlabel fs/xfs/xfs_ioctl.c:1805 [inline] xfs_file_ioctl+0x1b78/0x24f0 fs/xfs/xfs_ioctl.c:1903 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:856 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 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:581 Showing all locks held in the system: 3 locks held by kworker/u4:0/9: 1 lock held by rcu_tasks_kthre/12: #0: ffff800015754a30 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x44/0xcf4 kernel/rcu/tasks.h:510 1 lock held by rcu_tasks_trace/13: #0: ffff800015755230 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x44/0xcf4 kernel/rcu/tasks.h:510 1 lock held by khungtaskd/28: #0: ffff800015754860 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:305 2 locks held by kworker/0:1H/78: #0: ffff0000c2e9fd38 ((wq_completion)xfs-log/loop4){+.+.}-{0:0}, at: process_one_work+0x664/0x1404 kernel/workqueue.c:2262 #1: ffff80001cf07c20 ((work_completion)(&iclog->ic_end_io_work)){+.+.}-{0:0}, at: process_one_work+0x6a8/0x1404 kernel/workqueue.c:2264 2 locks held by getty/3988: #0: ffff0000d3fbe098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80001ca202f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x414/0x1210 drivers/tty/n_tty.c:2177 1 lock held by syz-executor.4/12457: #0: ffff0000cefa4460 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write_file+0x64/0x1e8 fs/namespace.c:437 2 locks held by syz-executor.2/14782: =============================================