------------[ cut here ]------------ WARNING: CPU: 0 PID: 5315 at ./include/linux/backing-dev.h:255 inode_to_wb include/linux/backing-dev.h:251 [inline] WARNING: CPU: 0 PID: 5315 at ./include/linux/backing-dev.h:255 folio_account_dirtied mm/page-writeback.c:2714 [inline] WARNING: CPU: 0 PID: 5315 at ./include/linux/backing-dev.h:255 __folio_mark_dirty+0xa4f/0xeb0 mm/page-writeback.c:2766 Modules linked in: CPU: 0 UID: 0 PID: 5315 Comm: gfs2_logd/syz:s Not tainted 6.15.0-rc7-syzkaller-00014-gd608703fcdd9 #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:inode_to_wb include/linux/backing-dev.h:251 [inline] RIP: 0010:folio_account_dirtied mm/page-writeback.c:2714 [inline] RIP: 0010:__folio_mark_dirty+0xa4f/0xeb0 mm/page-writeback.c:2766 Code: 48 c7 c7 c0 3e 74 8b e8 8f d0 8a ff 90 0f 0b 90 90 e9 9e f7 ff ff e8 f0 73 c6 ff 90 0f 0b 90 e9 23 fe ff ff e8 e2 73 c6 ff 90 <0f> 0b 90 e9 3e fa ff ff 89 c2 80 e2 07 80 c2 03 38 ca 0f 8c b6 f7 RSP: 0018:ffffc9000d4977e8 EFLAGS: 00010093 RAX: ffffffff81f97dee RBX: ffffea000107d680 RCX: ffff88801f96c880 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffff8880320cccff R09: 1ffff1100641999f R10: dffffc0000000000 R11: ffffed10064199a0 R12: ffff8880320ccb88 R13: 1ffff1100641999f R14: 0000000000000000 R15: ffff8880320cccf8 FS: 0000000000000000(0000) GS:ffff88808d6c2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffdd79fa520 CR3: 000000003f485000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_buffer_dirty+0x271/0x410 fs/buffer.c:1209 gfs2_unpin+0x125/0x9c0 fs/gfs2/lops.c:111 buf_lo_after_commit+0x15e/0x1b0 fs/gfs2/lops.c:736 lops_after_commit fs/gfs2/lops.h:51 [inline] gfs2_log_flush+0x109f/0x24c0 fs/gfs2/log.c:1115 gfs2_logd+0x2f8/0x1360 fs/gfs2/log.c:1318 kthread+0x70e/0x8a0 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245