------------[ cut here ]------------ WARNING: CPU: 0 PID: 12674 at include/linux/backing-dev.h:256 inode_to_wb include/linux/backing-dev.h:253 [inline] WARNING: CPU: 0 PID: 12674 at include/linux/backing-dev.h:256 folio_account_dirtied+0x3b0/0x650 mm/page-writeback.c:2677 Modules linked in: CPU: 0 PID: 12674 Comm: syz-executor.4 Not tainted 6.2.0-rc6-syzkaller-17549-gca72d58361ee #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 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 : ffff80001439b960 x29: ffff80001439b960 x28: ffff00011d664ed0 x27: ffff80000d804000 x26: 0000000000000753 x25: ffff800009296ea8 x24: 0000000000000007 x23: 0000000000000000 x22: 0000000000000000 x21: 0000000000000001 x20: ffff0000c59059e0 x19: fffffc00049efd00 x18: 00000000000000c0 x17: ffff80000df8d158 x16: ffff80000ddcb118 x15: ffff00012ba73400 x14: 0000000000000000 x13: 07ffffffffffffff x12: 0000000000040000 x11: 00000000000268d3 x10: ffff800018ad7000 x9 : ffff8000083fd140 x8 : 00000000000268d4 x7 : ffff8000083fcc44 x6 : 0000000000000000 x5 : ffff80000e4785e8 x4 : 0000000000000008 x3 : ffff80000ddea048 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 gfs2_trans_end+0x17c/0x1fc fs/gfs2/trans.c:158 alloc_dinode+0x1e0/0x228 fs/gfs2/inode.c:421 gfs2_create_inode+0x6fc/0xae8 fs/gfs2/inode.c:727 gfs2_mkdir+0x54/0x68 fs/gfs2/inode.c:1244 vfs_mkdir+0x1f8/0x2b0 fs/namei.c:4036 do_mkdirat+0xe0/0x228 fs/namei.c:4061 __do_sys_mkdirat fs/namei.c:4076 [inline] __se_sys_mkdirat fs/namei.c:4074 [inline] __arm64_sys_mkdirat+0x40/0x54 fs/namei.c:4074 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall arch/arm64/kernel/syscall.c:52 [inline] el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x104 arch/arm64/kernel/syscall.c:193 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:637 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: 132734 hardirqs last enabled at (132733): [] folio_memcg_lock+0xdc/0x154 mm/memcontrol.c:2115 hardirqs last disabled at (132734): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (132734): [] _raw_spin_lock_irqsave+0x2c/0x88 kernel/locking/spinlock.c:162 softirqs last enabled at (132692): [] _stext+0x2c4/0x34c softirqs last disabled at (132529): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 ---[ end trace 0000000000000000 ]---