INFO: task jfsCommit:97 blocked for more than 143 seconds. Not tainted 6.12.0-rc1-syzkaller-g2d8bce6e34be #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:jfsCommit state:D stack:0 pid:97 tgid:97 ppid:2 flags:0x00000008 Call trace: __switch_to+0x428/0x860 arch/arm64/kernel/process.c:697 context_switch kernel/sched/core.c:5315 [inline] __schedule+0x14bc/0x2718 kernel/sched/core.c:6675 __schedule_loop kernel/sched/core.c:6752 [inline] schedule+0xbc/0x238 kernel/sched/core.c:6767 io_schedule+0x8c/0x124 kernel/sched/core.c:7552 __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:723 iput_final fs/inode.c:1875 [inline] iput+0x744/0x8ec fs/inode.c:1901 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: ffff80008f9cf760 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:336 2 locks held by jfsCommit/97: #0: ffff0000f3478920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diFree+0x2cc/0x2648 fs/jfs/jfs_imap.c:889 #1: ffff0000ebdcaf50 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diFree+0x2e0/0x2648 fs/jfs/jfs_imap.c:894 6 locks held by kworker/u8:4/216: #0: ffff0000c1891948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x628/0x1600 kernel/workqueue.c:3203 #1: ffff80009b9f7c20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6bc/0x1600 kernel/workqueue.c:3203 #2: ffff8000926f3850 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x13c/0x9b4 net/core/net_namespace.c:580 #3: ffff0000f323f0e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline] #3: ffff0000f323f0e8 (&dev->mutex){....}-{3:3}, at: devl_dev_lock net/devlink/devl_internal.h:108 [inline] #3: ffff0000f323f0e8 (&dev->mutex){....}-{3:3}, at: devlink_pernet_pre_exit+0x114/0x418 net/devlink/core.c:506 #4: ffff0000f34a2250 (&devlink->lock_key#19){+.+.}-{3:3}, at: devl_lock net/devlink/core.c:276 [inline] #4: ffff0000f34a2250 (&devlink->lock_key#19){+.+.}-{3:3}, at: devl_dev_lock net/devlink/devl_internal.h:109 [inline] #4: ffff0000f34a2250 (&devlink->lock_key#19){+.+.}-{3:3}, at: devlink_pernet_pre_exit+0x124/0x418 net/devlink/core.c:506 #5: ffff8000926ffd68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by klogd/6024: 2 locks held by dhcpcd/6089: #0: ffff0000e71a36c8 (nlk_cb_mutex-ROUTE){+.+.}-{3:3}, at: __netlink_dump_start+0xf8/0x720 net/netlink/af_netlink.c:2404 #1: ffff8000926ffd68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #1: ffff8000926ffd68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_dumpit+0x8c/0x1d0 net/core/rtnetlink.c:6505 2 locks held by getty/6181: #0: ffff0000c19650a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009b7ce2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x41c/0x1228 drivers/tty/n_tty.c:2211 3 locks held by kworker/0:3/6473: 3 locks held by kworker/1:6/6504: 3 locks held by kworker/u8:10/6667: #0: ffff0000c0031148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x628/0x1600 kernel/workqueue.c:3203 #1: ffff8000a4b07c20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x6bc/0x1600 kernel/workqueue.c:3203 #2: ffff8000926ffd68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 2 locks held by syz-executor/10885: 3 locks held by kworker/u8:14/13419: #0: ffff0000d1dda148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x628/0x1600 kernel/workqueue.c:3203 #1: ffff80009dee7c20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6bc/0x1600 kernel/workqueue.c:3203 #2: ffff8000926ffd68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 8 locks held by syz-executor/13611: #0: ffff0000d7bb8420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2931 [inline] #0: ffff0000d7bb8420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x354/0xcf4 fs/read_write.c:679 #1: ffff0000d9032c88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c8/0x48c fs/kernfs/file.c:325 #2: ffff0000ca527e18 (kn->active#44){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1e4/0x48c fs/kernfs/file.c:326 #3: ffff80009185ede8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xec/0x39c drivers/net/netdevsim/bus.c:216 #4: ffff0000d9e550e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline] #4: ffff0000d9e550e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1095 [inline] #4: ffff0000d9e550e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xbc/0x698 drivers/base/dd.c:1293 #5: ffff0000d9e56250 (&devlink->lock_key#17){+.+.}-{3:3}, at: devl_lock+0x24/0x34 net/devlink/core.c:276 #6: ffff8000926ffd68 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 #7: ffff80008f9d4cb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #7: ffff80008f9d4cb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x354/0x674 kernel/rcu/tree_exp.h:976 4 locks held by syz-executor/13672: #0: ffff0000d7bb8420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2931 [inline] #0: ffff0000d7bb8420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x354/0xcf4 fs/read_write.c:679 #1: ffff0000d24f8888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c8/0x48c fs/kernfs/file.c:325 #2: ffff0000ca527e18 (kn->active#44){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1e4/0x48c fs/kernfs/file.c:326 #3: ffff80009185ede8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xec/0x39c drivers/net/netdevsim/bus.c:216 3 locks held by syz.2.451/14442: 4 locks held by modprobe/14466: =============================================