INFO: task jfsCommit:93 blocked for more than 144 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:5246 [inline] __schedule+0xdb4/0x1a6c kernel/sched/core.c:6563 schedule+0xc4/0x170 kernel/sched/core.c:6639 io_schedule+0x84/0x154 kernel/sched/core.c:8799 __lock_metapage+0x18c/0x420 fs/jfs/jfs_metapage.c:50 lock_metapage fs/jfs/jfs_metapage.c:64 [inline] __get_metapage+0x908/0xfd0 fs/jfs/jfs_metapage.c:639 diIAGRead+0xe4/0x14c fs/jfs/jfs_imap.c:2672 diFree+0x6f4/0x1e5c fs/jfs/jfs_imap.c:959 jfs_evict_inode+0x2c4/0x3e4 fs/jfs/inode.c:162 evict+0x3d8/0x824 fs/inode.c:705 iput_final fs/inode.c:1834 [inline] iput+0x728/0x7e8 fs/inode.c:1860 txUpdateMap+0x68c/0x7b0 fs/jfs/jfs_txnmgr.c:2368 txLazyCommit fs/jfs/jfs_txnmgr.c:2665 [inline] jfs_lazycommit+0x360/0x930 fs/jfs/jfs_txnmgr.c:2733 kthread+0x254/0x2e0 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 INFO: task jfsCommit:94 blocked for more than 144 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:5246 [inline] __schedule+0xdb4/0x1a6c kernel/sched/core.c:6563 schedule+0xc4/0x170 kernel/sched/core.c:6639 io_schedule+0x84/0x154 kernel/sched/core.c:8799 __lock_metapage+0x18c/0x420 fs/jfs/jfs_metapage.c:50 lock_metapage fs/jfs/jfs_metapage.c:64 [inline] __get_metapage+0x908/0xfd0 fs/jfs/jfs_metapage.c:639 diIAGRead+0xe4/0x14c fs/jfs/jfs_imap.c:2672 diFree+0x6f4/0x1e5c fs/jfs/jfs_imap.c:959 jfs_evict_inode+0x2c4/0x3e4 fs/jfs/inode.c:162 evict+0x3d8/0x824 fs/inode.c:705 iput_final fs/inode.c:1834 [inline] iput+0x728/0x7e8 fs/inode.c:1860 txUpdateMap+0x68c/0x7b0 fs/jfs/jfs_txnmgr.c:2368 txLazyCommit fs/jfs/jfs_txnmgr.c:2665 [inline] jfs_lazycommit+0x360/0x930 fs/jfs/jfs_txnmgr.c:2733 kthread+0x254/0x2e0 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 INFO: task syz-executor:4331 blocked for more than 144 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:4331 ppid:1 flags:0x00000009 Call trace: __switch_to+0x2f4/0x550 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5246 [inline] __schedule+0xdb4/0x1a6c kernel/sched/core.c:6563 schedule+0xc4/0x170 kernel/sched/core.c:6639 jfs_flush_journal+0x590/0xd1c fs/jfs/jfs_logmgr.c:1564 jfs_sync_fs+0x80/0xac fs/jfs/super.c:685 sync_filesystem+0x1a0/0x218 fs/sync.c:66 generic_shutdown_super+0x74/0x32c fs/super.c:474 kill_block_super+0x78/0xe0 fs/super.c:1481 deactivate_locked_super+0xb4/0x128 fs/super.c:332 deactivate_super+0xe4/0x104 fs/super.c:363 cleanup_mnt+0x3a8/0x430 fs/namespace.c:1191 __cleanup_mnt+0x20/0x30 fs/namespace.c:1198 task_work_run+0x1f4/0x280 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x20f8/0x2c84 arch/arm64/kernel/signal.c:1151 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x9c/0x12c arch/arm64/kernel/entry-common.c:638 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+0x69c/0x13bc kernel/workqueue.c:-1 #1: ffff80001dc17c40 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x6e8/0x13bc kernel/workqueue.c:2267 1 lock held by rcu_tasks_kthre/12: #0: ffff8000165f7e70 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x40/0xc48 kernel/rcu/tasks.h:517 1 lock held by rcu_tasks_trace/13: #0: ffff8000165f8690 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x40/0xc48 kernel/rcu/tasks.h:517 1 lock held by khungtaskd/28: #0: ffff8000165f7500 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:349 2 locks held by jfsCommit/93: #0: ffff0000dcb50920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diFree+0x24c/0x1e5c fs/jfs/jfs_imap.c:889 #1: ffff0000e1c1c1f8 (&jfs_ip->rdwrlock/1){++++}-{3:3}, at: diFree+0x264/0x1e5c fs/jfs/jfs_imap.c:894 2 locks held by jfsCommit/94: #0: ffff0000ccb90920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diFree+0x24c/0x1e5c fs/jfs/jfs_imap.c:889 #1: ffff0000fa218138 (&jfs_ip->rdwrlock/1){++++}-{3:3}, at: diFree+0x264/0x1e5c fs/jfs/jfs_imap.c:894 2 locks held by getty/4081: #0: ffff0001ffb56098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff800021bfb2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x2e8/0xfa8 drivers/tty/n_tty.c:2198 2 locks held by syz-executor/4329: #0: ffff0000fce4a0e0 (&type->s_umount_key#63){+.+.}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 #1: ffff8000169e2428 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb4/0x4a0 fs/jfs/jfs_logmgr.c:1444 2 locks held by syz-executor/4330: #0: ffff0000cd8a20e0 (&type->s_umount_key#63){+.+.}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 #1: ffff8000169e2428 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb4/0x4a0 fs/jfs/jfs_logmgr.c:1444 1 lock held by syz-executor/4331: #0: ffff0000de8980e0 (&type->s_umount_key#63){+.+.}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 2 locks held by syz-executor/4337: #0: ffff0000deab60e0 (&type->s_umount_key#63){+.+.}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 #1: ffff8000169e2428 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb4/0x4a0 fs/jfs/jfs_logmgr.c:1444 2 locks held by syz-executor/4339: #0: ffff0000d3bde0e0 (&type->s_umount_key#63){+.+.}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 #1: ffff8000169e2428 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb4/0x4a0 fs/jfs/jfs_logmgr.c:1444 2 locks held by syz-executor/6637: #0: ffff0000cb90a0e0 (&type->s_umount_key#63){+.+.}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 #1: ffff8000169e2428 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb4/0x4a0 fs/jfs/jfs_logmgr.c:1444 2 locks held by syz-executor/6664: #0: ffff0001108360e0 (&type->s_umount_key#63){+.+.}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 #1: ffff8000169e2428 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb4/0x4a0 fs/jfs/jfs_logmgr.c:1444 2 locks held by syz-executor/6699: #0: ffff000100d8a0e0 (&type->s_umount_key#63){+.+.}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 #1: ffff8000169e2428 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb4/0x4a0 fs/jfs/jfs_logmgr.c:1444 1 lock held by syz-executor/6711: #0: ffff0000ff73e0e0 (&type->s_umount_key#63){+.+.}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 2 locks held by syz-executor/6735: #0: ffff0000c32880e0 (&type->s_umount_key#63){+.+.}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 #1: ffff8000169e2428 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb4/0x4a0 fs/jfs/jfs_logmgr.c:1444 2 locks held by syz-executor/6856: #0: ffff00012d49c0e0 (&type->s_umount_key#50){+.+.}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 #1: ffff8000168840a8 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_shutdown_threads+0x60/0x204 fs/nfsd/nfssvc.c:633 3 locks held by syz.0.1021/8606: #0: ffff00012aa96368 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x118/0x17c fs/file.c:1038 #1: ffff00010d772460 (sb_writers#13){.+.+}-{0:0}, at: vfs_write+0x254/0x7c8 fs/read_write.c:580 #2: ffff8000168840a8 (nfsd_mutex){+.+.}-{3:3}, at: nfsd_svc+0x74/0x948 fs/nfsd/nfssvc.c:783 2 locks held by syz.4.1024/8618: #0: ffff0000fa2adc10 (&sb->s_type->i_mutex_key#12){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:764 [inline] #0: ffff0000fa2adc10 (&sb->s_type->i_mutex_key#12){+.+.}-{3:3}, at: __sock_release net/socket.c:653 [inline] #0: ffff0000fa2adc10 (&sb->s_type->i_mutex_key#12){+.+.}-{3:3}, at: sock_close+0x74/0x1ec net/socket.c:1400 #1: ffff00011a791130 (sk_lock-AF_CAN){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1805 [inline] #1: ffff00011a791130 (sk_lock-AF_CAN){+.+.}-{0:0}, at: bcm_release+0x1c4/0x7ac net/can/bcm.c:1885 1 lock held by iou-sqp-8620/8621: =============================================