gfs2: fsid=syz:syz.0: first mount done, others may mount ------------[ cut here ]------------ WARNING: CPU: 0 PID: 3541 at include/linux/backing-dev.h:246 folio_account_dirtied mm/page-writeback.c:2565 [inline] WARNING: CPU: 0 PID: 3541 at include/linux/backing-dev.h:246 __folio_mark_dirty+0x924/0x1140 mm/page-writeback.c:2616 Modules linked in: CPU: 0 PID: 3541 Comm: syz-executor320 Not tainted 6.1.90-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:inode_to_wb include/linux/backing-dev.h:243 [inline] RIP: 0010:folio_account_dirtied mm/page-writeback.c:2565 [inline] RIP: 0010:__folio_mark_dirty+0x924/0x1140 mm/page-writeback.c:2616 Code: e9 90 f8 ff ff e8 7c ec cf ff 0f 0b e9 e3 f8 ff ff e8 70 ec cf ff 4c 89 f7 48 8b 74 24 20 e8 53 91 2e 00 eb 9f e8 5c ec cf ff <0f> 0b e9 36 fb ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c f8 f8 ff RSP: 0018:ffffc9000399eff8 EFLAGS: 00010093 RAX: ffffffff81baa0f4 RBX: 0000000000000000 RCX: ffff88802780bb80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff888148d94978 R08: ffffffff81ba9c24 R09: ffffed10291b2930 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: ffff888148d94800 R14: ffffea00004d2900 R15: 1ffff110291b292f FS: 0000555556c8b480(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000559fa61cdde8 CR3: 0000000078350000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __set_page_dirty include/linux/pagemap.h:1088 [inline] mark_buffer_dirty+0x34f/0x7d0 fs/buffer.c:1105 gfs2_unpin+0x129/0xa60 fs/gfs2/lops.c:111 buf_lo_after_commit+0x14b/0x1a0 fs/gfs2/lops.c:747 lops_after_commit fs/gfs2/lops.h:49 [inline] gfs2_log_flush+0x1151/0x2610 fs/gfs2/log.c:1116 gfs2_inplace_reserve+0x1966/0x3940 fs/gfs2/rgrp.c:2188 gfs2_iomap_begin_write fs/gfs2/bmap.c:1017 [inline] gfs2_iomap_begin+0x8b4/0x1470 fs/gfs2/bmap.c:1112 iomap_iter+0x642/0xfc0 fs/iomap/iter.c:74 iomap_file_buffered_write+0x98e/0xb40 fs/iomap/buffered-io.c:822 gfs2_file_buffered_write+0x4e3/0x870 fs/gfs2/file.c:1056 gfs2_file_write_iter+0x415/0xe90 fs/gfs2/file.c:1157 call_write_iter include/linux/fs.h:2265 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x7ae/0xba0 fs/read_write.c:584 ksys_write+0x19c/0x2c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f0fa44c7079 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 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:00007fff820dcd08 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fff820dcd20 RCX: 00007f0fa44c7079 RDX: 00000000ffffff6a RSI: 0000000020000000 RDI: 0000000000000004 RBP: 00007fff820dcd28 R08: 00007fff820dcaa7 R09: 0000000000000000 R10: 0000000000000012 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff820dcf88 R14: 0000000000000001 R15: 0000000000000001