INFO: task syz.3.31:5053 blocked for more than 143 seconds. Not tainted 6.1.131-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.31 state:D stack:24456 pid:5053 ppid:4754 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5243 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6560 schedule+0xbf/0x180 kernel/sched/core.c:6636 schedule_timeout+0xac/0x300 kernel/time/timer.c:1941 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x350/0x610 kernel/sched/completion.c:138 kthread_stop+0x1ab/0x690 kernel/kthread.c:711 signal_our_withdraw fs/gfs2/util.c:159 [inline] gfs2_withdraw+0x5c1/0x1550 fs/gfs2/util.c:354 gfs2_metatype_check_ii+0x75/0x90 fs/gfs2/util.c:533 gfs2_metatype_check_i fs/gfs2/util.h:129 [inline] gfs2_quota_init+0xe06/0x1110 fs/gfs2/quota.c:1406 gfs2_make_fs_rw+0x436/0x5b0 fs/gfs2/super.c:155 gfs2_fill_super+0x2327/0x2680 fs/gfs2/ops_fstype.c:1271 get_tree_bdev+0x3fe/0x620 fs/super.c:1366 gfs2_get_tree+0x50/0x210 fs/gfs2/ops_fstype.c:1327 vfs_get_tree+0x88/0x270 fs/super.c:1573 do_new_mount+0x2ba/0xb40 fs/namespace.c:3056 do_mount fs/namespace.c:3399 [inline] __do_sys_mount fs/namespace.c:3607 [inline] __se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3584 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f72cbd874ca RSP: 002b:00007f72ccb42e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f72ccb42ef0 RCX: 00007f72cbd874ca RDX: 0000000020000400 RSI: 0000000020000040 RDI: 00007f72ccb42eb0 RBP: 0000000020000400 R08: 00007f72ccb42ef0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000020000040 R13: 00007f72ccb42eb0 R14: 00000000000125bb R15: 0000000020000380 INFO: task gfs2_quotad:5064 blocked for more than 146 seconds. Not tainted 6.1.131-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:gfs2_quotad state:D stack:27448 pid:5064 ppid:2 flags:0x00024000 Call Trace: context_switch kernel/sched/core.c:5243 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6560 schedule+0xbf/0x180 kernel/sched/core.c:6636 bit_wait+0xe/0xc0 kernel/sched/wait_bit.c:199 __wait_on_bit+0xa8/0x2e0 kernel/sched/wait_bit.c:49 out_of_line_wait_on_bit+0x1d0/0x250 kernel/sched/wait_bit.c:64 wait_on_bit include/linux/wait_bit.h:76 [inline] __gfs2_glock_dq+0x700/0xa90 fs/gfs2/glock.c:1641 gfs2_glock_dq+0x1b5/0x1d0 fs/gfs2/glock.c:1713 gfs2_glock_dq_uninit+0x24/0xe0 fs/gfs2/glock.c:1733 gfs2_statfs_sync+0x7d9/0x860 fs/gfs2/super.c:310 quotad_check_timeo fs/gfs2/quota.c:1519 [inline] gfs2_quotad+0x37b/0x670 fs/gfs2/quota.c:1561 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d32b2d0 ( rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:517 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d32bad0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:517 1 lock held by khungtaskd/28: #0: ffffffff8d32b100 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #0: ffffffff8d32b100 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #0: ffffffff8d32b100 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6510 1 lock held by udevd/3623: #0: ffff8880b8e3a9d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:537 2 locks held by getty/4010: #0: ffff888030eef098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc9000325e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a7/0x1db0 drivers/tty/n_tty.c:2198 1 lock held by udevd/4687: #0: ffff8880180955c0 (mapping.invalidate_lock#2){.+.+}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:813 [inline] #0: ffff8880180955c0 (mapping.invalidate_lock#2){.+.+}-{3:3}, at: page_cache_ra_unbounded+0xed/0x7b0 mm/readahead.c:226 1 lock held by udevd/4692: #0: ffff888018094ac0 (mapping.invalidate_lock#2){.+.+}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:813 [inline] #0: ffff888018094ac0 (mapping.invalidate_lock#2){.+.+}-{3:3}, at: page_cache_ra_unbounded+0xed/0x7b0 mm/readahead.c:226 2 locks held by syz.3.31/5053: #0: ffff8880794760e0 (&type->s_umount_key#52/1){+.+.}-{3:3}, at: alloc_super+0x217/0x930 fs/super.c:228 #1: ffff888026ca1248 (&sdp->sd_freeze_mutex){+.+.}-{3:3}, at: signal_our_withdraw fs/gfs2/util.c:155 [inline] #1: ffff888026ca1248 (&sdp->sd_freeze_mutex){+.+.}-{3:3}, at: gfs2_withdraw+0x55c/0x1550 fs/gfs2/util.c:354 5 locks held by kworker/u4:9/5062: 1 lock held by udevd/5397: #0: ffff888148dd08c0 ( mapping.invalidate_lock #2 ){.+.+}-{3:3} , at: filemap_invalidate_lock_shared include/linux/fs.h:813 [inline] , at: page_cache_ra_unbounded+0xed/0x7b0 mm/readahead.c:226 2 locks held by syz.2.354/5936: 4 locks held by syz.4.356/5945: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.1.131-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x4e1/0x560 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1ae/0x3f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xf88/0xfd0 kernel/hung_task.c:377 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5945 Comm: syz.4.356 Not tainted 6.1.131-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:__get_pfnblock_flags_mask mm/page_alloc.c:551 [inline] RIP: 0010:get_pfnblock_migratetype mm/page_alloc.c:572 [inline] RIP: 0010:free_unref_page_prepare+0x4ea/0x15b0 mm/page_alloc.c:3387 Code: 48 89 df e8 88 5d 0c 00 48 8b 03 48 89 eb 48 c1 eb 07 48 c1 ed 0a 83 e5 18 48 8d 6c 28 18 48 89 e8 48 c1 e8 03 42 80 3c 30 00 <74> 08 48 89 ef e8 5c 5d 0c 00 48 8b 6d 00 80 e3 3c 89 d9 48 d3 ed RSP: 0018:ffffc9000cf4f4d0 EFLAGS: 00000246 RAX: 1ffff11027fff165 RBX: 00000000000009c5 RCX: 0000000000000000 RDX: 0000000000000200 RSI: 00000000000000ff RDI: ffffed1009c51600 RBP: ffff88813fff8b28 R08: dffffc0000000000 R09: ffffed1009c51400 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffea000138a280 R13: ffffea000138a201 R14: dffffc0000000000 R15: 0000000000000001 FS: 00007f2d3fa7c6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2d3eb69160 CR3: 000000002eccf000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: free_unref_page_list+0x663/0x900 mm/page_alloc.c:3525 release_pages+0x24c4/0x27a0 mm/swap.c:1035 __pagevec_release+0x80/0xf0 mm/swap.c:1055 pagevec_release include/linux/pagevec.h:71 [inline] folio_batch_release include/linux/pagevec.h:135 [inline] shmem_undo_range+0x865/0x2390 mm/shmem.c:946 shmem_truncate_range mm/shmem.c:1062 [inline] shmem_evict_inode+0x265/0xa60 mm/shmem.c:1171 evict+0x529/0x930 fs/inode.c:705 __dentry_kill+0x436/0x650 fs/dcache.c:611 dentry_kill+0xbb/0x290 dput+0xfb/0x1d0 fs/dcache.c:918 __fput+0x62e/0x8d0 fs/file_table.c:328 task_work_run+0x246/0x300 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xde/0x100 kernel/entry/common.c:177 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f2d3eb8592b Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00 RSP: 002b:00007f2d3fa7be10 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: ffffffffffffffff RCX: 00007f2d3eb8592b RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000011 R13: 00007f2d3fa7beb0 R14: 00000000000125bb R15: 0000000020000380