INFO: task jfsCommit:91 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:91 ppid:2 flags:0x00000008 Call trace: __switch_to+0x2f4/0x550 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5245 [inline] __schedule+0xdd0/0x1b0c kernel/sched/core.c:6562 schedule+0xc4/0x170 kernel/sched/core.c:6638 io_schedule+0x84/0x154 kernel/sched/core.c:8798 __lock_metapage+0x180/0x418 fs/jfs/jfs_metapage.c:50 lock_metapage fs/jfs/jfs_metapage.c:64 [inline] __get_metapage+0x900/0xfac fs/jfs/jfs_metapage.c:639 diIAGRead+0xe4/0x14c fs/jfs/jfs_imap.c:2672 diFree+0x6f4/0x1e00 fs/jfs/jfs_imap.c:959 jfs_evict_inode+0x2c4/0x3e4 fs/jfs/inode.c:162 evict+0x3e0/0x828 fs/inode.c:705 iput_final fs/inode.c:1834 [inline] iput+0x754/0x7e4 fs/inode.c:1860 txUpdateMap+0x674/0x794 fs/jfs/jfs_txnmgr.c:2368 txLazyCommit fs/jfs/jfs_txnmgr.c:2665 [inline] jfs_lazycommit+0x354/0x908 fs/jfs/jfs_txnmgr.c:2733 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 Showing all locks held in the system: 2 locks held by kworker/u4:1/11: 1 lock held by rcu_tasks_kthre/12: #0: ffff800015417df0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x40/0xbb4 kernel/rcu/tasks.h:517 1 lock held by rcu_tasks_trace/13: #0: ffff800015418610 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x40/0xbb4 kernel/rcu/tasks.h:517 1 lock held by khungtaskd/28: #0: ffff800015417480 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:349 2 locks held by jfsCommit/91: #0: ffff0000dd2d0920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diFree+0x244/0x1e00 fs/jfs/jfs_imap.c:889 #1: ffff0001033a66f8 (&jfs_ip->rdwrlock/1){++++}-{3:3}, at: diFree+0x258/0x1e00 fs/jfs/jfs_imap.c:894 2 locks held by getty/4079: #0: ffff0000d4fe8098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80002077b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x2ec/0xfa0 drivers/tty/n_tty.c:2198 2 locks held by syz-executor/4335: #0: ffff0000d5ca20e0 (&type->s_umount_key#85){++++}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 #1: ffff8000157ff688 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb0/0x4c8 fs/jfs/jfs_logmgr.c:1444 2 locks held by syz-executor/4336: #0: ffff0000ebc2c0e0 (&type->s_umount_key#85){++++}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 #1: ffff8000157ff688 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb0/0x4c8 fs/jfs/jfs_logmgr.c:1444 3 locks held by kworker/1:11/4469: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff800021037c20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 #2: ffff00012431b240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x1d0/0x27cc drivers/net/netdevsim/fib.c:1491 2 locks held by kworker/u4:15/5085: #0: ffff0000c0029138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff8000216f7c20 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 3 locks held by kworker/0:8/5184: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff800022207c20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 #2: ffff0000d0858240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x1d0/0x27cc drivers/net/netdevsim/fib.c:1491 3 locks held by syz.6.732/8645: #0: ffff00010068c460 (sb_writers#26){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:402 #1: ffff0000d9f10920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diFree+0x244/0x1e00 fs/jfs/jfs_imap.c:889 #2: ffff00011289ddb8 (&jfs_ip->rdwrlock/1){++++}-{3:3}, at: diFree+0x258/0x1e00 fs/jfs/jfs_imap.c:894 1 lock held by syz.6.732/8655: #0: ffff00011289eb40 (&type->i_mutex_dir_key#17){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:768 [inline] #0: ffff00011289eb40 (&type->i_mutex_dir_key#17){.+.+}-{3:3}, at: lookup_slow+0x4c/0x80 fs/namei.c:1714 3 locks held by syz.6.732/8657: #0: ffff00010068c460 (sb_writers#26){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:402 #1: ffff00011289eb40 (&type->i_mutex_dir_key#16/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #1: ffff00011289eb40 (&type->i_mutex_dir_key#16/1){+.+.}-{3:3}, at: filename_create+0x1b0/0x3a8 fs/namei.c:3884 #2: ffff0000d9f10920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diAlloc+0x168/0x15c0 fs/jfs/jfs_imap.c:-1 2 locks held by syz-executor/8692: #0: ffff0000f35f20e0 (&type->s_umount_key#85){++++}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 #1: ffff8000157ff688 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb0/0x4c8 fs/jfs/jfs_logmgr.c:1444 2 locks held by syz-executor/8929: #0: ffff0000e09c00e0 (&type->s_umount_key#85){++++}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 #1: ffff8000157ff688 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb0/0x4c8 fs/jfs/jfs_logmgr.c:1444 2 locks held by syz-executor/10105: #0: ffff0000f42320e0 (&type->s_umount_key#85){++++}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 #1: ffff8000157ff688 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb0/0x4c8 fs/jfs/jfs_logmgr.c:1444 2 locks held by syz-executor/10514: #0: ffff0000dab720e0 (&type->s_umount_key#85){++++}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 #1: ffff8000157ff688 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb0/0x4c8 fs/jfs/jfs_logmgr.c:1444 1 lock held by syz.4.1042/11405: 1 lock held by modprobe/11420: 1 lock held by dhcpcd-run-hook/11421: =============================================