------------[ cut here ]------------ WARNING: CPU: 1 PID: 4463 at include/linux/backing-dev.h:246 folio_account_dirtied mm/page-writeback.c:2587 [inline] WARNING: CPU: 1 PID: 4463 at include/linux/backing-dev.h:246 __folio_mark_dirty+0x924/0x1140 mm/page-writeback.c:2638 Modules linked in: CPU: 1 PID: 4463 Comm: syz.4.36 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: 0018:ffffc90004d97738 EFLAGS: 00010083 RAX: ffffffff81baafe4 RBX: 0000000000000000 RCX: 0000000000080000 RDX: ffffc9000e8ab000 RSI: 00000000000035fd RDI: 00000000000035fe RBP: ffff8880241aea78 R08: ffffffff81baab14 R09: ffffed1004835d50 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: ffff8880241ae900 R14: ffffea0001d462c0 R15: 1ffff11004835d4f FS: 00007fd0be4f16c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c2f22de CR3: 0000000058056000 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 gfs2_thaw_super+0x1af/0x230 fs/gfs2/super.c:828 do_vfs_ioctl+0x1375/0x2a90 __do_sys_ioctl fs/ioctl.c:868 [inline] __se_sys_ioctl+0x81/0x160 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fd0bd77e819 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:00007fd0be4f1038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fd0bd935fa0 RCX: 00007fd0bd77e819 RDX: 0000000000000000 RSI: 00000000c0045878 RDI: 0000000000000004 RBP: 00007fd0bd7f175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fd0bd935fa0 R15: 00007ffce5caaa08