------------[ cut here ]------------ WARNING: CPU: 0 PID: 3632 at include/linux/backing-dev.h:246 folio_account_dirtied+0x4e9/0x6e0 mm/page-writeback.c:2565 Modules linked in: CPU: 0 PID: 3632 Comm: syz-executor301 Not tainted 6.1.0-rc8-syzkaller-00152-g3ecc37918c80 #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 d5 6d d0 ff 4c 89 ef 4c 89 e6 48 83 c4 20 5b 41 5c 41 5d 41 5e 41 5f 5d e9 6c c5 2b 00 e8 b7 6d 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:ffffc90003b5f1d0 EFLAGS: 00010093 RAX: ffffffff81ba32e9 RBX: 0000000000000000 RCX: ffff88802338ba80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff888140db2878 R08: ffffffff81ba306d R09: ffffed10281b6510 R10: ffffed10281b6510 R11: 1ffff110281b650f R12: dffffc0000000000 R13: ffffea00009efe40 R14: 0000000000000001 R15: 1ffff110281b650f FS: 00005555567a8300(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200001c8 CR3: 000000002675b000 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: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_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:0x7efe2a14b209 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:00007ffc0564a558 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007efe2a14b209 RDX: 000000000000275a RSI: 00000000200001c0 RDI: 00000000ffffff9c RBP: 0000000000000000 R08: 0000000000000002 R09: 00007efe2a1cbec0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc0564a580 R13: 0000000000000000 R14: 431bde82d7b634db R15: 0000000000000000