INFO: task jfsCommit:241 blocked for more than 143 seconds. Not tainted 5.15.179-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:jfsCommit state:D stack: 0 pid: 241 ppid: 2 flags:0x00000008 Call trace: __switch_to+0x308/0x588 arch/arm64/kernel/process.c:518 context_switch kernel/sched/core.c:5029 [inline] __schedule+0xf10/0x1e48 kernel/sched/core.c:6375 schedule+0x11c/0x1c8 kernel/sched/core.c:6458 io_schedule+0x8c/0x194 kernel/sched/core.c:8483 __lock_metapage+0x1c4/0x438 fs/jfs/jfs_metapage.c:49 lock_metapage fs/jfs/jfs_metapage.c:63 [inline] __get_metapage+0x9b8/0x1128 fs/jfs/jfs_metapage.c:640 diIAGRead+0xe4/0x14c fs/jfs/jfs_imap.c:2672 diFree+0x800/0x26c0 fs/jfs/jfs_imap.c:959 jfs_evict_inode+0x2d8/0x408 fs/jfs/inode.c:156 evict+0x418/0x894 fs/inode.c:647 iput_final fs/inode.c:1769 [inline] iput+0x744/0x824 fs/inode.c:1795 txUpdateMap+0x76c/0x914 fs/jfs/jfs_txnmgr.c:2401 txLazyCommit fs/jfs/jfs_txnmgr.c:2698 [inline] jfs_lazycommit+0x3b0/0xa40 fs/jfs/jfs_txnmgr.c:2766 kthread+0x37c/0x45c kernel/kthread.c:334 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffff800014d41b60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:311 3 locks held by kworker/u4:3/153: 2 locks held by jfsCommit/240: #0: ffff0000ee2c8920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diFree+0x2cc/0x26c0 fs/jfs/jfs_imap.c:889 #1: ffff0000e9caaf78 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diFree+0x2e0/0x26c0 fs/jfs/jfs_imap.c:894 2 locks held by jfsCommit/241: #0: ffff0000ce060920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diFree+0x2cc/0x26c0 fs/jfs/jfs_imap.c:889 #1: ffff0000e27d2638 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diFree+0x2e0/0x26c0 fs/jfs/jfs_imap.c:894 2 locks held by getty/3791: #0: ffff0000cffe5098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x40/0x50 drivers/tty/tty_ldsem.c:340 #1: ffff80001d6ac2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x414/0x1204 drivers/tty/n_tty.c:2158 2 locks held by syz-executor/4878: #0: ffff0000e66c00e0 (&type->s_umount_key#50){+.+.}-{3:3}, at: deactivate_super+0x100/0x128 fs/super.c:365 #1: ffff8000150df968 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xc8/0x4d8 fs/jfs/jfs_logmgr.c:1452 1 lock held by syz-executor/4893: #0: ffff0000c13de0e0 (&type->s_umount_key#50){+.+.}-{3:3}, at: deactivate_super+0x100/0x128 fs/super.c:365 1 lock held by syz-executor/4912: #0: ffff0000d5f200e0 (&type->s_umount_key#50){+.+.}-{3:3}, at: deactivate_super+0x100/0x128 fs/super.c:365 1 lock held by syz-executor/4930: #0: ffff0000c1eb20e0 (&type->s_umount_key#50){+.+.}-{3:3}, at: deactivate_super+0x100/0x128 fs/super.c:365 2 locks held by syz-executor/4956: #0: ffff0000f25580e0 (&type->s_umount_key#50){+.+.}-{3:3}, at: deactivate_super+0x100/0x128 fs/super.c:365 #1: ffff8000150df968 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xc8/0x4d8 fs/jfs/jfs_logmgr.c:1452 4 locks held by syz.6.27/5006: #0: ffff0000d2500460 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000e9caaa80 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:822 [inline] #1: ffff0000e9caaa80 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: do_unlinkat+0x2d0/0x830 fs/namei.c:4331 #2: ffff0000e9cab3c0 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #2: ffff0000e9cab3c0 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: vfs_unlink+0xd8/0x508 fs/namei.c:4269 #3: ffff0000e9caaf78 (&jfs_ip->rdwrlock#2){+.+.}-{3:3}, at: jfs_unlink+0x1e0/0x9cc fs/jfs/namei.c:488 1 lock held by syz-executor/5139: #0: ffff0000f28da0e0 (&type->s_umount_key#50){+.+.}-{3:3}, at: deactivate_super+0x100/0x128 fs/super.c:365 1 lock held by syz-executor/5291: #0: ffff0000ed3480e0 (&type->s_umount_key#50){+.+.}-{3:3}, at: deactivate_super+0x100/0x128 fs/super.c:365 =============================================