INFO: task kworker/1:3:980 blocked for more than 143 seconds. Not tainted 6.15.0-next-20250606-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:3 state:D stack:23816 pid:980 tgid:980 ppid:2 task_flags:0x4208060 flags:0x00004000 Workqueue: gfs2_recovery gfs2_recover_func Call Trace: context_switch kernel/sched/core.c:5396 [inline] __schedule+0x16f5/0x4d00 kernel/sched/core.c:6785 __schedule_loop kernel/sched/core.c:6863 [inline] schedule+0x165/0x360 kernel/sched/core.c:6878 io_schedule+0x80/0xd0 kernel/sched/core.c:7723 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:3238 [inline] process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3321 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3402 kthread+0x70e/0x8a0 kernel/kthread.c:464 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.3.138:6422 blocked for more than 143 seconds. Not tainted 6.15.0-next-20250606-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.138 state:D stack:24760 pid:6422 tgid:6421 ppid:5841 task_flags:0x400140 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5396 [inline] __schedule+0x16f5/0x4d00 kernel/sched/core.c:6785 __schedule_loop kernel/sched/core.c:6863 [inline] schedule+0x165/0x360 kernel/sched/core.c:6878 bit_wait+0x11/0xd0 kernel/sched/wait_bit.c:237 __wait_on_bit+0xb6/0x310 kernel/sched/wait_bit.c:49 out_of_line_wait_on_bit+0x123/0x170 kernel/sched/wait_bit.c:64 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+0x1939/0x20e0 fs/gfs2/ops_fstype.c:1253 get_tree_bdev_flags+0x40b/0x4d0 fs/super.c:1679 gfs2_get_tree+0x51/0x1e0 fs/gfs2/ops_fstype.c:1335 vfs_get_tree+0x8f/0x2b0 fs/super.c:1802 do_new_mount+0x24a/0xa40 fs/namespace.c:3874 do_mount fs/namespace.c:4211 [inline] __do_sys_mount fs/namespace.c:4422 [inline] __se_sys_mount+0x317/0x410 fs/namespace.c:4399 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:0x7f923fb900ca RSP: 002b:00007f9240a94e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f9240a94ef0 RCX: 00007f923fb900ca RDX: 0000200000037f40 RSI: 0000200000037f80 RDI: 00007f9240a94eb0 RBP: 0000200000037f40 R08: 00007f9240a94ef0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000037f80 R13: 00007f9240a94eb0 R14: 0000000000037fa7 R15: 0000200000000000 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffffffff8e13eda0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8e13eda0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8e13eda0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6770 2 locks held by kworker/1:3/980: #0: ffff88801e3e4548 ((wq_completion)gfs2_recovery){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88801e3e4548 ((wq_completion)gfs2_recovery){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3321 #1: ffffc900037a7bc0 ((work_completion)(&jd->jd_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc900037a7bc0 ((work_completion)(&jd->jd_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321 2 locks held by kworker/u8:7/2139: #0: ffff888146aa8948 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff888146aa8948 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3321 #1: ffffc90004affbc0 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc90004affbc0 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321 2 locks held by getty/5597: #0: ffff88803531a0a0 (&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.3.138/6422: #0: ffff8880577300e0 (&type->s_umount_key#96/1){+.+.}-{4:4}, at: alloc_super+0x204/0x970 fs/super.c:345 3 locks held by kworker/u8:13/7640: #0: ffff8880b873b918 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:606 #1: ffffc9000b7f7bc0 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: psi_task_switch+0x314/0x6d0 kernel/sched/psi.c:975 #2: ffffffff99c70770 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_deactivate+0x9a/0x250 lib/debugobjects.c:873 1 lock held by syz.6.587/9051: #0: ffffffff8e1448b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:336 [inline] #0: ffffffff8e1448b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730 kernel/rcu/tree_exp.h:998 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.15.0-next-20250606-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+0x70e/0x8a0 kernel/kthread.c:464 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 5837 Comm: syz-executor Not tainted 6.15.0-next-20250606-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:constant_test_bit arch/x86/include/asm/bitops.h:206 [inline] RIP: 0010:arch_test_bit arch/x86/include/asm/bitops.h:238 [inline] RIP: 0010:_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:142 [inline] RIP: 0010:folio_test_locked include/linux/page-flags.h:547 [inline] RIP: 0010:filemap_remove_folio+0x93/0x1f0 mm/filemap.c:250 Code: 01 0f 85 60 01 00 00 48 89 df be 08 00 00 00 e8 03 d0 2c 00 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 7d cd 2c 00 <4c> 8b 3b 44 89 fe 83 e6 01 31 ff e8 6d 5a c9 ff 41 f6 c7 01 0f 84 RSP: 0018:ffffc9000488f648 EFLAGS: 00000246 RAX: 1ffffd4000296d68 RBX: ffffea00014b6b40 RCX: ffffffff81f7092d RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffea00014b6b40 RBP: ffffc9000488fa50 R08: ffffea00014b6b47 R09: 1ffffd4000296d68 R10: dffffc0000000000 R11: fffff94000296d69 R12: dffffc0000000000 R13: ffffea00014b6b40 R14: ffff88807cdf1738 R15: 0000000000000000 FS: 000055555848e500(0000) GS:ffff888125d4d000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc186409fc CR3: 000000006bb70000 CR4: 00000000003526f0 DR0: 000000000000d33c DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: truncate_inode_folio+0x5d/0x70 mm/truncate.c:176 shmem_undo_range+0x3a9/0x14b0 mm/shmem.c:1121 shmem_truncate_range mm/shmem.c:1237 [inline] shmem_evict_inode+0x272/0xa70 mm/shmem.c:1365 evict+0x504/0x9c0 fs/inode.c:810 __dentry_kill+0x209/0x660 fs/dcache.c:669 dput+0x19f/0x2b0 fs/dcache.c:911 __fput+0x68e/0xa70 fs/file_table.c:475 task_work_run+0x1d1/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:114 exit_to_user_mode_prepare include/linux/entry-common.h:330 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:414 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:449 [inline] do_syscall_64+0x2bd/0x3b0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f69eb98d58a Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 43 91 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 a3 91 02 00 8b 44 24 RSP: 002b:00007ffd408d6730 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 00007f69eb98d58a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007ffd408d678c R08: 0000000000000000 R09: 00007ffd408d6497 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000084 R13: 00000000000927c0 R14: 0000000000046bc0 R15: 00007ffd408d67e0