------------[ cut here ]------------ WARNING: CPU: 2 PID: 5189 at include/linux/backing-dev.h:251 inode_to_wb include/linux/backing-dev.h:251 [inline] WARNING: CPU: 2 PID: 5189 at include/linux/backing-dev.h:251 folio_account_dirtied mm/page-writeback.c:2694 [inline] WARNING: CPU: 2 PID: 5189 at include/linux/backing-dev.h:251 __folio_mark_dirty+0xa55/0xe00 mm/page-writeback.c:2748 Modules linked in: CPU: 2 PID: 5189 Comm: syz-executor Not tainted 6.10.0-rc5-syzkaller-00018-g55027e689933 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:inode_to_wb include/linux/backing-dev.h:251 [inline] RIP: 0010:folio_account_dirtied mm/page-writeback.c:2694 [inline] RIP: 0010:__folio_mark_dirty+0xa55/0xe00 mm/page-writeback.c:2748 Code: ff ff 48 8d 78 70 e8 9a a2 24 09 31 ff 89 c6 89 44 24 08 e8 ed 47 cb ff 8b 44 24 08 85 c0 0f 85 49 fa ff ff e8 dc 4c cb ff 90 <0f> 0b 90 e9 3b fa ff ff e8 ce 4c cb ff 90 0f 0b 90 e9 5c f6 ff ff RSP: 0018:ffffc900035078a0 EFLAGS: 00010093 RAX: 0000000000000000 RBX: ffffea0000770e00 RCX: ffffffff81c296f3 RDX: ffff8880250ca440 RSI: ffffffff81c29704 RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000004 R12: ffff888041ed2258 R13: ffff8880198acd00 R14: ffff8880198acb58 R15: 0000000000000001 FS: 000055556cba8500(0000) GS:ffff88806b200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002006d000 CR3: 000000001f764000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_buffer_dirty+0x368/0x440 fs/buffer.c:1207 gfs2_unpin+0x103/0xc40 fs/gfs2/lops.c:111 buf_lo_after_commit+0x141/0x210 fs/gfs2/lops.c:738 lops_after_commit fs/gfs2/lops.h:51 [inline] gfs2_log_flush+0xcb1/0x29a0 fs/gfs2/log.c:1123 do_sync+0x550/0xd30 fs/gfs2/quota.c:1010 gfs2_quota_sync+0x419/0x630 fs/gfs2/quota.c:1370 gfs2_sync_fs+0x44/0xb0 fs/gfs2/super.c:670 sync_filesystem+0x10d/0x290 fs/sync.c:56 generic_shutdown_super+0x7e/0x3d0 fs/super.c:621 kill_block_super+0x3b/0x90 fs/super.c:1676 gfs2_kill_sb+0x360/0x410 fs/gfs2/ops_fstype.c:1785 deactivate_locked_super+0xbe/0x1a0 fs/super.c:473 deactivate_super+0xde/0x100 fs/super.c:506 cleanup_mnt+0x222/0x450 fs/namespace.c:1267 task_work_run+0x14e/0x250 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x278/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2a85d76e17 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:00007ffe8a975508 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f2a85d76e17 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffe8a9755c0 RBP: 00007ffe8a9755c0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffe8a976670 R13: 00007f2a85de364a R14: 000000000000fb66 R15: 00007ffe8a9766b0