------------[ cut here ]------------ WARNING: CPU: 0 PID: 5845 at include/linux/backing-dev.h:254 inode_to_wb include/linux/backing-dev.h:251 [inline] WARNING: CPU: 0 PID: 5845 at include/linux/backing-dev.h:254 folio_account_dirtied mm/page-writeback.c:2760 [inline] WARNING: CPU: 0 PID: 5845 at include/linux/backing-dev.h:254 __folio_mark_dirty+0x907/0xed0 mm/page-writeback.c:2812 Modules linked in: CPU: 0 UID: 0 PID: 5845 Comm: syz-executor268 Not tainted 6.12.0-rc5-next-20241101-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:251 [inline] RIP: 0010:folio_account_dirtied mm/page-writeback.c:2760 [inline] RIP: 0010:__folio_mark_dirty+0x907/0xed0 mm/page-writeback.c:2812 Code: f9 ff ff e8 eb 9d c4 ff 4c 89 f7 48 8b 34 24 e8 4f 13 38 00 eb 87 e8 d8 9d c4 ff 90 0f 0b 90 e9 45 ff ff ff e8 ca 9d c4 ff 90 <0f> 0b 90 e9 40 fb ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 07 f9 RSP: 0018:ffffc90003acf690 EFLAGS: 00010093 RAX: ffffffff81d12036 RBX: 0000000000000000 RCX: ffff88802eeb3c00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff888148c94cf8 R08: ffffffff81d11b72 R09: 1ffff1102919299f R10: dffffc0000000000 R11: ffffed10291929a0 R12: 0000000000000001 R13: ffff888148c94b88 R14: ffffea0000d56280 R15: 1ffff1102919299f FS: 0000555570102380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffda94a5be8 CR3: 00000000297e8000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_buffer_dirty+0x290/0x500 fs/buffer.c:1196 gfs2_unpin+0x129/0xa60 fs/gfs2/lops.c:111 buf_lo_after_commit+0x14f/0x1a0 fs/gfs2/lops.c:738 lops_after_commit fs/gfs2/lops.h:51 [inline] gfs2_log_flush+0x118d/0x2610 fs/gfs2/log.c:1115 do_sync+0xa0b/0xc60 fs/gfs2/quota.c:983 gfs2_quota_sync+0x3bc/0x4a0 fs/gfs2/quota.c:1359 gfs2_sync_fs+0x4d/0xc0 fs/gfs2/super.c:670 sync_filesystem+0xed/0x230 fs/sync.c:56 generic_shutdown_super+0x72/0x2d0 fs/super.c:621 kill_block_super+0x44/0x90 fs/super.c:1710 deactivate_locked_super+0xc4/0x130 fs/super.c:473 cleanup_mnt+0x41f/0x4b0 fs/namespace.c:1373 task_work_run+0x24f/0x310 kernel/task_work.c:239 ptrace_notify+0x2d2/0x380 kernel/signal.c:2370 ptrace_report_syscall include/linux/ptrace.h:415 [inline] ptrace_report_syscall_exit include/linux/ptrace.h:477 [inline] syscall_exit_work+0xd2/0x210 kernel/entry/common.c:173 syscall_exit_to_user_mode_prepare kernel/entry/common.c:200 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:205 [inline] syscall_exit_to_user_mode+0x279/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa64ab77547 Code: 08 00 48 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffda94a6398 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fa64ab77547 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffda94a6450 RBP: 00007ffda94a6450 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000202 R12: 00007ffda94a74c0 R13: 00005555701036c0 R14: 431bde82d7b634db R15: 00007ffda94a74e0