------------[ cut here ]------------ WARNING: CPU: 0 PID: 5307 at ./include/linux/backing-dev.h:255 inode_to_wb include/linux/backing-dev.h:251 [inline] WARNING: CPU: 0 PID: 5307 at ./include/linux/backing-dev.h:255 folio_account_dirtied mm/page-writeback.c:2714 [inline] WARNING: CPU: 0 PID: 5307 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: 5307 Comm: gfs2_logd/syz:s Not tainted 6.15.0-rc4-syzkaller-00040-g8bac8898fe39 #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 80 39 74 8b e8 9f d6 8a ff 90 0f 0b 90 90 e9 9e f7 ff ff e8 c0 78 c6 ff 90 0f 0b 90 e9 23 fe ff ff e8 b2 78 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:ffffc9000d40f7e8 EFLAGS: 00010093 RAX: ffffffff81f9461e RBX: ffffea00010b9100 RCX: ffff88801f190000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffff88801c15ccff R09: 1ffff1100382b99f R10: dffffc0000000000 R11: ffffed100382b9a0 R12: ffff88801c15cb88 R13: 1ffff1100382b99f R14: 0000000000000000 R15: ffff88801c15ccf8 FS: 0000000000000000(0000) GS:ffff88808d6cc000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6f86dff000 CR3: 000000000dd36000 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