INFO: task kworker/0:0:7 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:0 state:D stack:0 pid:7 ppid:2 flags:0x00000008 Workqueue: gfs_recovery gfs2_recover_func Call trace: __switch_to+0x2f4/0x550 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5257 [inline] __schedule+0xdb4/0x1aa4 kernel/sched/core.c:6584 schedule+0xc4/0x170 kernel/sched/core.c:6660 io_schedule+0x84/0x154 kernel/sched/core.c:8848 folio_wait_bit_common+0x5b0/0xa84 mm/filemap.c:1324 folio_wait_bit+0x30/0x40 mm/filemap.c:1468 folio_wait_locked include/linux/pagemap.h:1087 [inline] gfs2_jhead_process_page+0x148/0x5b4 fs/gfs2/lops.c:476 gfs2_find_jhead+0xa48/0xb78 fs/gfs2/lops.c:594 gfs2_recover_func+0x548/0x1740 fs/gfs2/recovery.c:460 process_one_work+0x7e4/0x13bc kernel/workqueue.c:2292 worker_thread+0x8cc/0xfe8 kernel/workqueue.c:2439 kthread+0x254/0x2e0 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:854 INFO: task syz.6.68:4937 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.6.68 state:D stack:0 pid:4937 ppid:4647 flags:0x00000009 Call trace: __switch_to+0x2f4/0x550 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5257 [inline] __schedule+0xdb4/0x1aa4 kernel/sched/core.c:6584 schedule+0xc4/0x170 kernel/sched/core.c:6660 bit_wait+0x1c/0xe8 kernel/sched/wait_bit.c:199 __wait_on_bit kernel/sched/wait_bit.c:49 [inline] out_of_line_wait_on_bit+0x168/0x208 kernel/sched/wait_bit.c:64 wait_on_bit include/linux/wait_bit.h:76 [inline] gfs2_recover_journal+0xd8/0x14c fs/gfs2/recovery.c:577 init_journal+0x135c/0x1e8c fs/gfs2/ops_fstype.c:836 init_inodes+0xe0/0x2e0 fs/gfs2/ops_fstype.c:890 gfs2_fill_super+0x1238/0x1a28 fs/gfs2/ops_fstype.c:1247 get_tree_bdev+0x35c/0x54c fs/super.c:1377 gfs2_get_tree+0x58/0x1b8 fs/gfs2/ops_fstype.c:1328 vfs_get_tree+0x90/0x278 fs/super.c:1584 do_new_mount+0x228/0x818 fs/namespace.c:3104 path_mount+0x5ac/0xe6c fs/namespace.c:3462 do_mount fs/namespace.c:3475 [inline] __do_sys_mount fs/namespace.c:3683 [inline] __se_sys_mount fs/namespace.c:3660 [inline] __arm64_sys_mount+0x4a0/0x5a0 fs/namespace.c:3660 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x290 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x13c/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x5c/0x134 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x12c 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:589 Showing all locks held in the system: 2 locks held by kworker/0:0/7: #0: ffff0000c78a3538 ((wq_completion)gfs_recovery){+.+.}-{0:0}, at: process_one_work+0x69c/0x13bc kernel/workqueue.c:-1 #1: ffff80001db97c40 ((work_completion)(&jd->jd_work)){+.+.}-{0:0}, at: process_one_work+0x6e8/0x13bc kernel/workqueue.c:2267 1 lock held by rcu_tasks_kthre/12: #0: ffff8000165b7ed0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x40/0xc64 kernel/rcu/tasks.h:543 1 lock held by rcu_tasks_trace/13: #0: ffff8000165b8710 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x40/0xc64 kernel/rcu/tasks.h:543 3 locks held by kworker/1:1/24: #0: ffff0000d7051138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x69c/0x13bc kernel/workqueue.c:-1 #1: ffff80001dcb7c40 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6e8/0x13bc kernel/workqueue.c:2267 #2: ffff800018a58cc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 1 lock held by khungtaskd/28: #0: ffff8000165b7580 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:349 1 lock held by dhcpcd/3995: #0: ffff800018a58cc8 (rtnl_mutex){+.+.}-{3:3}, at: __netlink_dump_start+0x104/0x694 net/netlink/af_netlink.c:2310 2 locks held by getty/4087: #0: ffff0000d7397098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80001fa662f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x2e8/0xffc drivers/tty/n_tty.c:2198 3 locks held by kworker/0:9/4498: #0: ffff0000d7051138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x69c/0x13bc kernel/workqueue.c:-1 #1: ffff800021fa7c40 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6e8/0x13bc kernel/workqueue.c:2267 #2: ffff800018a58cc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 3 locks held by kworker/0:10/4499: #0: ffff0000c0020938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x69c/0x13bc kernel/workqueue.c:-1 #1: ffff800021f87c40 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x6e8/0x13bc kernel/workqueue.c:2267 #2: ffff800018a58cc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 2 locks held by syz-executor/4645: #0: ffff0000d4e900e0 (&type->s_umount_key#62){++++}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 #1: ffff800016995a48 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb4/0x4a0 fs/jfs/jfs_logmgr.c:1444 4 locks held by kworker/u4:6/4680: #0: ffff0000c0845138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x69c/0x13bc kernel/workqueue.c:-1 #1: ffff800022107c40 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6e8/0x13bc kernel/workqueue.c:2267 #2: ffff800018a4c3d0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x144/0xa90 net/core/net_namespace.c:594 #3: ffff800018a58cc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 2 locks held by syz-executor/4692: #0: ffff0000f494a0e0 (&type->s_umount_key#62){++++}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 #1: ffff800016995a48 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb4/0x4a0 fs/jfs/jfs_logmgr.c:1444 1 lock held by syz.6.68/4937: #0: ffff0000dcd8a0e0 (&type->s_umount_key#64/1){+.+.}-{3:3}, at: alloc_super+0x1a0/0x840 fs/super.c:228 2 locks held by syz-executor/5357: #0: ffff0000ddfd80e0 (&type->s_umount_key#62){++++}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 #1: ffff800016995a48 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb4/0x4a0 fs/jfs/jfs_logmgr.c:1444 2 locks held by syz-executor/5361: #0: ffff0000d96120e0 (&type->s_umount_key#62){++++}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 #1: ffff800016995a48 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb4/0x4a0 fs/jfs/jfs_logmgr.c:1444 2 locks held by syz-executor/5368: #0: ffff0000d31220e0 (&type->s_umount_key#62){++++}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 #1: ffff800016995a48 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb4/0x4a0 fs/jfs/jfs_logmgr.c:1444 1 lock held by syz.0.144/6380: #0: ffff0000dcd8a0e0 (&type->s_umount_key#100){.+.+}-{3:3}, at: iterate_supers+0xa8/0x1d4 fs/super.c:755 2 locks held by syz-executor/7018: #0: ffff0000cb8d80e0 (&type->s_umount_key#62){++++}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 #1: ffff800016995a48 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb4/0x4a0 fs/jfs/jfs_logmgr.c:1444 2 locks held by syz-executor/7105: #0: ffff0000caecc0e0 (&type->s_umount_key#62){++++}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 #1: ffff800016995a48 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb4/0x4a0 fs/jfs/jfs_logmgr.c:1444 2 locks held by kworker/u4:14/7574: 3 locks held by kworker/u4:15/7603: #0: ffff0000c0029138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x69c/0x13bc kernel/workqueue.c:-1 #1: ffff8000233b7c40 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x6e8/0x13bc kernel/workqueue.c:2267 #2: ffff800018a58cc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 2 locks held by syz-executor/8317: #0: ffff0000dbcca0e0 (&type->s_umount_key#62){++++}-{3:3}, at: deactivate_super+0xdc/0x104 fs/super.c:362 #1: ffff800016995a48 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb4/0x4a0 fs/jfs/jfs_logmgr.c:1444 7 locks held by syz-executor/9348: #0: ffff0000d94c8460 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x254/0x7c8 fs/read_write.c:580 #1: ffff0000de855888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1b8/0x4b4 fs/kernfs/file.c:343 #2: ffff0000d02813a8 (kn->active#50){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline] #2: ffff0000d02813a8 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1f8/0x4b4 fs/kernfs/file.c:344 #3: ffff800017e072c8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xdc/0x330 drivers/net/netdevsim/bus.c:209 #4: ffff0000f7ac60e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:885 [inline] #4: ffff0000f7ac60e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1099 [inline] #4: ffff0000f7ac60e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0x9c/0x6e4 drivers/base/dd.c:1302 #5: ffff0000cc4842f8 (&devlink->lock_key#14){+.+.}-{3:3}, at: devl_lock+0x24/0x34 net/devlink/leftover.c:275 #6: ffff800018a58cc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 2 locks held by syz.7.582/9657: #0: ffff0000de700810 (&sb->s_type->i_mutex_key#12){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:764 [inline] #0: ffff0000de700810 (&sb->s_type->i_mutex_key#12){+.+.}-{3:3}, at: __sock_release net/socket.c:653 [inline] #0: ffff0000de700810 (&sb->s_type->i_mutex_key#12){+.+.}-{3:3}, at: sock_close+0x74/0x1ec net/socket.c:1400 #1: ffff800018a58cc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 1 lock held by syz.7.582/9658: #0: ffff800018a58cc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 1 lock held by syz.4.584/9673: #0: ffff800018a58cc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 1 lock held by syz.4.584/9682: #0: ffff800018a58cc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 2 locks held by syz.4.584/9685: #0: ffff800018a3f628 (vlan_ioctl_mutex){+.+.}-{3:3}, at: sock_ioctl+0x558/0x828 net/socket.c:1283 #1: ffff800018a58cc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 1 lock held by syz.6.590/9704: #0: ffff800018a58cc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffff800018a58cc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x64c/0xcc4 net/core/rtnetlink.c:6163 2 locks held by syz.9.591/9706: #0: ffff800018ab5970 (cb_lock){++++}-{3:3}, at: genl_rcv+0x28/0x50 net/netlink/genetlink.c:860 #1: ffff800018a58cc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 2 locks held by syz.9.591/9707: #0: ffff800018ab5970 (cb_lock){++++}-{3:3}, at: genl_rcv+0x28/0x50 net/netlink/genetlink.c:860 #1: ffff800018a58cc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:74 =============================================