------------[ cut here ]------------ WARNING: CPU: 0 PID: 25131 at include/linux/backing-dev.h:256 inode_to_wb include/linux/backing-dev.h:253 [inline] WARNING: CPU: 0 PID: 25131 at include/linux/backing-dev.h:256 folio_account_dirtied+0x3b0/0x650 mm/page-writeback.c:2677 Modules linked in: CPU: 0 PID: 25131 Comm: syz-executor.1 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: 604000c5 (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 : ffff800014753960 x29: ffff800014753960 x28: ffff000131e3ced0 x27: ffff80000d804000 x26: 0000000000000753 x25: ffff800009296ea8 x24: 0000000000000007 x23: 0000000000000000 x22: 0000000000000000 x21: 0000000000000001 x20: ffff0000c5d0afe0 x19: fffffc0004c797c0 x18: 00000000000000c0 x17: ffff80000df8d158 x16: ffff80000ddcb118 x15: ffff00010ab19a00 x14: 0000000000000000 x13: 00007fffffffffff x12: 0000000000040000 x11: 000000000003ffff x10: ffff80001314d000 x9 : ffff8000083fd140 x8 : 0000000000040000 x7 : ffff8000083fcc44 x6 : 0000000000000000 x5 : ffff80000e4ef558 x4 : 0000000000000008 x3 : ffff80000ddea108 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: 143474 hardirqs last enabled at (143473): [] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:84 [inline] hardirqs last enabled at (143473): [] exit_to_kernel_mode+0xe8/0x118 arch/arm64/kernel/entry-common.c:94 hardirqs last disabled at (143474): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (143474): [] _raw_spin_lock_irqsave+0x2c/0x88 kernel/locking/spinlock.c:162 softirqs last enabled at (142750): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (142748): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---