------------[ cut here ]------------ WARNING: CPU: 1 PID: 5847 at include/linux/backing-dev.h:251 inode_to_wb include/linux/backing-dev.h:251 [inline] WARNING: CPU: 1 PID: 5847 at include/linux/backing-dev.h:251 folio_account_dirtied mm/page-writeback.c:2743 [inline] WARNING: CPU: 1 PID: 5847 at include/linux/backing-dev.h:251 __folio_mark_dirty+0xa60/0xec0 mm/page-writeback.c:2797 Modules linked in: CPU: 1 UID: 0 PID: 5847 Comm: gfs2_logd/syz:s Not tainted 6.12.0-rc7-syzkaller-00042-gf1b785f4c787 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:inode_to_wb include/linux/backing-dev.h:251 [inline] RIP: 0010:folio_account_dirtied mm/page-writeback.c:2743 [inline] RIP: 0010:__folio_mark_dirty+0xa60/0xec0 mm/page-writeback.c:2797 Code: ff ff 48 8d 78 70 e8 9f b7 5c 09 31 ff 89 c6 89 44 24 10 e8 02 b1 c8 ff 8b 44 24 10 85 c0 0f 85 42 fa ff ff e8 b1 ae c8 ff 90 <0f> 0b 90 e9 34 fa ff ff e8 a3 ae c8 ff 90 0f 0b 90 e9 51 f6 ff ff RSP: 0018:ffffc900036ffb50 EFLAGS: 00010093 RAX: 0000000000000000 RBX: ffffea0001e82cc0 RCX: ffffffff81c4cb8e RDX: ffff88802b695a00 RSI: ffffffff81c4cb9f RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000003 R12: ffff88807a39e258 R13: ffff888023894cf8 R14: ffff888023894b58 R15: ffffffff905fb3f8 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2b89bff000 CR3: 000000007abea000 CR4: 0000000000350ef0 Call Trace: mark_buffer_dirty+0x368/0x440 fs/buffer.c:1201 gfs2_unpin+0x103/0xc40 fs/gfs2/lops.c:111 buf_lo_after_commit+0x141/0x210 fs/gfs2/lops.c:738 lops_after_commit fs/gfs2/lops.h:51 [inline] gfs2_log_flush+0xcb4/0x29a0 fs/gfs2/log.c:1115 gfs2_logd+0x2a4/0xfe0 fs/gfs2/log.c:1318 kthread+0x2c4/0x3a0 kernel/kthread.c:389 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244