------------[ cut here ]------------ WARNING: CPU: 1 PID: 3101 at include/linux/backing-dev.h:246 inode_to_wb include/linux/backing-dev.h:243 [inline] WARNING: CPU: 1 PID: 3101 at include/linux/backing-dev.h:246 folio_account_dirtied+0x3b0/0x650 mm/page-writeback.c:2565 Modules linked in: CPU: 1 PID: 3101 Comm: gfs2_quotad Not tainted 6.1.0-rc8-syzkaller-33330-ga5541c0811a0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 pstate: 804000c5 (Nzcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : inode_to_wb include/linux/backing-dev.h:243 [inline] pc : folio_account_dirtied+0x3b0/0x650 mm/page-writeback.c:2565 lr : inode_to_wb include/linux/backing-dev.h:243 [inline] lr : folio_account_dirtied+0x3b0/0x650 mm/page-writeback.c:2565 sp : ffff80000ff73a90 x29: ffff80000ff73a90 x28: ffff0000cb39aed0 x27: ffff80000d625000 x26: 0000000000000173 x25: ffff800009281dec x24: 000000000000000b x23: 0000000000000000 x22: 0000000000000000 x21: 0000000000000001 x20: ffff0000c58c85e0 x19: fffffc00032c99c0 x18: 00000000000000c0 x17: ffff80000dda8198 x16: ffff80000dbe6158 x15: ffff0000c8074ec0 x14: 0000000000000050 x13: 00000000ffffffff x12: ffff0000c8074ec0 x11: ff808000083f2128 x10: 0000000000000000 x9 : ffff8000083f2128 x8 : ffff0000c8074ec0 x7 : ffff8000083f1c2c x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : 0000000000000000 x2 : ffff0000c4fbb060 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: inode_to_wb include/linux/backing-dev.h:243 [inline] folio_account_dirtied+0x3b0/0x650 mm/page-writeback.c:2565 __folio_mark_dirty+0xbc/0x180 mm/page-writeback.c:2616 __set_page_dirty include/linux/pagemap.h:1053 [inline] mark_buffer_dirty+0x148/0x368 fs/buffer.c:1105 gfs2_unpin+0xc4/0x31c fs/gfs2/lops.c:111 buf_lo_after_commit+0x70/0xac fs/gfs2/lops.c:747 lops_after_commit fs/gfs2/lops.h:49 [inline] gfs2_log_flush+0x6a4/0xc98 fs/gfs2/log.c:1107 do_sync+0x5a8/0x650 fs/gfs2/quota.c:975 gfs2_quota_sync+0xf0/0x204 fs/gfs2/quota.c:1318 quotad_check_timeo fs/gfs2/quota.c:1508 [inline] gfs2_quotad+0x2f0/0x584 fs/gfs2/quota.c:1555 kthread+0x12c/0x158 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:863 irq event stamp: 306 hardirqs last enabled at (305): [] folio_memcg_lock+0xe4/0x188 mm/memcontrol.c:2110 hardirqs last disabled at (306): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (306): [] _raw_spin_lock_irqsave+0xa4/0xb4 kernel/locking/spinlock.c:162 softirqs last enabled at (0): [] copy_process+0x938/0x16ec kernel/fork.c:2198 softirqs last disabled at (0): [<0000000000000000>] 0x0 ---[ end trace 0000000000000000 ]---