INFO: task kworker/0:6:5941 blocked for more than 144 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:6 state:D stack:23656 pid:5941 tgid:5941 ppid:2 task_flags:0x4208060 flags:0x00080000 Workqueue: gfs2_recovery gfs2_recover_func Call Trace: context_switch kernel/sched/core.c:5325 [inline] __schedule+0x1798/0x4cc0 kernel/sched/core.c:6929 __schedule_loop kernel/sched/core.c:7011 [inline] schedule+0x165/0x360 kernel/sched/core.c:7026 io_schedule+0x80/0xd0 kernel/sched/core.c:7871 folio_wait_bit_common+0x6b0/0xb80 mm/filemap.c:1330 folio_wait_locked include/linux/pagemap.h:1216 [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+0x646/0x1d90 fs/gfs2/recovery.c:457 process_one_work kernel/workqueue.c:3263 [inline] process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3346 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3427 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 INFO: task syz.6.143:6603 blocked for more than 146 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.6.143 state:D stack:24984 pid:6603 tgid:6602 ppid:6210 task_flags:0x400140 flags:0x00080003 Call Trace: context_switch kernel/sched/core.c:5325 [inline] __schedule+0x1798/0x4cc0 kernel/sched/core.c:6929 __schedule_loop kernel/sched/core.c:7011 [inline] schedule+0x165/0x360 kernel/sched/core.c:7026 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:1255 get_tree_bdev_flags+0x40e/0x4d0 fs/super.c:1691 gfs2_get_tree+0x51/0x1e0 fs/gfs2/ops_fstype.c:1337 vfs_get_tree+0x92/0x2b0 fs/super.c:1751 fc_mount fs/namespace.c:1208 [inline] do_new_mount_fc fs/namespace.c:3651 [inline] do_new_mount+0x302/0xa10 fs/namespace.c:3727 do_mount fs/namespace.c:4050 [inline] __do_sys_mount fs/namespace.c:4238 [inline] __se_sys_mount+0x313/0x410 fs/namespace.c:4215 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fafb0990e6a RSP: 002b:00007fafb178be68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fafb178bef0 RCX: 00007fafb0990e6a RDX: 000020000001f680 RSI: 0000200000000040 RDI: 00007fafb178beb0 RBP: 000020000001f680 R08: 00007fafb178bef0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000040 R13: 00007fafb178beb0 R14: 000000000001f80e R15: 0000200000000380 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffffffff8df3d6e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8df3d6e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:867 [inline] #0: ffffffff8df3d6e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775 2 locks held by getty/5582: #0: ffff88802fa4e0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000332b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222 2 locks held by syz-executor/5829: #0: ffff8880272520e0 (&type->s_umount_key#89){+.+.}-{4:4}, at: __super_lock fs/super.c:57 [inline] #0: ffff8880272520e0 (&type->s_umount_key#89){+.+.}-{4:4}, at: __super_lock_excl fs/super.c:72 [inline] #0: ffff8880272520e0 (&type->s_umount_key#89){+.+.}-{4:4}, at: deactivate_super+0xa9/0xe0 fs/super.c:505 #1: ffffffff8df43178 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:311 [inline] #1: ffffffff8df43178 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2f6/0x730 kernel/rcu/tree_exp.h:957 2 locks held by kworker/0:6/5941: #0: ffff888144aeb548 ((wq_completion)gfs2_recovery){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3238 [inline] #0: ffff888144aeb548 ((wq_completion)gfs2_recovery){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3346 #1: ffffc90004af7ba0 ((work_completion)(&jd->jd_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3239 [inline] #1: ffffc90004af7ba0 ((work_completion)(&jd->jd_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3346 1 lock held by syz.6.143/6603: #0: ffff888051aa00e0 (&type->s_umount_key#75/1){+.+.}-{4:4}, at: alloc_super+0x1bb/0x930 fs/super.c:344 4 locks held by kworker/u8:16/8014: 2 locks held by syz.7.472/8104: #0: ffffffff8f2cb988 (rtnl_mutex){+.+.}-{4:4}, at: tun_detach drivers/net/tun.c:634 [inline] #0: ffffffff8f2cb988 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3e/0x1c0 drivers/net/tun.c:3436 #1: ffffffff8df43178 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:343 [inline] #1: ffffffff8df43178 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730 kernel/rcu/tree_exp.h:957 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/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:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:332 [inline] watchdog+0xf60/0xfa0 kernel/hung_task.c:495 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158 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: 7557 Comm: syz-executor Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:__lock_acquire+0x2f3/0xd20 kernel/locking/lockdep.c:5177 Code: 00 0f 95 c2 c1 e2 0d c1 e6 0e 09 d6 8b 54 24 1c c1 e2 0f 0f b7 d2 09 f2 41 83 e4 03 41 c1 e4 10 41 09 d4 8b 54 24 0c 83 e2 01 e2 12 44 09 e2 41 c1 e6 14 41 09 d6 8b 54 24 10 c1 e2 13 c1 e5 RSP: 0018:ffffc90000a08cd0 EFLAGS: 00000002 RAX: 000000000000000a RBX: ffff8880b8927ad8 RCX: 0000000000000071 RDX: 0000000000000001 RSI: 0000000000004000 RDI: ffff88802707dac0 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff81ad99aa R10: dffffc0000000000 R11: ffffffff81ad98b0 R12: 0000000000004000 R13: 0000000000000000 R14: 0000000000000000 R15: ffff88802707e5f0 FS: 000055557e8b6500(0000) GS:ffff88812623b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f03995b3ad8 CR3: 000000006128b000 CR4: 0000000000350ef0 Call Trace: lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5868 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xa7/0xf0 kernel/locking/spinlock.c:162 hrtimer_interrupt+0xfa/0xaa0 kernel/time/hrtimer.c:1884 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1041 [inline] __sysvec_apic_timer_interrupt+0x10b/0x410 arch/x86/kernel/apic/apic.c:1058 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1052 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1052 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 RIP: 0010:console_trylock_spinning kernel/printk/printk.c:2034 [inline] RIP: 0010:vprintk_emit+0x49d/0x590 kernel/printk/printk.c:2422 Code: 0f 84 34 ff ff ff e8 12 ec 1f 00 fb eb 44 e8 0a ec 1f 00 e8 35 5a a6 09 4d 85 f6 74 94 e8 fb eb 1f 00 fb 48 c7 c7 c0 16 f3 8d <31> f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00 45 31 c9 53 e8 4b 39 RSP: 0018:ffffc90020057920 EFLAGS: 00000293 RAX: ffffffff81a017e5 RBX: ffffffff81a0163e RCX: ffff88802707dac0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8df316c0 RBP: ffffc90020057a30 R08: ffffffff8f7cea77 R09: 1ffffffff1ef9d4e R10: dffffc0000000000 R11: fffffbfff1ef9d4f R12: 0000000000000000 R13: 000000000000005a R14: 0000000000000200 R15: 1ffff9200400af28 _printk+0xcf/0x120 kernel/printk/printk.c:2448 _btrfs_printk+0x562/0x5b0 fs/btrfs/messages.c:249 btrfs_put_super+0x113/0x1b0 fs/btrfs/super.c:73 generic_shutdown_super+0x135/0x2c0 fs/super.c:642 kill_anon_super+0x3b/0x70 fs/super.c:1281 btrfs_kill_super+0x41/0x50 fs/btrfs/super.c:2134 deactivate_locked_super+0xbc/0x130 fs/super.c:473 cleanup_mnt+0x425/0x4c0 fs/namespace.c:1327 task_work_run+0x1d4/0x260 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xe9/0x130 kernel/entry/common.c:43 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline] do_syscall_64+0x2bd/0xfa0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa878b909f7 Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007fffdc4a08c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fa878b909f7 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fffdc4a0980 RBP: 00007fffdc4a0980 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fffdc4a1a70 R13: 00007fa878c11d7d R14: 000000000004c295 R15: 00007fffdc4a2b40