INFO: task kworker/0:0H:11 blocked for more than 143 seconds. Not tainted 6.14.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:0H state:D stack:26360 pid:11 tgid:11 ppid:2 task_flags:0x4208060 flags:0x00004000 Workqueue: gfs2-glock/syz:syz glock_work_func Call Trace: context_switch kernel/sched/core.c:5367 [inline] __schedule+0x1aba/0x5050 kernel/sched/core.c:6748 __schedule_loop kernel/sched/core.c:6825 [inline] schedule+0x163/0x360 kernel/sched/core.c:6840 io_schedule+0x8d/0x110 kernel/sched/core.c:7722 bit_wait_io+0x12/0xd0 kernel/sched/wait_bit.c:247 __wait_on_bit_lock+0xdb/0x540 kernel/sched/wait_bit.c:90 out_of_line_wait_on_bit_lock+0x1e0/0x280 kernel/sched/wait_bit.c:117 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:426 [inline] discard_buffer fs/buffer.c:1576 [inline] block_invalidate_folio+0x36c/0x790 fs/buffer.c:1633 folio_invalidate mm/truncate.c:126 [inline] truncate_cleanup_folio+0x203/0x300 mm/truncate.c:146 truncate_inode_pages_range+0x2e7/0x10e0 mm/truncate.c:326 do_xmote+0x6dc/0x1250 fs/gfs2/glock.c:754 glock_work_func+0x343/0x5c0 fs/gfs2/glock.c:1090 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xa6b/0x1830 kernel/workqueue.c:3319 worker_thread+0xa2b/0xf70 kernel/workqueue.c:3400 kthread+0x7a9/0x910 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 INFO: task syz-executor:6383 blocked for more than 143 seconds. Not tainted 6.14.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:21064 pid:6383 tgid:6383 ppid:1 task_flags:0x400140 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5367 [inline] __schedule+0x1aba/0x5050 kernel/sched/core.c:6748 __schedule_loop kernel/sched/core.c:6825 [inline] schedule+0x163/0x360 kernel/sched/core.c:6840 schedule_timeout+0xb1/0x290 kernel/time/sleep_timeout.c:75 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common kernel/sched/completion.c:116 [inline] wait_for_common kernel/sched/completion.c:127 [inline] wait_for_completion+0x360/0x630 kernel/sched/completion.c:148 __flush_work+0xa48/0xc50 kernel/workqueue.c:4244 flush_work kernel/workqueue.c:4265 [inline] flush_delayed_work+0x16a/0x1c0 kernel/workqueue.c:4287 gfs2_clear_rgrpd+0xd0/0x6d0 fs/gfs2/rgrp.c:731 gfs2_put_super+0x8c0/0x940 fs/gfs2/super.c:647 generic_shutdown_super+0x139/0x2d0 fs/super.c:642 kill_block_super+0x44/0x90 fs/super.c:1710 deactivate_locked_super+0xc4/0x120 fs/super.c:473 cleanup_mnt+0x422/0x4c0 fs/namespace.c:1435 task_work_run+0x251/0x310 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x13e/0x330 kernel/entry/common.c:218 do_syscall_64+0x8e/0x160 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7f858638e497 RSP: 002b:00007ffd01c42958 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f858640e08c RCX: 00007f858638e497 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffd01c42a10 RBP: 00007ffd01c42a10 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffd01c43aa0 R13: 00007f858640e08c R14: 000000000001d29d R15: 00007ffd01c43ae0 Showing all locks held in the system: 1 lock held by pool_workqueue_/3: 2 locks held by kworker/0:0H/11: #0: ffff8880274de548 ((wq_completion)gfs2-glock/syz:syz){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff8880274de548 ((wq_completion)gfs2-glock/syz:syz){+.+.}-{0:0}, at: process_scheduled_works+0x940/0x1830 kernel/workqueue.c:3319 #1: ffffc90000107c80 ((work_completion)(&(&gl->gl_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc90000107c80 ((work_completion)(&(&gl->gl_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x97b/0x1830 kernel/workqueue.c:3319 1 lock held by khungtaskd/30: #0: ffffffff8e137420 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8e137420 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8e137420 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x30/0x180 kernel/locking/lockdep.c:6761 1 lock held by udevd/5077: #0: ffff8880b8839ad8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:595 2 locks held by getty/5455: #0: ffff88814ccc10a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900032fb2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6e5/0x1ed0 drivers/tty/n_tty.c:2211 1 lock held by syz-executor/6383: #0: ffff8880643880e0 (&type->s_umount_key#53){+.+.}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880643880e0 (&type->s_umount_key#53){+.+.}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880643880e0 (&type->s_umount_key#53){+.+.}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.14.0-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 nmi_cpu_backtrace+0x4ab/0x4e0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:158 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:236 [inline] watchdog+0x1050/0x1090 kernel/hung_task.c:399 kthread+0x7a9/0x910 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153 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: 7483 Comm: syz.1.226 Not tainted 6.14.0-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:unwind_next_frame+0x5/0x22f0 arch/x86/kernel/unwind_orc.c:469 Code: 80 e1 07 80 c1 03 38 c1 7c 91 4c 89 f7 e8 33 91 b7 00 eb 87 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 55 <41> 57 41 56 41 55 41 54 53 48 81 ec 98 00 00 00 49 89 fd 49 bc 00 RSP: 0018:ffffc9000c47f050 EFLAGS: 00000202 RAX: 0000000000000001 RBX: ffffc9000c47f060 RCX: ffffffff90df2000 RDX: dffffc0000000000 RSI: ffffffff820db3d9 RDI: ffffc9000c47f060 RBP: ffffc9000c47f0f0 R08: 0000000000000003 R09: ffffc9000c47f150 R10: ffffc9000c47f0b0 R11: ffffffff81a9f9c0 R12: ffff88801a1ada00 R13: ffffffff81a9f9c0 R14: ffffc9000c47f140 R15: 0000000000000000 FS: 00007f84563c16c0(0000) GS:ffff8881260fa000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f844d1ff000 CR3: 0000000032444000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x11e/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x11a/0x1d0 kernel/stacktrace.c:122 save_stack+0xfc/0x1f0 mm/page_owner.c:156 __reset_page_owner+0x79/0x440 mm/page_owner.c:297 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1127 [inline] free_unref_folios+0xe43/0x18a0 mm/page_alloc.c:2707 folios_put_refs+0x779/0x880 mm/swap.c:994 free_pages_and_swap_cache+0x2ea/0x6a0 mm/swap_state.c:331 __tlb_batch_free_encoded_pages mm/mmu_gather.c:136 [inline] tlb_batch_pages_flush mm/mmu_gather.c:149 [inline] tlb_flush_mmu_free mm/mmu_gather.c:389 [inline] tlb_flush_mmu+0x3a9/0x690 mm/mmu_gather.c:396 tlb_finish_mmu+0xd4/0x200 mm/mmu_gather.c:488 vms_clear_ptes+0x4c2/0x5c0 mm/vma.c:1144 vms_complete_munmap_vmas+0x210/0x8c0 mm/vma.c:1186 do_vmi_align_munmap+0x649/0x7d0 mm/vma.c:1445 do_vmi_munmap+0x253/0x2d0 mm/vma.c:1493 __vm_munmap+0x37b/0x520 mm/vma.c:2956 __do_sys_munmap mm/mmap.c:1084 [inline] __se_sys_munmap mm/mmap.c:1081 [inline] __x64_sys_munmap+0x60/0x70 mm/mmap.c:1081 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x82/0x160 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7f845558d1f7 Code: 00 00 00 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 0b 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f84563c0e18 EFLAGS: 00000246 ORIG_RAX: 000000000000000b RAX: ffffffffffffffda RBX: 0000000001000000 RCX: 00007f845558d1f7 RDX: 0000000000000000 RSI: 0000000008400000 RDI: 00007f844c200000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000037f96 R10: 00002000000a7ec2 R11: 0000000000000246 R12: 0000000000000003 R13: 00007f84563c0ef0 R14: 00007f84563c0eb0 R15: 00007f844c200000