------------[ cut here ]------------ WARNING: CPU: 0 PID: 5417 at include/linux/backing-dev.h:252 inode_to_wb include/linux/backing-dev.h:252 [inline] WARNING: CPU: 0 PID: 5417 at include/linux/backing-dev.h:252 folio_account_dirtied mm/page-writeback.c:2618 [inline] WARNING: CPU: 0 PID: 5417 at include/linux/backing-dev.h:252 __folio_mark_dirty+0xa2b/0xe10 mm/page-writeback.c:2669 Modules linked in: CPU: 0 PID: 5417 Comm: syz-executor.0 Not tainted 6.6.0-rc2-next-20230921-syzkaller-06975-g940fcc189c51 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 RIP: 0010:inode_to_wb include/linux/backing-dev.h:252 [inline] RIP: 0010:folio_account_dirtied mm/page-writeback.c:2618 [inline] RIP: 0010:__folio_mark_dirty+0xa2b/0xe10 mm/page-writeback.c:2669 Code: ff ff ff 48 8d 78 70 e8 e3 89 8b 08 31 ff 89 c6 89 44 24 08 e8 b6 87 ce ff 8b 44 24 08 85 c0 0f 85 70 fa ff ff e8 35 8c ce ff <0f> 0b e9 64 fa ff ff e8 29 8c ce ff 0f 0b e9 7f f6 ff ff e8 1d 8c RSP: 0018:ffffc90004d4fb38 EFLAGS: 00010093 RAX: 0000000000000000 RBX: ffffea0000a309c0 RCX: 0000000000000000 RDX: ffff88807e350000 RSI: ffffffff81b9ae0b RDI: 0000000000000005 RBP: 0000000000000293 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000004 R12: ffff8880270be258 R13: ffff88801b08cb50 R14: 0000000000000001 R15: ffff88801b08ccf8 FS: 00005555562a5480(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555562ae938 CR3: 0000000079584000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_buffer_dirty+0x31e/0x3e0 fs/buffer.c:1205 gfs2_unpin+0x103/0xc50 fs/gfs2/lops.c:111 buf_lo_after_commit+0x141/0x210 fs/gfs2/lops.c:745 lops_after_commit fs/gfs2/lops.h:49 [inline] gfs2_log_flush+0x1451/0x27f0 fs/gfs2/log.c:1115 gfs2_kill_sb+0x60/0x410 fs/gfs2/ops_fstype.c:1790 deactivate_locked_super+0xbc/0x1a0 fs/super.c:484 deactivate_super+0xde/0x100 fs/super.c:517 cleanup_mnt+0x222/0x3d0 fs/namespace.c:1256 task_work_run+0x14d/0x240 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x215/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1d/0x60 kernel/entry/common.c:296 do_syscall_64+0x44/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fdc77e7de17 Code: b0 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 b0 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffea4cfc938 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fdc77e7de17 RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffea4cfc9f0 RBP: 00007ffea4cfc9f0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffea4cfdab0 R13: 00007fdc77ec73b9 R14: 000000000001bcc8 R15: 0000000000000003