------------[ cut here ]------------ WARNING: CPU: 1 PID: 5651 at include/linux/backing-dev.h:288 account_page_dirtied mm/page-writeback.c:2474 [inline] WARNING: CPU: 1 PID: 5651 at include/linux/backing-dev.h:288 __set_page_dirty+0xa69/0xd40 mm/page-writeback.c:2522 Modules linked in: CPU: 1 PID: 5651 Comm: syz-executor 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:ffffc900013af830 EFLAGS: 00010093 RAX: ffffffff81ab6679 RBX: ffff888145d82b70 RCX: ffff88802a968000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff81ab6023 R09: fffffbfff1bd2d3e R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888145d829f8 R13: dffffc0000000000 R14: ffffea000142a800 R15: 1ffff11028bb056e FS: 0000555556385500(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000084781000 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 do_sync+0xa19/0xc60 fs/gfs2/quota.c:986 gfs2_quota_sync+0x379/0x810 fs/gfs2/quota.c:1329 gfs2_sync_fs+0x49/0xb0 fs/gfs2/super.c:647 sync_filesystem+0xe8/0x220 fs/sync.c:56 generic_shutdown_super+0x6b/0x310 fs/super.c:448 kill_block_super+0x7a/0xe0 fs/super.c:1427 deactivate_locked_super+0xa0/0x110 fs/super.c:335 cleanup_mnt+0x44e/0x500 fs/namespace.c:1143 task_work_run+0x129/0x1a0 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x106/0x130 kernel/entry/common.c:181 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x5d/0x240 kernel/entry/common.c:307 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f6d5c42ab47 Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffeba02f488 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f6d5c49c5fc RCX: 00007f6d5c42ab47 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffeba02f540 RBP: 00007ffeba02f540 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffeba0305c0 R13: 00007f6d5c49c5fc R14: 00000000000511d5 R15: 00007ffeba030600