INFO: task jfsCommit:93 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:93 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 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 INFO: task syz-executor:4334 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:4334 ppid:1 flags:0x0000000c 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 jfs_flush_journal+0x57c/0xd14 fs/jfs/jfs_logmgr.c:1564 jfs_sync_fs+0x80/0xac fs/jfs/super.c:684 sync_filesystem+0x1a0/0x218 fs/sync.c:66 generic_shutdown_super+0x70/0x324 fs/super.c:474 kill_block_super+0x70/0xdc fs/super.c:1470 deactivate_locked_super+0xac/0x120 fs/super.c:332 deactivate_super+0xe4/0x104 fs/super.c:363 cleanup_mnt+0x390/0x418 fs/namespace.c:1191 __cleanup_mnt+0x20/0x30 fs/namespace.c:1198 task_work_run+0x1ec/0x278 kernel/task_work.c:203 exit_task_work include/linux/task_work.h:39 [inline] do_exit+0x550/0x19b0 kernel/exit.c:881 do_group_exit+0x194/0x22c kernel/exit.c:1024 __do_sys_exit_group kernel/exit.c:1035 [inline] __se_sys_exit_group kernel/exit.c:1033 [inline] __wake_up_parent+0x0/0x60 kernel/exit.c:1033 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x290 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x130 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x128 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 Showing all locks held in the system: 2 locks held by kworker/u4:1/11: #0: ffff0000c0029138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff80001ca17c20 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 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 3 locks held by kworker/u4:2/39: #0: ffff0000c0029138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff80001cf17c20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 #2: ffff8000178b6008 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 2 locks held by jfsCommit/93: #0: ffff0000d12d8920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diFree+0x244/0x1e00 fs/jfs/jfs_imap.c:889 #1: ffff0000e2002638 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diFree+0x258/0x1e00 fs/jfs/jfs_imap.c:894 2 locks held by jfsCommit/94: #0: ffff0000dbbb8920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diFree+0x244/0x1e00 fs/jfs/jfs_imap.c:889 #1: ffff0000e23ca638 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diFree+0x258/0x1e00 fs/jfs/jfs_imap.c:894 3 locks held by kworker/u4:4/287: #0: ffff0000c2c2c138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff800021077c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 #2: ffff0000dc4dc0e0 (&type->s_umount_key#67){++++}-{3:3}, at: trylock_super+0x24/0xf4 fs/super.c:415 1 lock held by dhcpcd/3993: #0: ffff8000178b6008 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff8000178b6008 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x650/0xcdc net/core/rtnetlink.c:6155 2 locks held by getty/4081: #0: ffff0000d6c1b098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80002082e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x2ec/0xfa0 drivers/tty/n_tty.c:2198 1 lock held by syz-executor/4334: #0: ffff0000d22e60e0 (&type->s_umount_key#67){++++}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 2 locks held by syz-executor/4336: #0: ffff0000cb18a0e0 (&type->s_umount_key#67){++++}-{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:13/4531: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff8000207f7c20 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 #2: ffff8000178b6008 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 2 locks held by syz-executor/4625: #0: ffff0001005c40e0 (&type->s_umount_key#67){++++}-{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 4 locks held by kworker/u4:7/4801: #0: ffff0000c0845138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x6b8/0x13a4 kernel/workqueue.c:2265 #1: ffff800020d07c20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6fc/0x13a4 kernel/workqueue.c:2267 #2: ffff8000178a9790 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x134/0xa84 net/core/net_namespace.c:594 #3: ffff8000178b6008 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 2 locks held by syz-executor/4913: #0: ffff0000cef5a0e0 (&type->s_umount_key#67){++++}-{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 syz.9.127/5547: #0: ffff0000dc4dc460 (sb_writers#13){.+.+}-{0:0}, at: vfs_write+0x244/0x7f0 fs/read_write.c:580 #1: ffff00010215d8c0 (&sb->s_type->i_mutex_key#23){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #1: ffff00010215d8c0 (&sb->s_type->i_mutex_key#23){+.+.}-{3:3}, at: generic_file_write_iter+0x84/0x2b0 mm/filemap.c:3986 #2: ffff00010215d478 (&jfs_ip->rdwrlock#2){+.+.}-{3:3}, at: jfs_truncate fs/jfs/inode.c:422 [inline] #2: ffff00010215d478 (&jfs_ip->rdwrlock#2){+.+.}-{3:3}, at: jfs_write_failed+0x104/0x198 fs/jfs/inode.c:300 4 locks held by syz.3.135/5576: #0: ffff0000d9902868 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x114/0x16c fs/file.c:1038 #1: ffff0000d0d5c460 (sb_writers#13){.+.+}-{0:0}, at: vfs_write+0x244/0x7f0 fs/read_write.c:580 #2: ffff000102302a80 (&sb->s_type->i_mutex_key#23){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #2: ffff000102302a80 (&sb->s_type->i_mutex_key#23){+.+.}-{3:3}, at: jfs_fsync+0x9c/0x1bc fs/jfs/file.c:28 #3: ffff0001023026c8 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_commit_inode+0x19c/0x498 fs/jfs/inode.c:108 1 lock held by syz.1.268/6630: #0: ffff0000d22e60e0 (&type->s_umount_key#67){++++}-{3:3}, at: user_get_super+0x118/0x234 fs/super.c:889 3 locks held by kworker/u4:15/7472: 1 lock held by syz.7.396/7927: #0: ffff0000cef5a0e0 (&type->s_umount_key#67){++++}-{3:3}, at: user_get_super+0xd4/0x234 fs/super.c:887 1 lock held by syz-executor/8469: #0: ffff8000178b6008 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 1 lock held by syz.4.474/9152: #0: ffff0000cb18a0e0 (&type->s_umount_key#67){++++}-{3:3}, at: user_get_super+0xd4/0x234 fs/super.c:887 1 lock held by syz.6.495/9453: #0: ffff8000178b6008 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 1 lock held by syz-executor/9460: #0: ffff8000178b6008 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff8000178b6008 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x650/0xcdc net/core/rtnetlink.c:6155 3 locks held by syz.5.508/9499: 1 lock held by syz.5.508/9497: =============================================