------------[ cut here ]------------ WARNING: CPU: 1 PID: 4307 at include/linux/backing-dev.h:246 inode_to_wb include/linux/backing-dev.h:243 [inline] WARNING: CPU: 1 PID: 4307 at include/linux/backing-dev.h:246 folio_account_dirtied mm/page-writeback.c:2587 [inline] WARNING: CPU: 1 PID: 4307 at include/linux/backing-dev.h:246 __folio_mark_dirty+0x878/0xd04 mm/page-writeback.c:2638 Modules linked in: CPU: 1 PID: 4307 Comm: gfs2_logd Not tainted 6.1.116-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:243 [inline] pc : folio_account_dirtied mm/page-writeback.c:2587 [inline] pc : __folio_mark_dirty+0x878/0xd04 mm/page-writeback.c:2638 lr : inode_to_wb include/linux/backing-dev.h:243 [inline] lr : folio_account_dirtied mm/page-writeback.c:2587 [inline] lr : __folio_mark_dirty+0x878/0xd04 mm/page-writeback.c:2638 sp : ffff800021437900 x29: ffff800021437920 x28: dfff800000000000 x27: 1fffe000180a97d2 x26: 0000000000000000 x25: ffff0000c054be90 x24: 0000000000000001 x23: 0000000000000000 x22: fffffc00034cc288 x21: 1fffff8000699850 x20: ffff0000ddb9e258 x19: fffffc00034cc280 x18: ffff8000214375e0 x17: ffff800018abc000 x16: ffff8000083042fc x15: ffff80001859cf80 x14: ffff0000c74ea638 x13: dfff800000000000 x12: 0000000000000001 x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff80000877916c x8 : ffff0000c74e9bc0 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000020 x4 : 0000000000000000 x3 : ffff800008afddfc x2 : ffff0000ce78a060 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: inode_to_wb include/linux/backing-dev.h:243 [inline] folio_account_dirtied mm/page-writeback.c:2587 [inline] __folio_mark_dirty+0x878/0xd04 mm/page-writeback.c:2638 __set_page_dirty include/linux/pagemap.h:1088 [inline] mark_buffer_dirty+0x2c0/0x624 fs/buffer.c:1105 gfs2_unpin+0x120/0x954 fs/gfs2/lops.c:111 buf_lo_after_commit+0x134/0x18c fs/gfs2/lops.c:747 lops_after_commit fs/gfs2/lops.h:49 [inline] gfs2_log_flush+0xc4c/0x1b20 fs/gfs2/log.c:1116 gfs2_logd+0x2a4/0xbe0 fs/gfs2/log.c:1322 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:864 irq event stamp: 82 hardirqs last enabled at (81): [] folio_memcg_lock+0xf4/0x20c mm/memcontrol.c:2110 hardirqs last disabled at (82): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (82): [] _raw_spin_lock_irqsave+0xa4/0xb4 kernel/locking/spinlock.c:162 softirqs last enabled at (0): [] copy_process+0x13c0/0x38d0 kernel/fork.c:2209 softirqs last disabled at (0): [<0000000000000000>] 0x0 ---[ end trace 0000000000000000 ]---