------------[ cut here ]------------ WARNING: CPU: 0 PID: 3084 at include/linux/backing-dev.h:247 inode_to_wb include/linux/backing-dev.h:243 [inline] WARNING: CPU: 0 PID: 3084 at include/linux/backing-dev.h:247 folio_account_dirtied mm/page-writeback.c:2587 [inline] WARNING: CPU: 0 PID: 3084 at include/linux/backing-dev.h:247 __folio_mark_dirty+0x8a0/0xce0 mm/page-writeback.c:2638 Modules linked in: CPU: 0 PID: 3084 Comm: kworker/0:1H Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 Workqueue: glock_workqueue glock_work_func pstate: 824000c5 (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+0x8a0/0xce0 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+0x8a0/0xce0 mm/page-writeback.c:2638 sp : ffff800020d676c0 x29: ffff800020d676e0 x28: 1fffff8000671998 x27: dfff800000000000 x26: 0000000000000000 x25: ffff0000c058be90 x24: 0000000000000001 x23: 0000000000000000 x22: fffffc000338ccc8 x21: 1fffe000180b17d2 x20: ffff0000d8f987e8 x19: fffffc000338ccc0 x18: ffff800011a6bd40 x17: ffff800018186000 x16: ffff8000082d35d8 x15: ffff800017c67000 x14: ffff0000d458a658 x13: ffff0000d458a6f8 x12: 0000000000ff0100 x11: ff008000086fe704 x10: 0000000000000000 x9 : ffff8000086fe704 x8 : ffff0000d4589bc0 x7 : 0000000000000000 x6 : 0000000000000000 x5 : ffff80001835b200 x4 : 0000000000000008 x3 : ffff800008a49628 x2 : ffff0000cee00060 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+0x8a0/0xce0 mm/page-writeback.c:2638 __set_page_dirty include/linux/pagemap.h:1090 [inline] mark_buffer_dirty+0x2b8/0x5cc fs/buffer.c:1105 gfs2_unpin+0x120/0x914 fs/gfs2/lops.c:111 buf_lo_after_commit+0x140/0x188 fs/gfs2/lops.c:747 lops_after_commit fs/gfs2/lops.h:49 [inline] gfs2_log_flush+0xbc8/0x1aa0 fs/gfs2/log.c:1116 inode_go_sync+0x26c/0x614 fs/gfs2/glops.c:317 do_xmote+0x2e8/0x1198 fs/gfs2/glock.c:774 run_queue+0x3b4/0x690 fs/gfs2/glock.c:905 glock_work_func+0x1fc/0x428 fs/gfs2/glock.c:1089 process_one_work+0x7f4/0x13a8 kernel/workqueue.c:2292 worker_thread+0x8c8/0xfbc kernel/workqueue.c:2439 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 irq event stamp: 650 hardirqs last enabled at (649): [] folio_memcg_lock+0xe8/0x1fc mm/memcontrol.c:2113 hardirqs last disabled at (650): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (650): [] _raw_spin_lock_irqsave+0xa4/0xb4 kernel/locking/spinlock.c:162 softirqs last enabled at (0): [] copy_process+0x1244/0x3670 kernel/fork.c:2301 softirqs last disabled at (0): [<0000000000000000>] 0x0 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 3084 at include/linux/backing-dev.h:247 inode_to_wb include/linux/backing-dev.h:243 [inline] WARNING: CPU: 0 PID: 3084 at include/linux/backing-dev.h:247 __folio_start_writeback+0x868/0xa68 mm/page-writeback.c:3003 Modules linked in: CPU: 0 PID: 3084 Comm: kworker/0:1H Tainted: G W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 Workqueue: glock_workqueue glock_work_func pstate: 824000c5 (Nzcv daIF +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : inode_to_wb include/linux/backing-dev.h:243 [inline] pc : __folio_start_writeback+0x868/0xa68 mm/page-writeback.c:3003 lr : inode_to_wb include/linux/backing-dev.h:243 [inline] lr : __folio_start_writeback+0x868/0xa68 mm/page-writeback.c:3003 sp : ffff800020d672a0 x29: ffff800020d67380 x28: dfff800000000000 x27: 0000000000000000 x26: ffff7000041ace5c x25: 0000000000000000 x24: ffff0000d8f997c0 x23: ffff800020d67300 x22: ffff0000c058bce8 x21: 0000000000000001 x20: fffffc0003351008 x19: fffffc0003351000 x18: ffff800011a6bd40 x17: ffff800018186000 x16: ffff8000082d35d8 x15: ffff800017c67000 x14: ffff0000d458a658 x13: ffff0000d458a6d0 x12: 0000000000ff0100 x11: ff00800008700c1c x10: 0000000000000000 x9 : ffff800008700c1c x8 : ffff0000d4589bc0 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000020 x4 : 0000000000000000 x3 : ffff8000087006dc x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: inode_to_wb include/linux/backing-dev.h:243 [inline] __folio_start_writeback+0x868/0xa68 mm/page-writeback.c:3003 set_page_writeback+0x5c/0x7c mm/folio-compat.c:56 gfs2_aspace_writepage+0x520/0x6e8 fs/gfs2/meta_io.c:73 __writepage+0x70/0x18c mm/page-writeback.c:2447 write_cache_pages+0x73c/0xdd4 mm/page-writeback.c:2382 generic_writepages mm/page-writeback.c:2473 [inline] do_writepages+0x320/0x4fc mm/page-writeback.c:2493 filemap_fdatawrite_wbc+0x124/0x174 mm/filemap.c:388 __filemap_fdatawrite_range mm/filemap.c:421 [inline] __filemap_fdatawrite mm/filemap.c:427 [inline] filemap_fdatawrite+0xc4/0x114 mm/filemap.c:432 inode_go_sync+0x274/0x614 fs/gfs2/glops.c:319 do_xmote+0x2e8/0x1198 fs/gfs2/glock.c:774 run_queue+0x3b4/0x690 fs/gfs2/glock.c:905 glock_work_func+0x1fc/0x428 fs/gfs2/glock.c:1089 process_one_work+0x7f4/0x13a8 kernel/workqueue.c:2292 worker_thread+0x8c8/0xfbc kernel/workqueue.c:2439 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 irq event stamp: 684 hardirqs last enabled at (683): [] folio_memcg_lock+0xe8/0x1fc mm/memcontrol.c:2113 hardirqs last disabled at (684): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (684): [] _raw_spin_lock_irqsave+0xa4/0xb4 kernel/locking/spinlock.c:162 softirqs last enabled at (0): [] copy_process+0x1244/0x3670 kernel/fork.c:2301 softirqs last disabled at (0): [<0000000000000000>] 0x0 ---[ end trace 0000000000000000 ]---