------------[ cut here ]------------ WARNING: CPU: 1 PID: 3640 at include/linux/backing-dev.h:246 folio_account_dirtied mm/page-writeback.c:2587 [inline] WARNING: CPU: 1 PID: 3640 at include/linux/backing-dev.h:246 __folio_mark_dirty+0x924/0x1140 mm/page-writeback.c:2638 Modules linked in: CPU: 1 PID: 3640 Comm: syz-executor Not tainted 6.1.112-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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 d7 cf ff 0f 0b e9 e3 f8 ff ff e8 20 d7 cf ff 4c 89 f7 48 8b 74 24 20 e8 e3 89 2e 00 eb 9f e8 0c d7 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: 0018:ffffc90003b6fa38 EFLAGS: 00010093 RAX: ffffffff81bad834 RBX: 0000000000000000 RCX: ffff88802c140000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff888148d3c978 R08: ffffffff81bad364 R09: ffffed10291a7930 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: ffff888148d3c800 R14: ffffea00009c4cc0 R15: 1ffff110291a792f FS: 0000555555bce500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6109f637e0 CR3: 000000005eece000 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:0x7fc864b7f327 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:00007ffd124d3ac8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007fc864bf0134 RCX: 00007fc864b7f327 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffd124d3b80 RBP: 00007ffd124d3b80 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffd124d4c00 R13: 00007fc864bf0134 R14: 0000000000013468 R15: 00007ffd124d4c40