------------[ cut here ]------------ WARNING: CPU: 1 PID: 7484 at include/linux/backing-dev.h:256 inode_to_wb include/linux/backing-dev.h:252 [inline] WARNING: CPU: 1 PID: 7484 at include/linux/backing-dev.h:256 folio_account_dirtied mm/page-writeback.c:2640 [inline] WARNING: CPU: 1 PID: 7484 at include/linux/backing-dev.h:256 __folio_mark_dirty+0x912/0x1110 mm/page-writeback.c:2691 Modules linked in: CPU: 1 PID: 7484 Comm: syz.1.526 Not tainted 6.6.93-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:inode_to_wb include/linux/backing-dev.h:252 [inline] RIP: 0010:folio_account_dirtied mm/page-writeback.c:2640 [inline] RIP: 0010:__folio_mark_dirty+0x912/0x1110 mm/page-writeback.c:2691 Code: e9 92 f8 ff ff e8 de bf cd ff 0f 0b e9 d9 f8 ff ff e8 d2 bf cd ff 48 89 df 48 8b 74 24 28 e8 e5 c3 2d 00 eb a6 e8 be bf cd ff <0f> 0b e9 84 fb ff ff 89 c2 80 e2 07 80 c2 03 38 ca 0f 8c f2 f8 ff RSP: 0018:ffffc900037574e0 EFLAGS: 00010083 RAX: ffffffff81b7d722 RBX: ffffea00016b8ec0 RCX: 0000000000080000 RDX: ffffc9000c40a000 RSI: 000000000000fd01 RDI: 000000000000fd02 RBP: 0000000000000001 R08: ffffea00016b8ec7 R09: 1ffffd40002d71d8 R10: dffffc0000000000 R11: fffff940002d71d9 R12: 1ffff110291bdb11 R13: ffff888148ded710 R14: 0000000000000000 R15: ffff888148ded888 FS: 00007f8330dff6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ef0aff8 CR3: 000000006b3cb000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_buffer_dirty+0x26e/0x4d0 fs/buffer.c:1212 gfs2_unpin+0x125/0x9a0 fs/gfs2/lops.c:111 buf_lo_after_commit+0x15e/0x1b0 fs/gfs2/lops.c:745 lops_after_commit fs/gfs2/lops.h:51 [inline] gfs2_log_flush+0x1094/0x24b0 fs/gfs2/log.c:1117 gfs2_write_inode+0x23f/0x3d0 fs/gfs2/super.c:457 write_inode fs/fs-writeback.c:1473 [inline] __writeback_single_inode+0x705/0xee0 fs/fs-writeback.c:1690 writeback_single_inode+0x211/0x720 fs/fs-writeback.c:1746 sync_inode_metadata+0xba/0x110 fs/fs-writeback.c:2811 gfs2_fsync+0x1b6/0x350 fs/gfs2/file.c:762 generic_write_sync include/linux/fs.h:2651 [inline] gfs2_file_write_iter+0xc72/0xe10 fs/gfs2/file.c:1160 call_write_iter include/linux/fs.h:2018 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x43b/0x940 fs/read_write.c:584 ksys_write+0x147/0x250 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f8330f8e929 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:00007f8330dff038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f83311b5fa0 RCX: 00007f8330f8e929 RDX: 000000000000001c RSI: 00002000000001c0 RDI: 0000000000000006 RBP: 00007f8331010b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f83311b5fa0 R15: 00007ffd3baf45b8