INFO: task jfsCommit:98 blocked for more than 143 seconds. Not tainted 6.12.0-rc3-syzkaller-g77a9c08f0659 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:jfsCommit state:D stack:0 pid:98 tgid:98 ppid:2 flags:0x00000008 Call trace: __switch_to+0x428/0x860 arch/arm64/kernel/process.c:700 context_switch kernel/sched/core.c:5322 [inline] __schedule+0x14bc/0x2718 kernel/sched/core.c:6682 __schedule_loop kernel/sched/core.c:6759 [inline] schedule+0xbc/0x238 kernel/sched/core.c:6774 io_schedule+0x8c/0x124 kernel/sched/core.c:7559 __lock_metapage+0x1d4/0x42c fs/jfs/jfs_metapage.c:51 lock_metapage fs/jfs/jfs_metapage.c:65 [inline] __get_metapage+0x7f8/0xeac fs/jfs/jfs_metapage.c:640 diIAGRead+0xe4/0x14c fs/jfs/jfs_imap.c:2672 diFree+0x800/0x2648 fs/jfs/jfs_imap.c:959 jfs_evict_inode+0x2d0/0x3f4 fs/jfs/inode.c:156 evict+0x444/0x978 fs/inode.c:725 iput_final fs/inode.c:1877 [inline] iput+0x744/0x8ec fs/inode.c:1903 txUpdateMap+0x85c/0xa18 fs/jfs/jfs_txnmgr.c:2367 txLazyCommit fs/jfs/jfs_txnmgr.c:2664 [inline] jfs_lazycommit+0x3bc/0x9a8 fs/jfs/jfs_txnmgr.c:2733 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffff80008f9d0460 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:336 2 locks held by jfsCommit/98: #0: ffff0000d3c80920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diFree+0x2cc/0x2648 fs/jfs/jfs_imap.c:889 #1: ffff0000d82f66a0 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diFree+0x2e0/0x2648 fs/jfs/jfs_imap.c:894 4 locks held by kworker/u8:7/2024: #0: ffff0000c1891948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x628/0x1600 kernel/workqueue.c:3203 #1: ffff80009ffa7c20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6bc/0x1600 kernel/workqueue.c:3203 #2: ffff8000926f5590 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x13c/0x9b4 net/core/net_namespace.c:580 #3: ffff800092701aa8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 2 locks held by getty/6188: #0: ffff0000cb6940a0 ( &tty->ldisc_sem ){++++}-{0:0} , at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009b7fb2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x41c/0x1228 drivers/tty/n_tty.c:2211 2 locks held by kworker/u8:19/6767: #0: ffff0000d0ba3948 ((wq_completion)bat_events){+.+.}-{0:0}, at: process_one_work+0x628/0x1600 kernel/workqueue.c:3203 #1: ffff8000a30b7c20 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x6bc/0x1600 kernel/workqueue.c:3203 2 locks held by syz-executor/7134: 2 locks held by syz-executor/7149: #0: ffff0000eda860e0 (&type->s_umount_key#73){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] ffff0000eda860e0 (&type->s_umount_key#73){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] ffff0000eda860e0 (&type->s_umount_key#73){++++}-{3:3}, at: deactivate_super+0xd8/0x100 fs/super.c:505 #1: ffff80008fdd6488 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xc8/0x4d4 fs/jfs/jfs_logmgr.c:1444 2 locks held by syz-executor/7155: #0: ffff0000e46b60e0 (&type->s_umount_key#73){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff0000e46b60e0 (&type->s_umount_key#73){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff0000e46b60e0 (&type->s_umount_key#73){++++}-{3:3}, at: deactivate_super+0xd8/0x100 fs/super.c:505 #1: ffff80008fdd6488 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xc8/0x4d4 fs/jfs/jfs_logmgr.c:1444 1 lock held by syz.0.420/8689: #0: ffff0000d7df20e0 (&type->s_umount_key#73){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff0000d7df20e0 (&type->s_umount_key#73){++++}-{3:3}, at: super_lock+0x244/0x33c fs/super.c:120 7 locks held by syz-executor/9001: #0: ffff0000d77e4420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2931 [inline] #0: ffff0000d77e4420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x354/0xcf4 fs/read_write.c:679 #1: ffff0000c9b41c88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c8/0x48c fs/kernfs/file.c:325 #2: ffff0000cbd864b8 (kn->active#44){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1e4/0x48c fs/kernfs/file.c:326 #3: ffff800091860ce8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xec/0x39c drivers/net/netdevsim/bus.c:216 #4: ffff0000ef0cf0e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline] #4: ffff0000ef0cf0e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1095 [inline] #4: ffff0000ef0cf0e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xbc/0x698 drivers/base/dd.c:1293 #5: ffff0000ef0c9250 (&devlink->lock_key#13){+.+.}-{3:3}, at: devl_lock+0x24/0x34 net/devlink/core.c:276 #6: ffff800092701aa8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by syz-executor/9083: #0: ffff800092701aa8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffff800092701aa8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x5e8/0xa9c net/core/rtnetlink.c:6672 1 lock held by syz.1.536/9224: 3 locks held by dhcpcd-run-hook/9225: #0: ffff0000c9436188 (&mm->mmap_lock){++++}-{3:3}, at: mmap_write_lock_killable include/linux/mmap_lock.h:122 [inline] #0: ffff0000c9436188 (&mm->mmap_lock){++++}-{3:3}, at: dup_mmap kernel/fork.c:637 [inline] #0: ffff0000c9436188 (&mm->mmap_lock){++++}-{3:3}, at: dup_mm kernel/fork.c:1674 [inline] #0: ffff0000c9436188 (&mm->mmap_lock){++++}-{3:3}, at: copy_mm+0x21c/0x19fc kernel/fork.c:1723 #1: ffff0000d3d67188 (&mm->mmap_lock/1){+.+.}-{3:3}, at: mmap_write_lock_nested include/linux/mmap_lock.h:113 [inline] #1: ffff0000d3d67188 (&mm->mmap_lock/1){+.+.}-{3:3}, at: dup_mmap kernel/fork.c:646 [inline] #1: ffff0000d3d67188 (&mm->mmap_lock/1){+.+.}-{3:3}, at: dup_mm kernel/fork.c:1674 [inline] #1: ffff0000d3d67188 (&mm->mmap_lock/1){+.+.}-{3:3}, at: copy_mm+0x32c/0x19fc kernel/fork.c:1723 #2: ffff80008f9d0460 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x10/0x4c include/linux/rcupdate.h:336 =============================================