------------[ cut here ]------------ WARNING: CPU: 1 PID: 5841 at include/linux/backing-dev.h:256 inode_to_wb include/linux/backing-dev.h:252 [inline] WARNING: CPU: 1 PID: 5841 at include/linux/backing-dev.h:256 folio_account_dirtied mm/page-writeback.c:2640 [inline] WARNING: CPU: 1 PID: 5841 at include/linux/backing-dev.h:256 __folio_mark_dirty+0x912/0x1110 mm/page-writeback.c:2691 Modules linked in: CPU: 1 PID: 5841 Comm: syz.1.5 Not tainted 6.6.93-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:inode_to_wb include/linux/backing-dev.h:252 [inline] RIP: 0010:folio_account_dirtied mm/page-writeback.c:2640 [inline] RIP: 0010:__folio_mark_dirty+0x912/0x1110 mm/page-writeback.c:2691 Code: e9 92 f8 ff ff e8 de bf cd ff 0f 0b e9 d9 f8 ff ff e8 d2 bf cd ff 48 89 df 48 8b 74 24 28 e8 e5 c3 2d 00 eb a6 e8 be bf cd ff <0f> 0b e9 84 fb ff ff 89 c2 80 e2 07 80 c2 03 38 ca 0f 8c f2 f8 ff RSP: 0018:ffffc90004c172c0 EFLAGS: 00010083 RAX: ffffffff81b7d722 RBX: ffffea0000c09000 RCX: 0000000000080000 RDX: ffffc9000c9cb000 RSI: 0000000000020b4b RDI: 0000000000020b4c RBP: 0000000000000001 R08: ffff888148c9588f R09: 1ffff11029192b11 R10: dffffc0000000000 R11: ffffed1029192b12 R12: 1ffff11029192b11 R13: ffff888148c95710 R14: 0000000000000000 R15: ffff888148c95888 FS: 00007fad833716c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000007cefe000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_buffer_dirty+0x26e/0x4d0 fs/buffer.c:1212 gfs2_unpin+0x125/0x9a0 fs/gfs2/lops.c:111 buf_lo_after_commit+0x15e/0x1b0 fs/gfs2/lops.c:745 lops_after_commit fs/gfs2/lops.h:51 [inline] gfs2_log_flush+0x1094/0x24b0 fs/gfs2/log.c:1117 gfs2_trans_end+0x37b/0x570 fs/gfs2/trans.c:158 alloc_dinode+0x434/0x580 fs/gfs2/inode.c:432 gfs2_create_inode+0xcc1/0x1440 fs/gfs2/inode.c:738 gfs2_atomic_open+0xd2/0x220 fs/gfs2/inode.c:1314 atomic_open fs/namei.c:3351 [inline] lookup_open fs/namei.c:3459 [inline] open_last_lookups fs/namei.c:3556 [inline] path_openat+0xf27/0x3190 fs/namei.c:3786 do_filp_open+0x1c5/0x3d0 fs/namei.c:3816 do_sys_openat2+0x12c/0x1c0 fs/open.c:1419 do_sys_open fs/open.c:1434 [inline] __do_sys_open fs/open.c:1442 [inline] __se_sys_open fs/open.c:1438 [inline] __x64_sys_open+0x11f/0x140 fs/open.c:1438 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fad8258e929 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fad83371038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fad827b5fa0 RCX: 00007fad8258e929 RDX: 0000000000000080 RSI: 000000000008c240 RDI: 0000200000000000 RBP: 00007fad82610b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fad827b5fa0 R15: 00007ffcf61715f8