------------[ cut here ]------------ WARNING: CPU: 0 PID: 5070 at include/linux/backing-dev.h:256 folio_account_dirtied+0x4e9/0x6e0 mm/page-writeback.c:2677 Modules linked in: CPU: 0 PID: 5070 Comm: syz-executor183 Not tainted 6.1.0-syzkaller-13781-gaeba12b26c79 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:inode_to_wb include/linux/backing-dev.h:253 [inline] RIP: 0010:folio_account_dirtied+0x4e9/0x6e0 mm/page-writeback.c:2677 Code: 5d 41 5e 41 5f 5d c3 e8 e5 48 cf ff 4c 89 ef 4c 89 e6 48 83 c4 20 5b 41 5c 41 5d 41 5e 41 5f 5d e9 7c 64 2c 00 e8 c7 48 cf ff <0f> 0b e9 8a fd ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 7a fb ff RSP: 0018:ffffc90003c3f1b0 EFLAGS: 00010093 RAX: ffffffff81bc9229 RBX: 0000000000000000 RCX: ffff888023080000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff88801e85c978 R08: ffffffff81bc8fad R09: ffffed1003d0b930 R10: ffffed1003d0b930 R11: 1ffff11003d0b92f R12: dffffc0000000000 R13: ffffea0000a78a80 R14: 0000000000000001 R15: 1ffff11003d0b92f FS: 000055555558f300(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200000c0 CR3: 0000000079067000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __folio_mark_dirty+0x125/0x260 mm/page-writeback.c:2728 __set_page_dirty include/linux/pagemap.h:1052 [inline] mark_buffer_dirty+0x253/0x550 fs/buffer.c:1105 gfs2_unpin+0x10b/0xa20 fs/gfs2/lops.c:111 buf_lo_after_commit+0x172/0x1d0 fs/gfs2/lops.c:747 lops_after_commit fs/gfs2/lops.h:49 [inline] gfs2_log_flush+0x1179/0x26a0 fs/gfs2/log.c:1107 gfs2_trans_end+0x392/0x560 fs/gfs2/trans.c:158 alloc_dinode+0x44f/0x5c0 fs/gfs2/inode.c:421 gfs2_create_inode+0x1005/0x1b80 fs/gfs2/inode.c:727 gfs2_atomic_open+0xeb/0x230 fs/gfs2/inode.c:1302 atomic_open fs/namei.c:3276 [inline] lookup_open fs/namei.c:3384 [inline] open_last_lookups fs/namei.c:3481 [inline] path_openat+0xf15/0x2dd0 fs/namei.c:3711 do_filp_open+0x264/0x4f0 fs/namei.c:3741 do_sys_openat2+0x124/0x4e0 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_sys_open fs/open.c:1334 [inline] __se_sys_open fs/open.c:1330 [inline] __x64_sys_open+0x221/0x270 fs/open.c:1330 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f09158451c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 14 00 00 90 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffe85648078 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f09158451c9 RDX: 0000000000000000 RSI: 000000000014da42 RDI: 00000000200000c0 RBP: 0000000000000000 R08: 0000000000000002 R09: 00007f09158eaec0 R10: 00007ffe85647f40 R11: 0000000000000246 R12: 00007ffe856480a0 R13: 0000000000000000 R14: 431bde82d7b634db R15: 0000000000000000