------------[ cut here ]------------ WARNING: CPU: 1 PID: 5005 at include/linux/backing-dev.h:288 account_page_dirtied mm/page-writeback.c:2474 [inline] WARNING: CPU: 1 PID: 5005 at include/linux/backing-dev.h:288 __set_page_dirty+0xa69/0xd40 mm/page-writeback.c:2522 Modules linked in: CPU: 1 PID: 5005 Comm: syz.4.220 Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:inode_to_wb include/linux/backing-dev.h:285 [inline] RIP: 0010:account_page_dirtied mm/page-writeback.c:2474 [inline] RIP: 0010:__set_page_dirty+0xa69/0xd40 mm/page-writeback.c:2522 Code: 0d d5 ff 49 ff cf e9 6b fc ff ff e8 41 0d d5 ff 48 ff cb e9 fb fb ff ff e8 34 0d d5 ff 48 ff cb e9 c9 fc ff ff e8 27 0d d5 ff <0f> 0b 43 80 3c 2f 00 0f 85 b1 f9 ff ff e9 b4 f9 ff ff 89 d9 80 e1 RSP: 0018:ffffc90003da7b10 EFLAGS: 00010087 RAX: ffffffff81ab6679 RBX: ffff8881408f5a70 RCX: 0000000000080000 RDX: ffffc9000e403000 RSI: 00000000000269bc RDI: 00000000000269bd RBP: 0000000000000000 R08: ffffffff81ab6023 R09: fffffbfff1bd2d3e R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881408f58f8 R13: dffffc0000000000 R14: ffffea00008ae500 R15: 1ffff1102811eb4e FS: 00007f672de036c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055557d573808 CR3: 000000001e8c1000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_buffer_dirty+0x2e4/0x4b0 fs/buffer.c:1108 gfs2_unpin+0x11e/0xa50 fs/gfs2/lops.c:111 buf_lo_after_commit+0x14b/0x1a0 fs/gfs2/lops.c:750 lops_after_commit fs/gfs2/lops.h:49 [inline] gfs2_log_flush+0x11e0/0x2680 fs/gfs2/log.c:1108 gfs2_sync_fs+0x6c/0xb0 fs/gfs2/super.c:649 iterate_supers+0x127/0x1e0 fs/super.c:718 ksys_sync+0xd7/0x1c0 fs/sync.c:104 __do_sys_sync+0xa/0x10 fs/sync.c:113 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f672ff8b819 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:00007f672de03038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 00007f6730142fa0 RCX: 00007f672ff8b819 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f6730142fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f6730142fa0 R15: 00007ffddf4ac7c8