------------[ cut here ]------------ WARNING: CPU: 0 PID: 5890 at include/linux/backing-dev.h:254 inode_to_wb include/linux/backing-dev.h:251 [inline] WARNING: CPU: 0 PID: 5890 at include/linux/backing-dev.h:254 folio_account_dirtied mm/page-writeback.c:2672 [inline] WARNING: CPU: 0 PID: 5890 at include/linux/backing-dev.h:254 __folio_mark_dirty+0x880/0xc98 mm/page-writeback.c:2723 Modules linked in: CPU: 0 PID: 5890 Comm: syz-executor.0 Not tainted 6.9.0-rc3-syzkaller-00208-g586b5dfb51b9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 pstate: 804000c5 (Nzcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : inode_to_wb include/linux/backing-dev.h:251 [inline] pc : folio_account_dirtied mm/page-writeback.c:2672 [inline] pc : __folio_mark_dirty+0x880/0xc98 mm/page-writeback.c:2723 lr : inode_to_wb include/linux/backing-dev.h:251 [inline] lr : folio_account_dirtied mm/page-writeback.c:2672 [inline] lr : __folio_mark_dirty+0x880/0xc98 mm/page-writeback.c:2723 sp : ffff80009de57890 x29: ffff80009de578b0 x28: dfff800000000000 x27: 1fffe000180929a2 x26: 0000000000000000 x25: ffff0000c0494d10 x24: 0000000000000001 x23: 0000000000000000 x22: fffffdffc34d4008 x21: 1fffffbff869a800 x20: ffff0000d3f3d280 x19: fffffdffc34d4000 x18: ffff80009de57520 x17: 0000000000018e0f x16: ffff8000803252c8 x15: 0000000000000001 x14: 1fffe000180929a2 x13: 0000000000000000 x12: 0000000000000000 x11: ffff6000180929a3 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000daae8000 x7 : ffff80008081bb6c x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : ffff800080bc5f2c x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: inode_to_wb include/linux/backing-dev.h:251 [inline] folio_account_dirtied mm/page-writeback.c:2672 [inline] __folio_mark_dirty+0x880/0xc98 mm/page-writeback.c:2723 mark_buffer_dirty+0x238/0x504 fs/buffer.c:1200 gfs2_unpin+0x120/0x954 fs/gfs2/lops.c:111 buf_lo_after_commit+0x134/0x18c fs/gfs2/lops.c:738 lops_after_commit fs/gfs2/lops.h:51 [inline] gfs2_log_flush+0xb58/0x1a6c fs/gfs2/log.c:1122 gfs2_kill_sb+0x68/0x330 fs/gfs2/ops_fstype.c:1786 deactivate_locked_super+0xc4/0x12c fs/super.c:472 deactivate_super+0xe0/0x100 fs/super.c:505 cleanup_mnt+0x34c/0x3dc fs/namespace.c:1267 __cleanup_mnt+0x20/0x30 fs/namespace.c:1274 task_work_run+0x230/0x2e0 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] do_notify_resume+0x178/0x1f4 arch/arm64/kernel/entry-common.c:151 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:169 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:178 [inline] el0_svc+0xac/0x168 arch/arm64/kernel/entry-common.c:713 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 irq event stamp: 159876 hardirqs last enabled at (159875): [] folio_memcg_lock+0xec/0x1d8 mm/memcontrol.c:2207 hardirqs last disabled at (159876): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (159876): [] _raw_spin_lock_irqsave+0x2c/0x7c kernel/locking/spinlock.c:162 softirqs last enabled at (157272): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (157272): [] __do_softirq+0xb10/0xd2c kernel/softirq.c:583 softirqs last disabled at (156981): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:81 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 5890 at include/linux/backing-dev.h:254 inode_to_wb include/linux/backing-dev.h:251 [inline] WARNING: CPU: 0 PID: 5890 at include/linux/backing-dev.h:254 __folio_start_writeback+0x888/0xac0 mm/page-writeback.c:3063 Modules linked in: CPU: 0 PID: 5890 Comm: syz-executor.0 Tainted: G W 6.9.0-rc3-syzkaller-00208-g586b5dfb51b9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 pstate: 804000c5 (Nzcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : inode_to_wb include/linux/backing-dev.h:251 [inline] pc : __folio_start_writeback+0x888/0xac0 mm/page-writeback.c:3063 lr : inode_to_wb include/linux/backing-dev.h:251 [inline] lr : __folio_start_writeback+0x888/0xac0 mm/page-writeback.c:3063 sp : ffff80009de57300 x29: ffff80009de573e0 x28: 0000000000000000 x27: ffff0000c0494b68 x26: 0000000000000000 x25: 1fffe0001a7e7a4f x24: ffff0000d3f3d278 x23: ffff80009de57360 x22: dfff800000000000 x21: 0000000000000001 x20: fffffdffc34d4008 x19: fffffdffc34d4000 x18: ffff80009de57420 x17: 0000000000018e4c x16: ffff8000803252c8 x15: 0000000000000001 x14: 1fffffbff869a800 x13: 0000000000000000 x12: 0000000000000000 x11: ffff7fbff869a801 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000daae8000 x7 : ffff80008081e930 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : ffff80008081e96c x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: inode_to_wb include/linux/backing-dev.h:251 [inline] __folio_start_writeback+0x888/0xac0 mm/page-writeback.c:3063 set_page_writeback+0x5c/0x78 mm/folio-compat.c:51 gfs2_aspace_writepage+0x520/0x6f4 fs/gfs2/meta_io.c:73 __gfs2_writepage+0x70/0x18c fs/gfs2/log.c:87 write_cache_pages+0xc8/0x20c mm/page-writeback.c:2569 gfs2_ail1_start_one fs/gfs2/log.c:143 [inline] gfs2_ail1_flush+0x770/0x9ec fs/gfs2/log.c:223 gfs2_ail1_start fs/gfs2/log.c:254 [inline] empty_ail1_list+0x164/0x340 fs/gfs2/log.c:986 gfs2_log_flush+0x13f8/0x1a6c fs/gfs2/log.c:1137 gfs2_kill_sb+0x68/0x330 fs/gfs2/ops_fstype.c:1786 deactivate_locked_super+0xc4/0x12c fs/super.c:472 deactivate_super+0xe0/0x100 fs/super.c:505 cleanup_mnt+0x34c/0x3dc fs/namespace.c:1267 __cleanup_mnt+0x20/0x30 fs/namespace.c:1274 task_work_run+0x230/0x2e0 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] do_notify_resume+0x178/0x1f4 arch/arm64/kernel/entry-common.c:151 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:169 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:178 [inline] el0_svc+0xac/0x168 arch/arm64/kernel/entry-common.c:713 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 irq event stamp: 160068 hardirqs last enabled at (160067): [] folio_memcg_lock+0xec/0x1d8 mm/memcontrol.c:2207 hardirqs last disabled at (160068): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (160068): [] _raw_spin_lock_irqsave+0x2c/0x7c kernel/locking/spinlock.c:162 softirqs last enabled at (160020): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (160020): [] __do_softirq+0xb10/0xd2c kernel/softirq.c:583 softirqs last disabled at (159879): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:81 ---[ end trace 0000000000000000 ]---