INFO: task jfsCommit:93 blocked for more than 143 seconds. Not tainted 6.1.146-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/0x568 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5244 [inline] __schedule+0xdd4/0x1b2c kernel/sched/core.c:6561 schedule+0xc4/0x170 kernel/sched/core.c:6637 io_schedule+0x84/0x154 kernel/sched/core.c:8797 __lock_metapage+0x180/0x418 fs/jfs/jfs_metapage.c:50 lock_metapage fs/jfs/jfs_metapage.c:64 [inline] __get_metapage+0x900/0xfcc fs/jfs/jfs_metapage.c:639 diIAGRead+0xe4/0x14c fs/jfs/jfs_imap.c:2672 diFree+0x6a8/0x1de8 fs/jfs/jfs_imap.c:959 jfs_evict_inode+0x2c4/0x3e8 fs/jfs/inode.c:156 evict+0x3c8/0x810 fs/inode.c:705 iput_final fs/inode.c:1834 [inline] iput+0x764/0x7f4 fs/inode.c:1860 txUpdateMap+0x67c/0x79c fs/jfs/jfs_txnmgr.c:2367 txLazyCommit fs/jfs/jfs_txnmgr.c:2664 [inline] jfs_lazycommit+0x378/0x918 fs/jfs/jfs_txnmgr.c:2732 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:849 INFO: task jfsCommit:94 blocked for more than 143 seconds. Not tainted 6.1.146-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/0x568 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5244 [inline] __schedule+0xdd4/0x1b2c kernel/sched/core.c:6561 schedule+0xc4/0x170 kernel/sched/core.c:6637 io_schedule+0x84/0x154 kernel/sched/core.c:8797 __lock_metapage+0x180/0x418 fs/jfs/jfs_metapage.c:50 lock_metapage fs/jfs/jfs_metapage.c:64 [inline] __get_metapage+0x900/0xfcc fs/jfs/jfs_metapage.c:639 diIAGRead+0xe4/0x14c fs/jfs/jfs_imap.c:2672 diFree+0x6a8/0x1de8 fs/jfs/jfs_imap.c:959 jfs_evict_inode+0x2c4/0x3e8 fs/jfs/inode.c:156 evict+0x3c8/0x810 fs/inode.c:705 iput_final fs/inode.c:1834 [inline] iput+0x764/0x7f4 fs/inode.c:1860 txUpdateMap+0x67c/0x79c fs/jfs/jfs_txnmgr.c:2367 txLazyCommit fs/jfs/jfs_txnmgr.c:2664 [inline] jfs_lazycommit+0x378/0x918 fs/jfs/jfs_txnmgr.c:2732 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:849 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffff800015287770 (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: ffff800015287f90 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x40/0xbb4 kernel/rcu/tasks.h:517 3 locks held by kworker/1:0/22: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff80001c937c20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff0000d23ea240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x1c8/0x263c drivers/net/netdevsim/fib.c:1491 1 lock held by khungtaskd/28: #0: ffff800015286e00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:349 2 locks held by jfsCommit/93: #0: ffff0000c35d0920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diFree+0x21c/0x1de8 fs/jfs/jfs_imap.c:889 #1: ffff0000f5057038 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diFree+0x230/0x1de8 fs/jfs/jfs_imap.c:894 2 locks held by jfsCommit/94: #0: ffff0000ce148920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diFree+0x21c/0x1de8 fs/jfs/jfs_imap.c:889 #1: ffff0000f5052638 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diFree+0x230/0x1de8 fs/jfs/jfs_imap.c:894 4 locks held by kworker/u4:5/1634: #0: ffff0000c0845138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff800025277c20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff800017712b50 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x12c/0xa74 net/core/net_namespace.c:594 #3: ffff0000d985d3e8 (&wg->device_update_lock){+.+.}-{3:3}, at: wg_destruct+0x114/0x2d4 drivers/net/wireguard/device.c:249 2 locks held by getty/4075: #0: ffff0000d6a1c098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80001ce962f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x2ec/0xf9c drivers/tty/n_tty.c:2198 2 locks held by syz-executor/4307: #0: ffff0000d56840e0 (&type->s_umount_key#57){++++}-{3:3}, at: deactivate_super+0xe0/0x108 fs/super.c:362 #1: ffff80001566f428 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb0/0x4c8 fs/jfs/jfs_logmgr.c:1444 2 locks held by syz.1.9/4438: #0: ffff0000d9ec20e0 (&type->s_umount_key#57){++++}-{3:3}, at: deactivate_super+0xe0/0x108 fs/super.c:362 #1: ffff80001566f428 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb0/0x4c8 fs/jfs/jfs_logmgr.c:1444 2 locks held by syz.4.25/4541: #0: ffff0000d16940e0 (&type->s_umount_key#57){++++}-{3:3}, at: deactivate_super+0xe0/0x108 fs/super.c:362 #1: ffff80001566f428 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb0/0x4c8 fs/jfs/jfs_logmgr.c:1444 2 locks held by syz.0.61/5061: #0: ffff0000d46f20e0 (&type->s_umount_key#57){++++}-{3:3}, at: deactivate_super+0xe0/0x108 fs/super.c:362 #1: ffff80001566f428 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb0/0x4c8 fs/jfs/jfs_logmgr.c:1444 1 lock held by syz.7.58/5063: #0: ffff0000f1a4e0e0 (&type->s_umount_key#57){++++}-{3:3}, at: deactivate_super+0xe0/0x108 fs/super.c:362 1 lock held by syz.6.78/5207: #0: ffff0000cbc0c0e0 (&type->s_umount_key#57){++++}-{3:3}, at: deactivate_super+0xe0/0x108 fs/super.c:362 1 lock held by syz-executor/5230: #0: ffff0000d183e0e0 (&type->s_umount_key#57){++++}-{3:3}, at: deactivate_super+0xe0/0x108 fs/super.c:362 2 locks held by syz.5.94/5384: #0: ffff0000d53ec0e0 (&type->s_umount_key#57){++++}-{3:3}, at: deactivate_super+0xe0/0x108 fs/super.c:362 #1: ffff80001566f428 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb0/0x4c8 fs/jfs/jfs_logmgr.c:1444 1 lock held by syz-executor/5619: #0: ffff0000cbcb20e0 (&type->s_umount_key#57){++++}-{3:3}, at: deactivate_super+0xe0/0x108 fs/super.c:362 1 lock held by syz.3.627/8010: #0: ffff0000d56840e0 (&type->s_umount_key#57){++++}-{3:3}, at: user_get_super+0x118/0x234 fs/super.c:889 1 lock held by syz.7.663/8157: #0: ffff0000f1a4e0e0 (&type->s_umount_key#57){++++}-{3:3}, at: user_get_super+0x118/0x234 fs/super.c:889 5 locks held by syz-executor/8567: 5 locks held by syz-executor/8655: #0: ffff0000d8e34460 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x23c/0x7c4 fs/read_write.c:580 #1: ffff000105cf3088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c0/0x478 fs/kernfs/file.c:325 #2: ffff0000cf81f1d8 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1dc/0x478 fs/kernfs/file.c:326 #3: ffff800016ac6dc8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xd4/0x31c drivers/net/netdevsim/bus.c:209 #4: ffff0000dc9970e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #4: ffff0000dc9970e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1080 [inline] #4: ffff0000dc9970e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0x9c/0x6d0 drivers/base/dd.c:1283 2 locks held by kworker/u4:17/8796: 2 locks held by cmp/8883: 1 lock held by modprobe/8884: =============================================