------------[ cut here ]------------ WARNING: CPU: 0 PID: 5075 at include/linux/backing-dev.h:256 folio_account_dirtied+0x4e9/0x6e0 mm/page-writeback.c:2677 Modules linked in: CPU: 0 PID: 5075 Comm: gfs2_quotad Not tainted 6.2.0-rc1-syzkaller-00084-gc8451c141e07 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:inode_to_wb include/linux/backing-dev.h:253 [inline] RIP: 0010:folio_account_dirtied+0x4e9/0x6e0 mm/page-writeback.c:2677 Code: 5d 41 5e 41 5f 5d c3 e8 65 46 cf ff 4c 89 ef 4c 89 e6 48 83 c4 20 5b 41 5c 41 5d 41 5e 41 5f 5d e9 3c 64 2c 00 e8 47 46 cf ff <0f> 0b e9 8a fd ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 7a fb ff RSP: 0018:ffffc90003ccf850 EFLAGS: 00010093 RAX: ffffffff81bc9529 RBX: 0000000000000000 RCX: ffff88802154ba80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff88801c0cf578 R08: ffffffff81bc92ad R09: ffffed1003819eb0 R10: ffffed1003819eb0 R11: 1ffff11003819eaf R12: dffffc0000000000 R13: ffffea0000a9d880 R14: 0000000000000001 R15: 1ffff11003819eaf FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fef0c147000 CR3: 000000001cb2a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __folio_mark_dirty+0x125/0x260 mm/page-writeback.c:2728 __set_page_dirty include/linux/pagemap.h:1052 [inline] mark_buffer_dirty+0x253/0x550 fs/buffer.c:1105 gfs2_unpin+0x10b/0xa20 fs/gfs2/lops.c:111 buf_lo_after_commit+0x172/0x1d0 fs/gfs2/lops.c:747 lops_after_commit fs/gfs2/lops.h:49 [inline] gfs2_log_flush+0x1179/0x26a0 fs/gfs2/log.c:1107 do_sync+0xa3c/0xc80 fs/gfs2/quota.c:975 gfs2_quota_sync+0x3da/0x8b0 fs/gfs2/quota.c:1318 quotad_check_timeo fs/gfs2/quota.c:1508 [inline] gfs2_quotad+0x67e/0xa90 fs/gfs2/quota.c:1555 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308