loop0: detected capacity change from 0 to 32768 gfs2: fsid=syz:syz: Trying to join cluster "lock_nolock", "syz:syz" gfs2: fsid=syz:syz: Now mounting FS (format 1801)... gfs2: fsid=syz:syz.0: journal 0 mapped with 1 extents in 0ms gfs2: fsid=syz:syz.0: first mount done, others may mount ------------[ cut here ]------------ WARNING: CPU: 0 PID: 5313 at ./include/linux/backing-dev.h:255 inode_to_wb include/linux/backing-dev.h:251 [inline] WARNING: CPU: 0 PID: 5313 at ./include/linux/backing-dev.h:255 folio_account_dirtied mm/page-writeback.c:2714 [inline] WARNING: CPU: 0 PID: 5313 at ./include/linux/backing-dev.h:255 __folio_mark_dirty+0xa4f/0xeb0 mm/page-writeback.c:2766 Modules linked in: CPU: 0 UID: 0 PID: 5313 Comm: syz.0.0 Not tainted 6.15.0-syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:inode_to_wb include/linux/backing-dev.h:251 [inline] RIP: 0010:folio_account_dirtied mm/page-writeback.c:2714 [inline] RIP: 0010:__folio_mark_dirty+0xa4f/0xeb0 mm/page-writeback.c:2766 Code: 48 c7 c7 00 3e 74 8b e8 7f d0 8a ff 90 0f 0b 90 90 e9 9e f7 ff ff e8 e0 73 c6 ff 90 0f 0b 90 e9 23 fe ff ff e8 d2 73 c6 ff 90 <0f> 0b 90 e9 3e fa ff ff 89 c2 80 e2 07 80 c2 03 38 ca 0f 8c b6 f7 RSP: 0018:ffffc9000f6e7468 EFLAGS: 00010087 RAX: ffffffff81f97dfe RBX: ffffea00014a7c80 RCX: 0000000000100000 RDX: ffffc9000deda000 RSI: 00000000000008b3 RDI: 00000000000008b4 RBP: 0000000000000001 R08: ffff888031d54cff R09: 1ffff110063aa99f R10: dffffc0000000000 R11: ffffed10063aa9a0 R12: ffff888031d54b88 R13: 1ffff110063aa99f R14: 0000000000000000 R15: ffff888031d54cf8 FS: 00007facc7d356c0(0000) GS:ffff88808d6c2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007facbc1bd000 CR3: 0000000042e71000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_buffer_dirty+0x271/0x410 fs/buffer.c:1212 gfs2_unpin+0x125/0x9c0 fs/gfs2/lops.c:111 buf_lo_after_commit+0x15e/0x1b0 fs/gfs2/lops.c:736 lops_after_commit fs/gfs2/lops.h:51 [inline] gfs2_log_flush+0x109f/0x24c0 fs/gfs2/log.c:1115 gfs2_write_inode+0x23f/0x3e0 fs/gfs2/super.c:457 write_inode fs/fs-writeback.c:1525 [inline] __writeback_single_inode+0x6ee/0xff0 fs/fs-writeback.c:1745 writeback_single_inode+0x1f3/0x6a0 fs/fs-writeback.c:1801 sync_inode_metadata+0xb1/0x100 fs/fs-writeback.c:2883 gfs2_fsync+0x1a6/0x370 fs/gfs2/file.c:763 generic_write_sync include/linux/fs.h:2976 [inline] gfs2_file_write_iter+0xeb7/0x1100 fs/gfs2/file.c:1167 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x548/0xa90 fs/read_write.c:684 ksys_write+0x145/0x250 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7facc6f8e969 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007facc7d35038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007facc71b5fa0 RCX: 00007facc6f8e969 RDX: 0000000000000009 RSI: 0000200000000140 RDI: 000000000000000b RBP: 00007facc7010ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007facc71b5fa0 R15: 00007fff89c8aa88