INFO: task jfsCommit:91 blocked for more than 143 seconds. Not tainted 6.1.86-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:jfsCommit state:D stack:0 pid:91 ppid:2 flags:0x00000008 Call trace: __switch_to+0x320/0x754 arch/arm64/kernel/process.c:553 context_switch kernel/sched/core.c:5245 [inline] __schedule+0xee4/0x1c98 kernel/sched/core.c:6558 schedule+0xc4/0x170 kernel/sched/core.c:6634 io_schedule+0x8c/0x188 kernel/sched/core.c:8786 __lock_metapage+0x1cc/0x458 fs/jfs/jfs_metapage.c:50 lock_metapage fs/jfs/jfs_metapage.c:64 [inline] __get_metapage+0x96c/0x1050 fs/jfs/jfs_metapage.c:639 diIAGRead+0xe4/0x14c fs/jfs/jfs_imap.c:2669 diFree+0x800/0x2648 fs/jfs/jfs_imap.c:956 jfs_evict_inode+0x2d0/0x3f4 fs/jfs/inode.c:156 evict+0x260/0x68c fs/inode.c:666 iput_final fs/inode.c:1791 [inline] iput+0x7c0/0x8a4 fs/inode.c:1817 txUpdateMap+0x73c/0x8e4 fs/jfs/jfs_txnmgr.c:2367 txLazyCommit fs/jfs/jfs_txnmgr.c:2664 [inline] jfs_lazycommit+0x3a0/0x988 fs/jfs/jfs_txnmgr.c:2732 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:864 INFO: task jfsCommit:92 blocked for more than 143 seconds. Not tainted 6.1.86-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:jfsCommit state:D stack:0 pid:92 ppid:2 flags:0x00000008 Call trace: __switch_to+0x320/0x754 arch/arm64/kernel/process.c:553 context_switch kernel/sched/core.c:5245 [inline] __schedule+0xee4/0x1c98 kernel/sched/core.c:6558 schedule+0xc4/0x170 kernel/sched/core.c:6634 io_schedule+0x8c/0x188 kernel/sched/core.c:8786 __lock_metapage+0x1cc/0x458 fs/jfs/jfs_metapage.c:50 lock_metapage fs/jfs/jfs_metapage.c:64 [inline] __get_metapage+0x96c/0x1050 fs/jfs/jfs_metapage.c:639 diIAGRead+0xe4/0x14c fs/jfs/jfs_imap.c:2669 diFree+0x800/0x2648 fs/jfs/jfs_imap.c:956 jfs_evict_inode+0x2d0/0x3f4 fs/jfs/inode.c:156 evict+0x260/0x68c fs/inode.c:666 iput_final fs/inode.c:1791 [inline] iput+0x7c0/0x8a4 fs/inode.c:1817 txUpdateMap+0x73c/0x8e4 fs/jfs/jfs_txnmgr.c:2367 txLazyCommit fs/jfs/jfs_txnmgr.c:2664 [inline] jfs_lazycommit+0x3a0/0x988 fs/jfs/jfs_txnmgr.c:2732 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:864 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffff800015a14e70 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x44/0xcf4 kernel/rcu/tasks.h:516 1 lock held by rcu_tasks_trace/13: #0: ffff800015a15670 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x44/0xcf4 kernel/rcu/tasks.h:516 1 lock held by khungtaskd/28: #0: ffff800015a14ca0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:349 2 locks held by jfsCommit/91: #0: ffff0000dba98920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diFree+0x2cc/0x2648 fs/jfs/jfs_imap.c:886 #1: ffff0000e2b2a638 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diFree+0x2e0/0x2648 fs/jfs/jfs_imap.c:891 2 locks held by jfsCommit/92: #0: ffff0000dfd78920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diFree+0x2cc/0x2648 fs/jfs/jfs_imap.c:886 #1: ffff0000e2b00138 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diFree+0x2e0/0x2648 fs/jfs/jfs_imap.c:891 3 locks held by kworker/u4:5/549: #0: ffff0001b438e198 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2c/0x44 kernel/sched/core.c:537 #1: ffff0001b437ab88 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x308/0x618 kernel/sched/psi.c:988 #2: ffff0001b438e198 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:537 [inline] #2: ffff0001b438e198 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1354 [inline] #2: ffff0001b438e198 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1644 [inline] #2: ffff0001b438e198 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x2c4/0x1c98 kernel/sched/core.c:6475 2 locks held by getty/3982: #0: ffff0000d0d37098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80001bce02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x414/0x1214 drivers/tty/n_tty.c:2188 2 locks held by syz-executor.0/5730: #0: ffff0000dde620e0 (&type->s_umount_key#83){++++}-{3:3}, at: deactivate_super+0xe8/0x110 fs/super.c:362 #1: ffff800015de23a8 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xc8/0x4d8 fs/jfs/jfs_logmgr.c:1444 3 locks held by syz-executor.1/13430: #0: ffff000104eb4460 (sb_writers#23){.+.+}-{0:0}, at: vfs_writev fs/read_write.c:933 [inline] #0: ffff000104eb4460 (sb_writers#23){.+.+}-{0:0}, at: do_pwritev+0x1d8/0x334 fs/read_write.c:1031 #1: ffff0000e2b2d8c0 (&sb->s_type->i_mutex_key#29){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #1: ffff0000e2b2d8c0 (&sb->s_type->i_mutex_key#29){+.+.}-{3:3}, at: jfs_fsync+0xa0/0x1c0 fs/jfs/file.c:28 #2: ffff0000e2b2d508 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_commit_inode+0x1d4/0x4f8 fs/jfs/inode.c:102 =============================================