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: 5331 at include/linux/backing-dev.h:254 inode_to_wb include/linux/backing-dev.h:251 [inline] WARNING: CPU: 0 PID: 5331 at include/linux/backing-dev.h:254 folio_account_dirtied mm/page-writeback.c:2743 [inline] WARNING: CPU: 0 PID: 5331 at include/linux/backing-dev.h:254 __folio_mark_dirty+0x907/0xed0 mm/page-writeback.c:2797 Modules linked in: CPU: 0 UID: 0 PID: 5331 Comm: syz.0.0 Not tainted 6.12.0-syzkaller-01892-g8f7c8b88bda4 #0 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:2743 [inline] RIP: 0010:__folio_mark_dirty+0x907/0xed0 mm/page-writeback.c:2797 Code: f9 ff ff e8 1b 9b c4 ff 4c 89 f7 48 8b 34 24 e8 7f 18 38 00 eb 87 e8 08 9b c4 ff 90 0f 0b 90 e9 45 ff ff ff e8 fa 9a c4 ff 90 <0f> 0b 90 e9 40 fb ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 07 f9 RSP: 0018:ffffc9000d23f290 EFLAGS: 00010083 RAX: ffffffff81d04336 RBX: 0000000000000000 RCX: 0000000000100000 RDX: ffffc9000e612000 RSI: 0000000000000833 RDI: 0000000000000834 RBP: ffff888031cbccf8 R08: ffffffff81d03e72 R09: 1ffff1100639799f R10: dffffc0000000000 R11: ffffed10063979a0 R12: 0000000000000001 R13: ffff888031cbcb88 R14: ffffea0001155ac0 R15: 1ffff1100639799f FS: 00007f303cbdb6c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3030dbd000 CR3: 0000000043ed2000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_buffer_dirty+0x2a4/0x520 fs/buffer.c:1201 gfs2_unpin+0x129/0xa60 fs/gfs2/lops.c:111 buf_lo_after_commit+0x14f/0x1a0 fs/gfs2/lops.c:738 lops_after_commit fs/gfs2/lops.h:51 [inline] gfs2_log_flush+0x118d/0x2610 fs/gfs2/log.c:1115 gfs2_write_inode+0x20e/0x3c0 fs/gfs2/super.c:457 write_inode fs/fs-writeback.c:1525 [inline] __writeback_single_inode+0x711/0x10d0 fs/fs-writeback.c:1745 writeback_single_inode+0x1f3/0x660 fs/fs-writeback.c:1801 sync_inode_metadata+0xc4/0x120 fs/fs-writeback.c:2871 gfs2_fsync+0x199/0x360 fs/gfs2/file.c:762 generic_write_sync include/linux/fs.h:2904 [inline] gfs2_file_write_iter+0xd2e/0xff0 fs/gfs2/file.c:1153 do_iter_readv_writev+0x600/0x880 vfs_writev+0x376/0xba0 fs/read_write.c:1050 do_pwritev fs/read_write.c:1146 [inline] __do_sys_pwritev2 fs/read_write.c:1204 [inline] __se_sys_pwritev2+0x196/0x2b0 fs/read_write.c:1195 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f303bd7e819 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:00007f303cbdb038 EFLAGS: 00000246 ORIG_RAX: 0000000000000148 RAX: ffffffffffffffda RBX: 00007f303bf35fa0 RCX: 00007f303bd7e819 RDX: 0000000000000001 RSI: 0000000020000880 RDI: 0000000000000005 RBP: 00007f303bdf175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f303bf35fa0 R15: 00007ffc731cfdf8