------------[ cut here ]------------ WARNING: CPU: 0 PID: 6467 at include/linux/backing-dev.h:288 inode_to_wb include/linux/backing-dev.h:285 [inline] WARNING: CPU: 0 PID: 6467 at include/linux/backing-dev.h:288 account_page_dirtied mm/page-writeback.c:2474 [inline] WARNING: CPU: 0 PID: 6467 at include/linux/backing-dev.h:288 __set_page_dirty+0x8f8/0xc7c mm/page-writeback.c:2522 Modules linked in: CPU: 0 PID: 6467 Comm: syz.4.473 Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 804000c5 (Nzcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : inode_to_wb include/linux/backing-dev.h:285 [inline] pc : account_page_dirtied mm/page-writeback.c:2474 [inline] pc : __set_page_dirty+0x8f8/0xc7c mm/page-writeback.c:2522 lr : inode_to_wb include/linux/backing-dev.h:285 [inline] lr : account_page_dirtied mm/page-writeback.c:2474 [inline] lr : __set_page_dirty+0x8f8/0xc7c mm/page-writeback.c:2522 sp : ffff800020a87440 x29: ffff800020a87450 x28: 0000000000000000 x27: 1fffe000185fe2f8 x26: dfff800000000000 x25: 1fffe00018093281 x24: 0000000000000000 x23: ffff0000c0499408 x22: 0000000000000000 x21: 0000000000000003 x20: ffff0000c2ff17c8 x19: fffffc000382cc40 x18: ffff800020a87120 x17: 1fffe00036831b8e x16: ffff8000082eada8 x15: 0000000000000006 x14: 0000000096f70f8f x13: dfff800000000000 x12: 0000000000080000 x11: 0000000000034f41 x10: ffff80002470b000 x9 : 0000000000034f42 x8 : ffff800008708e98 x7 : 0000000000000000 x6 : 0000000000000000 x5 : ffff800017a20fd8 x4 : 0000000000000008 x3 : ffff800008305408 x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: inode_to_wb include/linux/backing-dev.h:285 [inline] account_page_dirtied mm/page-writeback.c:2474 [inline] __set_page_dirty+0x8f8/0xc7c mm/page-writeback.c:2522 mark_buffer_dirty+0x27c/0x574 fs/buffer.c:1108 gfs2_unpin+0x12c/0xcc0 fs/gfs2/lops.c:111 buf_lo_after_commit+0x134/0x18c fs/gfs2/lops.c:750 lops_after_commit fs/gfs2/lops.h:49 [inline] gfs2_log_flush+0xd50/0x21d4 fs/gfs2/log.c:1108 gfs2_trans_end+0x300/0x4cc fs/gfs2/trans.c:158 alloc_dinode+0x33c/0x478 fs/gfs2/inode.c:419 gfs2_create_inode+0xbe0/0x14c4 fs/gfs2/inode.c:720 gfs2_mkdir+0xb0/0xd4 fs/gfs2/inode.c:1237 vfs_mkdir+0x334/0x4e4 fs/namei.c:4065 do_mkdirat+0x20c/0x610 fs/namei.c:4090 __do_sys_mkdirat fs/namei.c:4105 [inline] __se_sys_mkdirat fs/namei.c:4103 [inline] __arm64_sys_mkdirat+0x90/0xa8 fs/namei.c:4103 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 158006 hardirqs last enabled at (158005): [] lock_page_memcg+0x11c/0x244 mm/memcontrol.c:2056 hardirqs last disabled at (158006): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (158006): [] _raw_spin_lock_irqsave+0xfc/0x14c kernel/locking/spinlock.c:162 softirqs last enabled at (157826): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (157826): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (157771): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (157771): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (157771): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (157771): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace 28fd2544d7eb5b2e ]---