INFO: task jfsCommit:98 blocked for more than 143 seconds. Tainted: G W 6.12.0-rc3-syzkaller-g9ec59cb3edc7 #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:701 (T) 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:862 INFO: task syz-executor:6430 blocked for more than 143 seconds. Tainted: G W 6.12.0-rc3-syzkaller-g9ec59cb3edc7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:0 pid:6430 tgid:6430 ppid:1 flags:0x0000000c Call trace: __switch_to+0x428/0x860 arch/arm64/kernel/process.c:701 (T) 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 jfs_flush_journal+0x5d8/0xd64 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/0x2bc fs/super.c:621 kill_block_super+0x44/0x90 fs/super.c:1696 deactivate_locked_super+0xc4/0x12c fs/super.c:473 deactivate_super+0xe0/0x100 fs/super.c:506 cleanup_mnt+0x34c/0x3dc fs/namespace.c:1373 __cleanup_mnt+0x20/0x30 fs/namespace.c:1380 task_work_run+0x230/0x2e0 kernel/task_work.c:228 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0x4ec/0x1ad0 kernel/exit.c:939 do_group_exit+0x194/0x22c kernel/exit.c:1088 __do_sys_exit_group kernel/exit.c:1099 [inline] __se_sys_exit_group kernel/exit.c:1097 [inline] pid_child_should_wake+0x0/0x1dc kernel/exit.c:1097 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 Showing all locks held in the system: 2 locks held by kworker/0:1/10: 1 lock held by khungtaskd/31: #0: ffff80008f9d0520 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:336 2 locks held by jfsCommit/98: #0: ffff0000ebce8920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diFree+0x2cc/0x2648 fs/jfs/jfs_imap.c:889 #1: ffff0000eeed2618 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diFree+0x2e0/0x2648 fs/jfs/jfs_imap.c:894 2 locks held by kworker/u8:5/257: #0: ffff0000c0031148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x628/0x1600 kernel/workqueue.c:3203 #1: ffff80009bb77c20 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x6bc/0x1600 kernel/workqueue.c:3203 6 locks held by kworker/0:2/2252: 2 locks held by getty/6174: #0: ffff0000d2c050a0 (&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 1 lock held by syz-executor/6418: #0: ffff80008f9d5a78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #0: ffff80008f9d5a78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x354/0x674 kernel/rcu/tree_exp.h:976 3 locks held by kworker/u9:3/6422: #0: ffff0000c2f2e948 ((wq_completion)hci6){+.+.}-{0:0}, at: process_one_work+0x628/0x1600 kernel/workqueue.c:3203 #1: ffff8000a3907c20 ((work_completion)(&hdev->power_on)){+.+.}-{0:0}, at: process_one_work+0x6bc/0x1600 kernel/workqueue.c:3203 #2: ffff0000e3df4d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_open net/bluetooth/hci_core.c:410 [inline] #2: ffff0000e3df4d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_power_on+0x148/0x640 net/bluetooth/hci_core.c:941 1 lock held by syz-executor/6430: #0: ffff0000e6a960e0 (&type->s_umount_key#69){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff0000e6a960e0 (&type->s_umount_key#69){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff0000e6a960e0 (&type->s_umount_key#69){++++}-{3:3}, at: deactivate_super+0xd8/0x100 fs/super.c:505 1 lock held by syz-executor/7478: #0: ffff80008f9d5a78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #0: ffff80008f9d5a78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x324/0x674 kernel/rcu/tree_exp.h:976 1 lock held by syz.2.521/8997: #0: ffff0000e6a960e0 (&type->s_umount_key#69){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff0000e6a960e0 (&type->s_umount_key#69){++++}-{3:3}, at: super_lock+0x244/0x33c fs/super.c:120 3 locks held by syz.2.653/9472: #0: ffff0000fd030d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:481 [inline] #0: ffff0000fd030d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x1f0/0x4b8 net/bluetooth/hci_core.c:2698 #1: ffff0000fd030078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x430/0x1074 net/bluetooth/hci_sync.c:5183 #2: ffff800092863388 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1972 [inline] #2: ffff800092863388 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xac/0x220 net/bluetooth/hci_conn.c:2592 1 lock held by syz.4.679/9561: #0: ffff0000db1bca08 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:815 [inline] #0: ffff0000db1bca08 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release net/socket.c:657 [inline] #0: ffff0000db1bca08 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: sock_close+0x80/0x1e8 net/socket.c:1426 4 locks held by syz-executor/9566: =============================================