INFO: task jfsCommit:94 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:94 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: 3 locks held by kworker/u4:0/9: #0: ffff0000c0029138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff80001c9c7c20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 #2: ffff800017890988 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 1 lock held by rcu_tasks_kthre/12: #0: ffff8000153f7c30 (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: ffff8000153f8450 (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: ffff8000153f72c0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:349 2 locks held by jfsCommit/93: #0: ffff000106220920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diFree+0x244/0x1e00 fs/jfs/jfs_imap.c:889 #1: ffff0000e2beaf78 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diFree+0x258/0x1e00 fs/jfs/jfs_imap.c:894 2 locks held by jfsCommit/94: #0: ffff0000ca888920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diFree+0x244/0x1e00 fs/jfs/jfs_imap.c:889 #1: ffff0000f5a8a638 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diFree+0x258/0x1e00 fs/jfs/jfs_imap.c:894 3 locks held by kworker/1:2/113: #0: ffff0000c4d27138 ((wq_completion)infiniband){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff800020597c20 ((work_completion)(&work->work)#2){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 #2: ffff800017890988 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 4 locks held by udevd/3936: #0: ffff000105780790 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xa8/0xc00 fs/seq_file.c:182 #1: ffff0000f4a10888 (&of->mutex){+.+.}-{3:3}, at: kernfs_seq_start+0x58/0x3c0 fs/kernfs/file.c:172 #2: ffff0000ed37a660 (kn->active#4){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline] #2: ffff0000ed37a660 (kn->active#4){.+.+}-{0:0}, at: kernfs_seq_start+0xa4/0x3c0 fs/kernfs/file.c:173 #3: ffff0000cc8cd0e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:840 [inline] #3: ffff0000cc8cd0e8 (&dev->mutex){....}-{3:3}, at: uevent_show+0x16c/0x32c drivers/base/core.c:2669 1 lock held by dhcpcd/3991: #0: ffff800017890988 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff800017890988 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x650/0xcdc net/core/rtnetlink.c:6154 2 locks held by getty/4079: #0: ffff0000d6d8f098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff800020a2b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x2ec/0xfa0 drivers/tty/n_tty.c:2198 2 locks held by kworker/0:6/4373: #0: ffff0000c0021938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff800021287c20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 3 locks held by kworker/1:10/4609: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff800021bd7c20 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 #2: ffff800017890988 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 2 locks held by syz-executor/4637: #0: ffff0001062000e0 (&type->s_umount_key#65){+.+.}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 #1: ffff8000157df1e8 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb0/0x4c8 fs/jfs/jfs_logmgr.c:1444 3 locks held by kworker/u4:13/4660: 5 locks held by kworker/u4:14/4662: #0: ffff0000c0845138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff800021837c20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 #2: ffff8000178840d0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x134/0xa84 net/core/net_namespace.c:594 #3: ffff800017890988 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 #4: ffff8000153fcf78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #4: ffff8000153fcf78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3fc/0x77c kernel/rcu/tree_exp.h:962 1 lock held by syz-executor/6150: #0: ffff00010068a0e0 (&type->s_umount_key#65){+.+.}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 1 lock held by syz-executor/6289: #0: ffff00010c2840e0 (&type->s_umount_key#65){+.+.}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 1 lock held by syz-executor/6584: #0: ffff000109a040e0 (&type->s_umount_key#65){+.+.}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 2 locks held by syz-executor/7103: #0: ffff000102ae60e0 (&type->s_umount_key#65){+.+.}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 #1: ffff8000157df1e8 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb0/0x4c8 fs/jfs/jfs_logmgr.c:1444 7 locks held by syz-executor/7374: #0: ffff0000d916e460 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x244/0x7f0 fs/read_write.c:580 #1: ffff0000f24bcc88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c0/0x4c0 fs/kernfs/file.c:343 #2: ffff0000d1a502c0 (kn->active#51){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline] #2: ffff0000d1a502c0 (kn->active#51){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x200/0x4c0 fs/kernfs/file.c:344 #3: ffff800016c3a908 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: new_device_store+0x138/0x514 drivers/net/netdevsim/bus.c:160 #4: ffff0000cc8cd0e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:840 [inline] #4: ffff0000cc8cd0e8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8c/0x3dc drivers/base/dd.c:990 #5: ffff0000cc8c82f8 (&devlink->lock_key#18){+.+.}-{3:3}, at: devl_lock+0x24/0x34 net/devlink/leftover.c:275 #6: ffff800017890988 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 4 locks held by syz-executor/7536: #0: ffff0000d916e460 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x244/0x7f0 fs/read_write.c:580 #1: ffff0000f55bfc88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c0/0x4c0 fs/kernfs/file.c:343 #2: ffff0000d1a503a8 (kn->active#50){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline] #2: ffff0000d1a503a8 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x200/0x4c0 fs/kernfs/file.c:344 #3: ffff800016c3a908 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xdc/0x32c drivers/net/netdevsim/bus.c:209 2 locks held by syz.1.479/7872: #0: ffff000113c8a610 (&sb->s_type->i_mutex_key#12){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff000113c8a610 (&sb->s_type->i_mutex_key#12){+.+.}-{3:3}, at: __sock_release net/socket.c:653 [inline] #0: ffff000113c8a610 (&sb->s_type->i_mutex_key#12){+.+.}-{3:3}, at: sock_close+0x7c/0x1f8 net/socket.c:1399 #1: ffff800017890988 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 4 locks held by syz.5.480/7875: #0: ffff8000178ecc50 (cb_lock){++++}-{3:3}, at: genl_rcv+0x28/0x50 net/netlink/genetlink.c:860 #1: ffff0000f3dfa698 (nlk_cb_mutex-GENERIC){+.+.}-{3:3}, at: __netlink_dump_start+0x104/0x698 net/netlink/af_netlink.c:2305 #2: ffff8000178eca68 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline] #2: ffff8000178eca68 (genl_mutex){+.+.}-{3:3}, at: genl_lock_dumpit+0x54/0xa4 net/netlink/genetlink.c:639 #3: ffff800017890988 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 2 locks held by syz.5.480/7876: #0: ffff8000178ecc50 (cb_lock){++++}-{3:3}, at: genl_rcv+0x28/0x50 net/netlink/genetlink.c:860 #1: ffff8000178eca68 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline] #1: ffff8000178eca68 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0xec/0x640 net/netlink/genetlink.c:848 =============================================