------------[ cut here ]------------ WARNING: CPU: 1 PID: 4460 at include/linux/backing-dev.h:256 inode_to_wb include/linux/backing-dev.h:253 [inline] WARNING: CPU: 1 PID: 4460 at include/linux/backing-dev.h:256 folio_account_dirtied+0x3b0/0x650 mm/page-writeback.c:2677 Modules linked in: CPU: 1 PID: 4460 Comm: syz-executor.3 Not tainted 6.2.0-rc6-syzkaller-17549-gca72d58361ee #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 pstate: 804000c5 (Nzcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : inode_to_wb include/linux/backing-dev.h:253 [inline] pc : folio_account_dirtied+0x3b0/0x650 mm/page-writeback.c:2677 lr : inode_to_wb include/linux/backing-dev.h:253 [inline] lr : folio_account_dirtied+0x3b0/0x650 mm/page-writeback.c:2677 sp : ffff800010fdb900 x29: ffff800010fdb900 x28: ffff0001207b2ed0 x27: ffff80000d804000 x26: 0000000000000545 x25: ffff800009296ea8 x24: 000000000000000b x23: 0000000000000000 x22: 0000000000000000 x21: 0000000000000001 x20: ffff0000c54d4f60 x19: fffffc0004ba78c0 x18: 00000000000000c0 x17: ffff80000df8d158 x16: ffff80000ddcb118 x15: ffff0000c267b400 x14: 0000000000000050 x13: 00000000ffffffff x12: ffff0000c267b400 x11: ff808000083fd140 x10: 0000000000000000 x9 : ffff8000083fd140 x8 : ffff0000c267b400 x7 : ffff8000083fcc44 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: inode_to_wb include/linux/backing-dev.h:253 [inline] folio_account_dirtied+0x3b0/0x650 mm/page-writeback.c:2677 __folio_mark_dirty+0xbc/0x180 mm/page-writeback.c:2728 __set_page_dirty include/linux/pagemap.h:1052 [inline] mark_buffer_dirty+0x148/0x368 fs/buffer.c:1105 gfs2_unpin+0xc4/0x31c fs/gfs2/lops.c:111 buf_lo_after_commit+0x70/0xac fs/gfs2/lops.c:747 lops_after_commit fs/gfs2/lops.h:49 [inline] gfs2_log_flush+0x6a4/0xc98 fs/gfs2/log.c:1116 do_sync+0x5a8/0x650 fs/gfs2/quota.c:975 gfs2_quota_sync+0xf0/0x204 fs/gfs2/quota.c:1318 gfs2_sync_fs+0x30/0x78 fs/gfs2/super.c:650 sync_filesystem+0x68/0x134 fs/sync.c:56 generic_shutdown_super+0x38/0x198 fs/super.c:474 kill_block_super+0x30/0x78 fs/super.c:1386 gfs2_kill_sb+0x68/0x78 deactivate_locked_super+0x70/0xe8 fs/super.c:332 deactivate_super+0xd0/0xd4 fs/super.c:363 cleanup_mnt+0x184/0x1c0 fs/namespace.c:1291 __cleanup_mnt+0x20/0x30 fs/namespace.c:1298 task_work_run+0x100/0x148 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x174/0x1f0 arch/arm64/kernel/signal.c:1302 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x9c/0x150 arch/arm64/kernel/entry-common.c:638 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 irq event stamp: 3197406 hardirqs last enabled at (3197405): [] folio_memcg_lock+0xdc/0x154 mm/memcontrol.c:2115 hardirqs last disabled at (3197406): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (3197406): [] _raw_spin_lock_irqsave+0x2c/0x88 kernel/locking/spinlock.c:162 softirqs last enabled at (3196856): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (3196854): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---