------------[ cut here ]------------ WARNING: CPU: 0 PID: 5082 at include/linux/backing-dev.h:254 inode_to_wb include/linux/backing-dev.h:251 [inline] WARNING: CPU: 0 PID: 5082 at include/linux/backing-dev.h:254 folio_account_dirtied mm/page-writeback.c:2694 [inline] WARNING: CPU: 0 PID: 5082 at include/linux/backing-dev.h:254 __folio_mark_dirty+0x879/0xe20 mm/page-writeback.c:2748 Modules linked in: CPU: 0 PID: 5082 Comm: gfs2_logd/syz:s Not tainted 6.10.0-rc5-syzkaller-00253-gde0a9f448633 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:inode_to_wb include/linux/backing-dev.h:251 [inline] RIP: 0010:folio_account_dirtied mm/page-writeback.c:2694 [inline] RIP: 0010:__folio_mark_dirty+0x879/0xe20 mm/page-writeback.c:2748 Code: d3 8b e8 3a af 88 ff 90 0f 0b 90 90 e9 81 f9 ff ff e8 cb 83 c6 ff 4c 89 f7 48 8b 34 24 e8 ff 11 31 00 eb 87 e8 b8 83 c6 ff 90 <0f> 0b 90 e9 cd fb ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 95 f9 RSP: 0018:ffffc9000409f890 EFLAGS: 00010093 RAX: ffffffff81cfa598 RBX: 0000000000000000 RCX: ffff888023a4da00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff88801d494d00 R08: ffffffff81cfa161 R09: 1ffff11003a929a0 R10: dffffc0000000000 R11: ffffed1003a929a1 R12: 0000000000000001 R13: ffff88801d494b88 R14: ffffea0001adb140 R15: 1ffff11003a929a0 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055555c957650 CR3: 000000001f25c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_buffer_dirty+0x2a4/0x520 fs/buffer.c:1207 gfs2_unpin+0x129/0xa60 fs/gfs2/lops.c:111 buf_lo_after_commit+0x14f/0x1a0 fs/gfs2/lops.c:738 lops_after_commit fs/gfs2/lops.h:51 [inline] gfs2_log_flush+0x118d/0x2610 fs/gfs2/log.c:1123 gfs2_logd+0x2f9/0xf80 fs/gfs2/log.c:1326 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244