INFO: task jfsCommit:247 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:jfsCommit state:D stack: 0 pid: 247 ppid: 2 flags:0x00000008 Call trace: __switch_to+0x2f4/0x558 arch/arm64/kernel/process.c:521 context_switch kernel/sched/core.c:5049 [inline] __schedule+0xe08/0x1bf8 kernel/sched/core.c:6395 schedule+0x11c/0x1c8 kernel/sched/core.c:6478 io_schedule+0x84/0x160 kernel/sched/core.c:8503 __lock_metapage+0x178/0x3f8 fs/jfs/jfs_metapage.c:49 lock_metapage fs/jfs/jfs_metapage.c:63 [inline] __get_metapage+0x94c/0x10a0 fs/jfs/jfs_metapage.c:640 diIAGRead+0xe4/0x14c fs/jfs/jfs_imap.c:2672 diFree+0x6b0/0x1e00 fs/jfs/jfs_imap.c:959 jfs_evict_inode+0x2cc/0x3fc fs/jfs/inode.c:156 evict+0x3c8/0x810 fs/inode.c:647 iput_final fs/inode.c:1769 [inline] iput+0x6c4/0x77c fs/inode.c:1795 txUpdateMap+0x6ac/0x7cc fs/jfs/jfs_txnmgr.c:2401 txLazyCommit fs/jfs/jfs_txnmgr.c:2698 [inline] jfs_lazycommit+0x384/0x9bc fs/jfs/jfs_txnmgr.c:2766 kthread+0x374/0x454 kernel/kthread.c:334 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:856 INFO: task jfsCommit:248 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:jfsCommit state:D stack: 0 pid: 248 ppid: 2 flags:0x00000008 Call trace: __switch_to+0x2f4/0x558 arch/arm64/kernel/process.c:521 context_switch kernel/sched/core.c:5049 [inline] __schedule+0xe08/0x1bf8 kernel/sched/core.c:6395 schedule+0x11c/0x1c8 kernel/sched/core.c:6478 io_schedule+0x84/0x160 kernel/sched/core.c:8503 __lock_metapage+0x178/0x3f8 fs/jfs/jfs_metapage.c:49 lock_metapage fs/jfs/jfs_metapage.c:63 [inline] __get_metapage+0x94c/0x10a0 fs/jfs/jfs_metapage.c:640 diIAGRead+0xe4/0x14c fs/jfs/jfs_imap.c:2672 diFree+0x6b0/0x1e00 fs/jfs/jfs_imap.c:959 jfs_evict_inode+0x2cc/0x3fc fs/jfs/inode.c:156 evict+0x3c8/0x810 fs/inode.c:647 iput_final fs/inode.c:1769 [inline] iput+0x6c4/0x77c fs/inode.c:1795 txUpdateMap+0x6ac/0x7cc fs/jfs/jfs_txnmgr.c:2401 txLazyCommit fs/jfs/jfs_txnmgr.c:2698 [inline] jfs_lazycommit+0x384/0x9bc fs/jfs/jfs_txnmgr.c:2766 kthread+0x374/0x454 kernel/kthread.c:334 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:856 INFO: task syz-executor:4819 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack: 0 pid: 4819 ppid: 1 flags:0x0000000c Call trace: __switch_to+0x2f4/0x558 arch/arm64/kernel/process.c:521 context_switch kernel/sched/core.c:5049 [inline] __schedule+0xe08/0x1bf8 kernel/sched/core.c:6395 schedule+0x11c/0x1c8 kernel/sched/core.c:6478 jfs_flush_journal+0x580/0xd40 fs/jfs/jfs_logmgr.c:1572 jfs_sync_fs+0x80/0xac fs/jfs/super.c:689 sync_filesystem+0x1a0/0x218 fs/sync.c:66 generic_shutdown_super+0x70/0x2f0 fs/super.c:448 kill_block_super+0x70/0xdc fs/super.c:1427 deactivate_locked_super+0xb8/0x13c fs/super.c:335 deactivate_super+0xf8/0x118 fs/super.c:366 cleanup_mnt+0x3a4/0x458 fs/namespace.c:1139 __cleanup_mnt+0x20/0x30 fs/namespace.c:1146 task_work_run+0x12c/0x1e0 kernel/task_work.c:188 exit_task_work include/linux/task_work.h:33 [inline] do_exit+0x684/0x1f58 kernel/exit.c:883 do_group_exit+0x100/0x268 kernel/exit.c:997 __do_sys_exit_group kernel/exit.c:1008 [inline] __se_sys_exit_group kernel/exit.c:1006 [inline] __wake_up_parent+0x0/0x60 kernel/exit.c:1006 __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+0x78/0x1e0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0xcc/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: ffff8000143513a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:311 2 locks held by jfsCommit/247: #0: ffff0000c83e0920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diFree+0x21c/0x1e00 fs/jfs/jfs_imap.c:889 #1: ffff0000ef9ba638 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diFree+0x230/0x1e00 fs/jfs/jfs_imap.c:894 2 locks held by jfsCommit/248: #0: ffff0000d55a0920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diFree+0x21c/0x1e00 fs/jfs/jfs_imap.c:889 #1: ffff0000efa88a78 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diFree+0x230/0x1e00 fs/jfs/jfs_imap.c:894 2 locks held by getty/3802: #0: ffff0000d40e5098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x40/0x50 drivers/tty/tty_ldsem.c:340 #1: ffff80001bc3e2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x2f0/0xf6c drivers/tty/n_tty.c:2158 1 lock held by syz-executor/4816: #0: ffff0000d81e20e0 (&type->s_umount_key#54){++++}-{3:3}, at: deactivate_super+0xf0/0x118 fs/super.c:365 1 lock held by syz-executor/4819: #0: ffff0000ec2be0e0 (&type->s_umount_key#54){++++}-{3:3}, at: deactivate_super+0xf0/0x118 fs/super.c:365 2 locks held by syz-executor/4821: #0: ffff0000d07540e0 (&type->s_umount_key#54){++++}-{3:3}, at: deactivate_super+0xf0/0x118 fs/super.c:365 #1: ffff8000146e9028 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb0/0x4c8 fs/jfs/jfs_logmgr.c:1452 2 locks held by syz-executor/4829: #0: ffff0000d26580e0 (&type->s_umount_key#54){++++}-{3:3}, at: deactivate_super+0xf0/0x118 fs/super.c:365 #1: ffff8000146e9028 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb0/0x4c8 fs/jfs/jfs_logmgr.c:1452 1 lock held by syz-executor/5996: #0: ffff0000e7e540e0 (&type->s_umount_key#54){++++}-{3:3}, at: deactivate_super+0xf0/0x118 fs/super.c:365 2 locks held by syz-executor/5998: #0: ffff0000ce5680e0 (&type->s_umount_key#54){++++}-{3:3}, at: deactivate_super+0xf0/0x118 fs/super.c:365 #1: ffff8000146e9028 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb0/0x4c8 fs/jfs/jfs_logmgr.c:1452 1 lock held by udevd/6002: 2 locks held by syz-executor/6005: #0: ffff0000c2f640e0 (&type->s_umount_key#54){++++}-{3:3}, at: deactivate_super+0xf0/0x118 fs/super.c:365 #1: ffff8000146e9028 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb0/0x4c8 fs/jfs/jfs_logmgr.c:1452 1 lock held by syz-executor/6208: #0: ffff0000e7dd80e0 (&type->s_umount_key#54){++++}-{3:3}, at: deactivate_super+0xf0/0x118 fs/super.c:365 2 locks held by syz-executor/6233: #0: ffff0000d5ab80e0 (&type->s_umount_key#54){++++}-{3:3}, at: deactivate_super+0xf0/0x118 fs/super.c:365 #1: ffff8000146e9028 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb0/0x4c8 fs/jfs/jfs_logmgr.c:1452 1 lock held by syz-executor/7356: #0: ffff0000d7d460e0 (&type->s_umount_key#54){++++}-{3:3}, at: deactivate_super+0xf0/0x118 fs/super.c:365 3 locks held by syz.1.1160/12521: 2 locks held by syz.4.1161/12523: 3 locks held by syz.2.1162/12525: =============================================