------------[ cut here ]------------ WARNING: CPU: 0 PID: 24015 at include/linux/backing-dev.h:256 folio_account_dirtied+0x4e9/0x6e0 mm/page-writeback.c:2677 Modules linked in: CPU: 0 PID: 24015 Comm: syz-executor.1 Not tainted 6.2.0-rc6-syzkaller-00083-ge7368fd30165 #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+0x4e9/0x6e0 mm/page-writeback.c:2677 Code: 5d 41 5e 41 5f 5d c3 e8 a5 3b cf ff 4c 89 ef 4c 89 e6 48 83 c4 20 5b 41 5c 41 5d 41 5e 41 5f 5d e9 5c 6c 2c 00 e8 87 3b 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:ffffc9000363f1b0 EFLAGS: 00010046 RAX: ffffffff81bb90e9 RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc90004323000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffff888140c4d478 R08: ffffffff81bb8e6d R09: fffff940003c2401 R10: fffff940003c2401 R11: 1ffffd40003c2400 R12: dffffc0000000000 R13: ffffea0001e12000 R14: 0000000000000001 R15: 1ffff11028189a8f FS: 00007f495e6c5700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1a7e2cd000 CR3: 000000001e0d4000 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:1116 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_openat fs/open.c:1342 [inline] __se_sys_openat fs/open.c:1337 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1337 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:0x7f495d88c0c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f495e6c5168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f495d9abf80 RCX: 00007f495d88c0c9 RDX: 000000000000275a RSI: 0000000020000080 RDI: ffffffffffffff9c RBP: 00007f495d8e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff3be0061f R14: 00007f495e6c5300 R15: 0000000000022000