INFO: task kworker/0:0:9 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:20520 pid:9 tgid:9 ppid:2 task_flags:0x4208060 flags:0x00080000 Workqueue: gfs2_recovery gfs2_recover_func Call Trace: context_switch kernel/sched/core.c:5254 [inline] __schedule+0x17c4/0x4d60 kernel/sched/core.c:6862 __schedule_loop kernel/sched/core.c:6944 [inline] schedule+0x165/0x360 kernel/sched/core.c:6959 io_schedule+0x80/0xd0 kernel/sched/core.c:7791 folio_wait_bit_common+0x6b0/0xb80 mm/filemap.c:1335 folio_wait_locked include/linux/pagemap.h:1224 [inline] gfs2_jhead_process_page+0x171/0x650 fs/gfs2/lops.c:472 gfs2_find_jhead+0xca1/0xe10 fs/gfs2/lops.c:587 gfs2_recover_func+0x5f5/0x1c90 fs/gfs2/recovery.c:459 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.7.2588:16165 blocked for more than 144 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.7.2588 state:D stack:24352 pid:16165 tgid:16164 ppid:14346 task_flags:0x400140 flags:0x00080003 Call Trace: context_switch kernel/sched/core.c:5254 [inline] __schedule+0x17c4/0x4d60 kernel/sched/core.c:6862 __schedule_loop kernel/sched/core.c:6944 [inline] schedule+0x165/0x360 kernel/sched/core.c:6959 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:579 init_journal+0x1987/0x2180 fs/gfs2/ops_fstype.c:794 init_inodes+0xdb/0x320 fs/gfs2/ops_fstype.c:844 gfs2_fill_super+0x1a52/0x2220 fs/gfs2/ops_fstype.c:1250 get_tree_bdev_flags+0x40e/0x4d0 fs/super.c:1691 gfs2_get_tree+0x51/0x1e0 fs/gfs2/ops_fstype.c:1332 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:0x7f53ff99076a RSP: 002b:00007f54008d8e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f54008d8ef0 RCX: 00007f53ff99076a RDX: 0000200000000140 RSI: 0000200000000340 RDI: 00007f54008d8eb0 RBP: 0000200000000140 R08: 00007f54008d8ef0 R09: 0000000002810000 R10: 0000000002810000 R11: 0000000000000246 R12: 0000200000000340 R13: 00007f54008d8eb0 R14: 0000000000038046 R15: 00002000000001c0 Showing all locks held in the system: 2 locks held by kworker/0:0/9: #0: ffff8881446aa148 ((wq_completion)gfs2_recovery){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3238 [inline] #0: ffff8881446aa148 ((wq_completion)gfs2_recovery){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3346 #1: ffffc900000e7ba0 ((work_completion)(&jd->jd_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3239 [inline] #1: ffffc900000e7ba0 ((work_completion)(&jd->jd_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3346 1 lock held by khungtaskd/31: #0: ffffffff8df3d5a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8df3d5a0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:867 [inline] #0: ffffffff8df3d5a0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775 3 locks held by kworker/u8:2/35: #0: ffff888144ae3148 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3238 [inline] #0: ffff888144ae3148 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3346 #1: ffffc90000ab7ba0 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3239 [inline] #1: ffffc90000ab7ba0 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3346 #2: ffffffff8df43038 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:311 [inline] #2: ffffffff8df43038 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2f6/0x730 kernel/rcu/tree_exp.h:957 2 locks held by kworker/u8:3/37: 2 locks held by getty/5587: #0: ffff8880347a50a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900036bb2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222 1 lock held by syz.7.2588/16165: #0: ffff8880273c20e0 (&type->s_umount_key#73/1){+.+.}-{4:4}, at: alloc_super+0x1bb/0x930 fs/super.c:344 1 lock held by syz.3.3043/17869: 1 lock held by syz.1.3046/17880: #0: ffffffff8df42f00 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x570 kernel/rcu/tree.c:3820 ============================================= NMI backtrace for cpu 1 CPU: 1 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:337 [inline] watchdog+0xfa9/0xff0 kernel/hung_task.c:500 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 35 Comm: kworker/u8:2 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:hlock_class kernel/locking/lockdep.c:234 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4879 [inline] RIP: 0010:__lock_acquire+0x50c/0xd20 kernel/locking/lockdep.c:5187 Code: 49 83 c7 28 41 89 c4 48 39 cb 0f 8d d6 00 00 00 48 83 fb 31 0f 83 92 00 00 00 41 8b 07 25 ff 1f 00 00 48 0f a3 05 74 17 da 11 <73> 10 48 69 c0 c8 00 00 00 48 8d 88 70 93 18 93 eb 40 83 3d db a6 RSP: 0018:ffffc90000ab74e8 EFLAGS: 00000007 RAX: 0000000000000006 RBX: 0000000000000004 RCX: 0000000000000006 RDX: 0000000000000004 RSI: 0000000000000005 RDI: ffff88801f293c80 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8212693e R10: dffffc0000000000 R11: fffff94000010d71 R12: 0000000000000004 R13: 0000000000000003 R14: ffff88801f2948a0 R15: ffff88801f294870 FS: 0000000000000000(0000) GS:ffff888125f22000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0625fb3ad8 CR3: 000000000dd38000 CR4: 00000000003526f0 Call Trace: lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5868 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] __pte_offset_map_lock+0x13e/0x210 mm/pgtable-generic.c:401 get_locked_pte include/linux/mm.h:2830 [inline] __text_poke+0x2e6/0xa10 arch/x86/kernel/alternative.c:2511 text_poke arch/x86/kernel/alternative.c:2596 [inline] smp_text_poke_batch_finish+0xd0f/0x1130 arch/x86/kernel/alternative.c:2985 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_disable_cpuslocked+0xc5/0x1b0 kernel/jump_label.c:240 static_key_disable+0x1a/0x20 kernel/jump_label.c:248 toggle_allocation_gate+0x1a1/0x240 mm/kfence/core.c:857 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