INFO: task kworker/0:2:977 blocked for more than 143 seconds. Not tainted 6.16.0-rc3-next-20250623-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:2 state:D stack:23128 pid:977 tgid:977 ppid:2 task_flags:0x4208060 flags:0x00004000 Workqueue: gfs2_recovery gfs2_recover_func Call Trace: context_switch kernel/sched/core.c:5313 [inline] __schedule+0x16f5/0x4d00 kernel/sched/core.c:6696 __schedule_loop kernel/sched/core.c:6774 [inline] schedule+0x165/0x360 kernel/sched/core.c:6789 io_schedule+0x80/0xd0 kernel/sched/core.c:7634 folio_wait_bit_common+0x6b0/0xb90 mm/filemap.c:1317 folio_wait_locked include/linux/pagemap.h:1189 [inline] gfs2_jhead_process_page+0x16e/0x650 fs/gfs2/lops.c:472 gfs2_find_jhead+0xc9e/0xe10 fs/gfs2/lops.c:587 gfs2_recover_func+0x643/0x1dc0 fs/gfs2/recovery.c:457 process_one_work kernel/workqueue.c:3239 [inline] process_scheduled_works+0xade/0x17b0 kernel/workqueue.c:3322 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3403 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 INFO: task syz.4.264:7038 blocked for more than 144 seconds. Not tainted 6.16.0-rc3-next-20250623-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.264 state:D stack:25128 pid:7038 tgid:7037 ppid:5835 task_flags:0x400140 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5313 [inline] __schedule+0x16f5/0x4d00 kernel/sched/core.c:6696 __schedule_loop kernel/sched/core.c:6774 [inline] schedule+0x165/0x360 kernel/sched/core.c:6789 bit_wait+0x11/0xd0 kernel/sched/wait_bit.c:240 __wait_on_bit+0xb9/0x310 kernel/sched/wait_bit.c:52 out_of_line_wait_on_bit+0x123/0x170 kernel/sched/wait_bit.c:67 wait_on_bit include/linux/wait_bit.h:77 [inline] gfs2_recover_journal+0xda/0x140 fs/gfs2/recovery.c:577 init_journal+0x17cc/0x2260 fs/gfs2/ops_fstype.c:798 init_inodes+0xdb/0x320 fs/gfs2/ops_fstype.c:851 gfs2_fill_super+0x1923/0x20d0 fs/gfs2/ops_fstype.c:1253 get_tree_bdev_flags+0x40e/0x4d0 fs/super.c:1681 gfs2_get_tree+0x51/0x1e0 fs/gfs2/ops_fstype.c:1335 vfs_get_tree+0x92/0x2b0 fs/super.c:1804 do_new_mount+0x24a/0xa40 fs/namespace.c:3902 do_mount fs/namespace.c:4239 [inline] __do_sys_mount fs/namespace.c:4450 [inline] __se_sys_mount+0x317/0x410 fs/namespace.c:4427 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0035f900ca RSP: 002b:00007f0033df5e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f0033df5ef0 RCX: 00007f0035f900ca RDX: 0000200000000000 RSI: 00002000000008c0 RDI: 00007f0033df5eb0 RBP: 0000200000000000 R08: 00007f0033df5ef0 R09: 0000000001010084 R10: 0000000001010084 R11: 0000000000000246 R12: 00002000000008c0 R13: 00007f0033df5eb0 R14: 0000000000037fca R15: 0000200000000280 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffffffff8e13dea0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8e13dea0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8e13dea0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6770 2 locks held by kworker/u8:4/76: 2 locks held by kworker/0:2/977: #0: ffff88801c3fad48 ((wq_completion)gfs2_recovery){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #0: ffff88801c3fad48 ((wq_completion)gfs2_recovery){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3322 #1: ffffc90003dd7bc0 ((work_completion)(&jd->jd_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3215 [inline] #1: ffffc90003dd7bc0 ((work_completion)(&jd->jd_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3322 2 locks held by getty/5594: #0: ffff88814c9490a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000331b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222 1 lock held by syz.4.264/7038: #0: ffff88807e3380e0 (&type->s_umount_key#72/1){+.+.}-{4:4}, at: alloc_super+0x204/0x970 fs/super.c:345 1 lock held by syz.0.734/8810: 2 locks held by syz.8.739/8827: 1 lock held by syz.8.739/8841: #0: ffffffff8e1439b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:311 [inline] #0: ffffffff8e1439b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2f6/0x730 kernel/rcu/tree_exp.h:967 3 locks held by syz.8.739/8842: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.16.0-rc3-next-20250623-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 nmi_cpu_backtrace+0x39e/0x3d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:158 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:307 [inline] watchdog+0xfee/0x1030 kernel/hung_task.c:470 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 8826 Comm: syz.8.739 Not tainted 6.16.0-rc3-next-20250623-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0033:0x7fb867a6e95b Code: 03 14 ca 80 3d 6d 92 34 00 00 49 89 d6 48 89 d5 74 28 25 ff 0f 00 00 83 f0 3d 8d 04 c0 89 c5 c1 ed 04 31 c5 69 ed 2d eb d4 27 <89> e8 c1 e8 0f 31 c5 81 e5 ff 0f 00 00 48 31 d5 80 3d d6 36 34 00 RSP: 002b:00007ffc8debc400 EFLAGS: 00000a83 RAX: 000000000000631b RBX: 00007fb8688e5720 RCX: 0000000000024141 RDX: ffffffff82469899 RSI: ffffffff81f79e40 RDI: 000000000000000e RBP: 0000000089b75662 R08: 00007fb867db6038 R09: 00007fb867da2000 R10: 00007fb8671ff008 R11: 000000000000000e R12: 000000000000000e R13: 0000000000000a76 R14: ffffffff82469899 R15: 0000000000024141 FS: 000055558f403500 GS: 0000000000000000