------------[ cut here ]------------ WARNING: CPU: 0 PID: 5080 at include/linux/backing-dev.h:253 inode_to_wb include/linux/backing-dev.h:253 [inline] WARNING: CPU: 0 PID: 5080 at include/linux/backing-dev.h:253 folio_account_dirtied mm/page-writeback.c:2656 [inline] WARNING: CPU: 0 PID: 5080 at include/linux/backing-dev.h:253 __folio_mark_dirty+0xba8/0xf70 mm/page-writeback.c:2707 Modules linked in: CPU: 0 PID: 5080 Comm: syz-executor221 Not tainted 6.2.0-rc5-next-20230127-syzkaller-08766-ge2f86c02fdc9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:inode_to_wb include/linux/backing-dev.h:253 [inline] RIP: 0010:folio_account_dirtied mm/page-writeback.c:2656 [inline] RIP: 0010:__folio_mark_dirty+0xba8/0xf70 mm/page-writeback.c:2707 Code: 78 70 48 89 44 24 10 e8 76 f4 5c 08 31 ff 89 c6 89 44 24 10 e8 c9 df d1 ff 8b 44 24 10 85 c0 0f 85 62 f9 ff ff e8 68 e3 d1 ff <0f> 0b e9 56 f9 ff ff e8 5c e3 d1 ff e8 b7 56 ba ff 31 ff 41 89 c4 RSP: 0018:ffffc90003c9f3a8 EFLAGS: 00010093 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff88807b188000 RSI: ffffffff81b2d1b8 RDI: 0000000000000005 RBP: ffffea0001d6b480 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88801b93c978 R13: ffffffff8e74ae80 R14: 0000000000000293 R15: ffff888021b88c48 FS: 0000555556a3e300(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200001c8 CR3: 000000001ffa7000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_buffer_dirty+0x3e8/0x570 fs/buffer.c:1147 gfs2_unpin+0x109/0xcf0 fs/gfs2/lops.c:111 buf_lo_after_commit+0x144/0x210 fs/gfs2/lops.c:747 lops_after_commit fs/gfs2/lops.h:49 [inline] gfs2_log_flush+0x140f/0x2900 fs/gfs2/log.c:1116 gfs2_trans_end+0x6db/0xa00 fs/gfs2/trans.c:158 alloc_dinode fs/gfs2/inode.c:425 [inline] gfs2_create_inode+0x16f4/0x3460 fs/gfs2/inode.c:731 gfs2_atomic_open+0xb3/0x250 fs/gfs2/inode.c:1310 atomic_open fs/namei.c:3279 [inline] lookup_open.isra.0+0xcdf/0x1400 fs/namei.c:3387 open_last_lookups fs/namei.c:3484 [inline] path_openat+0x975/0x2750 fs/namei.c:3712 do_filp_open+0x1ba/0x410 fs/namei.c:3742 do_sys_openat2+0x16d/0x4c0 fs/open.c:1312 do_sys_open fs/open.c:1328 [inline] __do_sys_openat fs/open.c:1344 [inline] __se_sys_openat fs/open.c:1339 [inline] __x64_sys_openat+0x143/0x1f0 fs/open.c:1339 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f88cc2d7229 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:00007ffddeee9008 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f88cc2d7229 RDX: 000000000000275a RSI: 00000000200001c0 RDI: 00000000ffffff9c RBP: 0000000000000000 R08: 0000000000000002 R09: 00007f88cc357ec0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffddeee9030 R13: 0000000000000000 R14: 431bde82d7b634db R15: 0000000000000000