------------[ cut here ]------------ WARNING: CPU: 1 PID: 5092 at include/linux/backing-dev.h:253 inode_to_wb include/linux/backing-dev.h:253 [inline] WARNING: CPU: 1 PID: 5092 at include/linux/backing-dev.h:253 folio_account_dirtied mm/page-writeback.c:2656 [inline] WARNING: CPU: 1 PID: 5092 at include/linux/backing-dev.h:253 __folio_mark_dirty+0xbcb/0xfa0 mm/page-writeback.c:2707 Modules linked in: CPU: 1 PID: 5092 Comm: gfs2_logd Not tainted 6.2.0-rc8-next-20230217-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 RIP: 0010:inode_to_wb include/linux/backing-dev.h:253 [inline] RIP: 0010:folio_account_dirtied mm/page-writeback.c:2656 [inline] RIP: 0010:__folio_mark_dirty+0xbcb/0xfa0 mm/page-writeback.c:2707 Code: 78 70 48 89 44 24 10 e8 63 fd 62 08 31 ff 89 c6 89 44 24 10 e8 26 88 d1 ff 8b 44 24 10 85 c0 0f 85 42 f9 ff ff e8 c5 8b d1 ff <0f> 0b e9 36 f9 ff ff e8 b9 8b d1 ff e8 74 fd b9 ff 31 ff 41 89 c4 RSP: 0018:ffffc90003bffb90 EFLAGS: 00010093 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff8880189e8000 RSI: ffffffff81b3079b RDI: 0000000000000005 RBP: ffffea0001d5b780 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000003 R12: 0000000000000001 R13: ffffffff8e787c80 R14: 0000000000000293 R15: ffff888021d94c50 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f898e29501d CR3: 000000007b19a000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_buffer_dirty+0x3e8/0x570 fs/buffer.c:1148 gfs2_unpin+0x109/0xcf0 fs/gfs2/lops.c:111 buf_lo_after_commit+0x144/0x210 fs/gfs2/lops.c:747 lops_after_commit fs/gfs2/lops.h:49 [inline] gfs2_log_flush+0x140f/0x2900 fs/gfs2/log.c:1116 gfs2_logd+0x348/0xcc0 fs/gfs2/log.c:1328 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308