------------[ cut here ]------------ WARNING: CPU: 1 PID: 3630 at include/linux/backing-dev.h:246 folio_account_dirtied+0x4e9/0x6e0 mm/page-writeback.c:2565 Modules linked in: CPU: 1 PID: 3630 Comm: syz-executor183 Not tainted 6.1.0-rc6-syzkaller-00308-g644e9524388a #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:243 [inline] RIP: 0010:folio_account_dirtied+0x4e9/0x6e0 mm/page-writeback.c:2565 Code: 5d 41 5e 41 5f 5d c3 e8 75 74 d0 ff 4c 89 ef 4c 89 e6 48 83 c4 20 5b 41 5c 41 5d 41 5e 41 5f 5d e9 5c ba 2b 00 e8 57 74 d0 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:ffffc90003a4f1f0 EFLAGS: 00010093 RAX: ffffffff81ba2359 RBX: 0000000000000000 RCX: ffff88807d323a80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff88801e864978 R08: ffffffff81ba20dd R09: ffffed1003d0c930 R10: ffffed1003d0c930 R11: 1ffff11003d0c92f R12: dffffc0000000000 R13: ffffea000079cfc0 R14: 0000000000000001 R15: 1ffff11003d0c92f FS: 00005555563bd300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055eb49a965e8 CR3: 000000001e738000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __folio_mark_dirty+0x125/0x260 mm/page-writeback.c:2616 __set_page_dirty include/linux/pagemap.h:1053 [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+0x411/0x570 fs/gfs2/inode.c:410 gfs2_create_inode+0xfff/0x1c30 fs/gfs2/inode.c:711 gfs2_atomic_open+0xeb/0x230 fs/gfs2/inode.c:1292 atomic_open fs/namei.c:3276 [inline] lookup_open fs/namei.c:3384 [inline] open_last_lookups fs/namei.c:3481 [inline] path_openat+0xf39/0x2df0 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_creat fs/open.c:1402 [inline] __se_sys_creat fs/open.c:1396 [inline] __x64_sys_creat+0x11f/0x160 fs/open.c:1396 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:0x7f2fd4baa7a9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 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:00007ffd26159398 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f2fd4baa7a9 RDX: 0000000000000073 RSI: 0000000000000000 RDI: 0000000020000000 RBP: 00007f2fd4b6a040 R08: 00000000000124e2 R09: 0000000000000000 R10: 00007ffd26159260 R11: 0000000000000246 R12: 00007f2fd4b6a0d0 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000