------------[ cut here ]------------ WARNING: CPU: 1 PID: 4252 at include/linux/backing-dev.h:246 folio_account_dirtied mm/page-writeback.c:2587 [inline] WARNING: CPU: 1 PID: 4252 at include/linux/backing-dev.h:246 __folio_mark_dirty+0x924/0x1140 mm/page-writeback.c:2638 Modules linked in: CPU: 1 PID: 4252 Comm: syz-executor Not tainted 6.1.118-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:243 [inline] RIP: 0010:folio_account_dirtied mm/page-writeback.c:2587 [inline] RIP: 0010:__folio_mark_dirty+0x924/0x1140 mm/page-writeback.c:2638 Code: e9 90 f8 ff ff e8 2c dc cf ff 0f 0b e9 e3 f8 ff ff e8 20 dc cf ff 4c 89 f7 48 8b 74 24 20 e8 63 a8 2e 00 eb 9f e8 0c dc cf ff <0f> 0b e9 36 fb ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c f8 f8 ff RSP: 0000:ffffc90003dafa38 EFLAGS: 00010093 RAX: ffffffff81baafe4 RBX: 0000000000000000 RCX: ffff8880304cbb80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff888148d71d78 R08: ffffffff81baab14 R09: ffffed10291ae3b0 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: ffff888148d71c00 R14: ffffea0001ec4580 R15: 1ffff110291ae3af FS: 000055555d8b7500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0aaa43b000 CR3: 000000005c1c0000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __set_page_dirty include/linux/pagemap.h:1088 [inline] mark_buffer_dirty+0x34f/0x7d0 fs/buffer.c:1105 gfs2_unpin+0x129/0xa60 fs/gfs2/lops.c:111 buf_lo_after_commit+0x14b/0x1a0 fs/gfs2/lops.c:747 lops_after_commit fs/gfs2/lops.h:49 [inline] gfs2_log_flush+0x1175/0x25d0 fs/gfs2/log.c:1116 gfs2_kill_sb+0x50/0xd0 fs/gfs2/ops_fstype.c:1729 deactivate_locked_super+0xa0/0x110 fs/super.c:332 cleanup_mnt+0x490/0x520 fs/namespace.c:1186 task_work_run+0x246/0x300 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xde/0x100 kernel/entry/common.c:177 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f90e757fb47 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:00007fffca2f3b38 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f90e75f15fc RCX: 00007f90e757fb47 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fffca2f3bf0 RBP: 00007fffca2f3bf0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fffca2f4c70 R13: 00007f90e75f15fc R14: 000000000000efe6 R15: 00007fffca2f4cb0