------------[ cut here ]------------ WARNING: CPU: 1 PID: 5826 at include/linux/backing-dev.h:254 inode_to_wb include/linux/backing-dev.h:251 [inline] WARNING: CPU: 1 PID: 5826 at include/linux/backing-dev.h:254 folio_account_dirtied mm/page-writeback.c:2760 [inline] WARNING: CPU: 1 PID: 5826 at include/linux/backing-dev.h:254 __folio_mark_dirty+0x907/0xed0 mm/page-writeback.c:2812 Modules linked in: CPU: 1 UID: 0 PID: 5826 Comm: syz-executor267 Not tainted 6.12.0-rc6-next-20241108-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: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 3b 7d c4 ff 4c 89 f7 48 8b 34 24 e8 7f 29 38 00 eb 87 e8 28 7d c4 ff 90 0f 0b 90 e9 45 ff ff ff e8 1a 7d 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:ffffc9000363f690 EFLAGS: 00010093 RAX: ffffffff81dafef6 RBX: 0000000000000000 RCX: ffff888034fb0000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff888148d44178 R08: ffffffff81dafa32 R09: 1ffff110291a882f R10: dffffc0000000000 R11: ffffed10291a8830 R12: 0000000000000001 R13: ffff888148d44008 R14: ffffea0001d0fd40 R15: 1ffff110291a882f FS: 000055558b955380(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fffbca9fef8 CR3: 000000007b8f8000 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:2496 ptrace_report_syscall include/linux/ptrace.h:415 [inline] ptrace_report_syscall_exit include/linux/ptrace.h:477 [inline] syscall_exit_work+0xe3/0x220 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+0x24a/0x340 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:0x7fb5e521f307 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:00007fffbcaa06a8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fb5e521f307 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fffbcaa0760 RBP: 00007fffbcaa0760 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000202 R12: 00007fffbcaa17c0 R13: 000055558b9566c0 R14: 0000000000000001 R15: 431bde82d7b634db