INFO: task kworker/1:2H:6112 blocked for more than 143 seconds. Not tainted 6.16.0-rc5-next-20250711-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:2H state:D stack:23976 pid:6112 tgid:6112 ppid:2 task_flags:0x4208060 flags:0x00004000 Workqueue: gfs2-glock/syz:syz glock_work_func Call Trace: context_switch kernel/sched/core.c:5314 [inline] __schedule+0x16f5/0x4d00 kernel/sched/core.c:6697 __schedule_loop kernel/sched/core.c:6775 [inline] schedule+0x165/0x360 kernel/sched/core.c:6790 io_schedule+0x80/0xd0 kernel/sched/core.c:7635 bit_wait_io+0x11/0xd0 kernel/sched/wait_bit.c:250 __wait_on_bit_lock+0xe9/0x4f0 kernel/sched/wait_bit.c:93 out_of_line_wait_on_bit_lock+0x123/0x170 kernel/sched/wait_bit.c:120 wait_on_bit_lock_io include/linux/wait_bit.h:221 [inline] __lock_buffer fs/buffer.c:71 [inline] lock_buffer include/linux/buffer_head.h:432 [inline] discard_buffer fs/buffer.c:1606 [inline] block_invalidate_folio+0x376/0x730 fs/buffer.c:1663 folio_invalidate mm/truncate.c:140 [inline] truncate_cleanup_folio+0x2d8/0x430 mm/truncate.c:160 truncate_inode_pages_range+0x233/0xda0 mm/truncate.c:379 do_xmote+0x6e4/0x11e0 fs/gfs2/glock.c:757 glock_work_func+0x2a8/0x580 fs/gfs2/glock.c:1094 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+0x3f9/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 INFO: task syz-executor:7058 blocked for more than 144 seconds. Not tainted 6.16.0-rc5-next-20250711-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:19016 pid:7058 tgid:7058 ppid:1 task_flags:0x400140 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5314 [inline] __schedule+0x16f5/0x4d00 kernel/sched/core.c:6697 __schedule_loop kernel/sched/core.c:6775 [inline] schedule+0x165/0x360 kernel/sched/core.c:6790 schedule_timeout+0x9a/0x270 kernel/time/sleep_timeout.c:75 do_wait_for_common kernel/sched/completion.c:100 [inline] __wait_for_common kernel/sched/completion.c:121 [inline] wait_for_common kernel/sched/completion.c:132 [inline] wait_for_completion+0x2bf/0x5d0 kernel/sched/completion.c:153 __flush_work+0x9b9/0xbc0 kernel/workqueue.c:4247 flush_work kernel/workqueue.c:4268 [inline] flush_delayed_work+0x13e/0x190 kernel/workqueue.c:4290 gfs2_clear_rgrpd+0xd7/0x690 fs/gfs2/rgrp.c:731 gfs2_put_super+0x8a7/0x950 fs/gfs2/super.c:635 generic_shutdown_super+0x135/0x2c0 fs/super.c:643 kill_block_super+0x44/0x90 fs/super.c:1755 deactivate_locked_super+0xb9/0x130 fs/super.c:474 cleanup_mnt+0x425/0x4c0 fs/namespace.c:1378 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+0xec/0x110 kernel/entry/common.c:43 exit_to_user_mode_prepare include/linux/irq-entry-common.h:208 [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/0x3b0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8dc2d8fc57 RSP: 002b:00007fff0eed8588 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000064 RCX: 00007f8dc2d8fc57 RDX: 0000000000000200 RSI: 0000000000000009 RDI: 00007fff0eed9730 RBP: 00007f8dc2e10925 R08: 0000555572586673 R09: 0000000000000000 R10: 0000000000000100 R11: 0000000000000202 R12: 00007fff0eed9730 R13: 00007f8dc2e10925 R14: 000055557256b4a8 R15: 00007fff0eeda800 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffffffff8e13c5a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8e13c5a0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8e13c5a0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6770 2 locks held by getty/5607: #0: ffff88803483e0a0 (&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 kworker/1:2H/6112: #0: ffff888033e5fd48 ((wq_completion)gfs2-glock/syz:syz){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #0: ffff888033e5fd48 ((wq_completion)gfs2-glock/syz:syz){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3322 #1: ffffc90004fefbc0 ((work_completion)(&(&gl->gl_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3215 [inline] #1: ffffc90004fefbc0 ((work_completion)(&(&gl->gl_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3322 1 lock held by syz-executor/7058: #0: ffff88802a18c0e0 (&type->s_umount_key#60){++++}-{4:4}, at: __super_lock fs/super.c:57 [inline] #0: ffff88802a18c0e0 (&type->s_umount_key#60){++++}-{4:4}, at: __super_lock_excl fs/super.c:72 [inline] #0: ffff88802a18c0e0 (&type->s_umount_key#60){++++}-{4:4}, at: deactivate_super+0xa9/0xe0 fs/super.c:506 1 lock held by syz.2.1392/12530: #0: ffff88802a18c0e0 (&type->s_umount_key#60){++++}-{4:4}, at: __super_lock fs/super.c:59 [inline] #0: ffff88802a18c0e0 (&type->s_umount_key#60){++++}-{4:4}, at: super_lock+0x2a9/0x3b0 fs/super.c:121 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.16.0-rc5-next-20250711-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:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:328 [inline] watchdog+0xfee/0x1030 kernel/hung_task.c:491 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x3f9/0x770 arch/x86/kernel/process.c:148 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: 1329 Comm: kworker/u8:5 Not tainted 6.16.0-rc5-next-20250711-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:switch_ldt+0x65/0x250 arch/x86/kernel/ldt.c:91 Code: 8a b5 41 48 c7 44 24 08 d6 cc b7 8d 48 c7 44 24 10 40 f2 65 81 49 89 e4 49 c1 ec 03 48 b8 f1 f1 f1 f1 00 f3 f3 f3 4b 89 04 3c e6 c4 59 00 49 81 c6 38 07 00 00 4c 89 f0 48 c1 e8 03 42 80 3c RSP: 0018:ffffc900043af360 EFLAGS: 00000806 RAX: f3f3f300f1f1f1f1 RBX: ffff8880320a0000 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: ffff8880320a0000 RDI: ffffffff8e247ec0 RBP: ffffc900043af3f0 R08: ffff8880320a07eb R09: 1ffff110064140fd R10: dffffc0000000000 R11: ffffed10064140fe R12: 1ffff92000875e6c R13: ffff8880320a0000 R14: ffffffff8e247ec0 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff888125bc6000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f765f581ab8 CR3: 000000007811c000 CR4: 00000000003526f0 Call Trace: switch_mm_irqs_off+0x5b6/0x7a0 arch/x86/mm/tlb.c:949 context_switch kernel/sched/core.c:5298 [inline] __schedule+0x106c/0x4d00 kernel/sched/core.c:6697 preempt_schedule_common+0x83/0xd0 kernel/sched/core.c:6877 preempt_schedule+0xae/0xc0 kernel/sched/core.c:6901 preempt_schedule_thunk+0x16/0x30 arch/x86/entry/thunk.S:12 on_each_cpu_cond_mask+0x7a/0x80 kernel/smp.c:1037 on_each_cpu include/linux/smp.h:71 [inline] smp_text_poke_sync_each_cpu arch/x86/kernel/alternative.c:2691 [inline] smp_text_poke_batch_finish+0x5e0/0x1100 arch/x86/kernel/alternative.c:2901 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x128/0x250 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 toggle_allocation_gate+0xad/0x240 mm/kfence/core.c:850 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+0x3f9/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245