------------[ cut here ]------------ WARNING: CPU: 0 PID: 4462 at include/linux/backing-dev.h:256 inode_to_wb include/linux/backing-dev.h:253 [inline] WARNING: CPU: 0 PID: 4462 at include/linux/backing-dev.h:256 folio_account_dirtied mm/page-writeback.c:2677 [inline] WARNING: CPU: 0 PID: 4462 at include/linux/backing-dev.h:256 __folio_mark_dirty+0x578/0x97c mm/page-writeback.c:2728 Modules linked in: CPU: 0 PID: 4462 Comm: syz-executor.1 Not tainted 6.2.0-rc7-syzkaller-17907-g2d3827b3f393 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 pstate: 804000c5 (Nzcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : inode_to_wb include/linux/backing-dev.h:253 [inline] pc : folio_account_dirtied mm/page-writeback.c:2677 [inline] pc : __folio_mark_dirty+0x578/0x97c mm/page-writeback.c:2728 lr : inode_to_wb include/linux/backing-dev.h:253 [inline] lr : folio_account_dirtied mm/page-writeback.c:2677 [inline] lr : __folio_mark_dirty+0x578/0x97c mm/page-writeback.c:2728 sp : ffff80000ffe39f0 x29: ffff80000ffe39f0 x28: ffff000118848120 x27: ffff80000d612000 x26: 0000000000000172 x25: ffff0000c5309a00 x24: 0000000000000000 x23: 0000000000000001 x22: ffff0000c5d244e0 x21: 0000000000000000 x20: ffff0001194e5f88 x19: fffffc00047b5c80 x18: 000000000000b187 x17: ffff80000dd94158 x16: ffff80000dbd2118 x15: ffff0000c5309a00 x14: 0000000000008000 x13: 00000000000000c0 x12: ffff0000c5309a00 x11: ff808000083e4464 x10: 0000000000000000 x9 : ffff8000083e4464 x8 : ffff0000c5309a00 x7 : ffff8000083e3f24 x6 : 0000000000000000 x5 : 0000000000000020 x4 : ffff80000ffe37a0 x3 : 0000000000000000 x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: inode_to_wb include/linux/backing-dev.h:253 [inline] folio_account_dirtied mm/page-writeback.c:2677 [inline] __folio_mark_dirty+0x578/0x97c mm/page-writeback.c:2728 __set_page_dirty include/linux/pagemap.h:1052 [inline] mark_buffer_dirty+0x224/0x598 fs/buffer.c:1105 gfs2_unpin+0xc8/0x444 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+0xd20/0x108c fs/gfs2/log.c:1116 gfs2_kill_sb+0x38/0x78 fs/gfs2/ops_fstype.c:1732 deactivate_locked_super+0x70/0xe8 fs/super.c:332 deactivate_super+0xd0/0xd4 fs/super.c:363 cleanup_mnt+0x180/0x1bc fs/namespace.c:1291 __cleanup_mnt+0x20/0x30 fs/namespace.c:1298 task_work_run+0x100/0x148 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x165c/0x2628 arch/arm64/kernel/signal.c:1302 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x9c/0x14c arch/arm64/kernel/entry-common.c:638 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: 2552842 hardirqs last enabled at (2552841): [] folio_memcg_lock+0xdc/0x164 mm/memcontrol.c:2114 hardirqs last disabled at (2552842): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (2552842): [] _raw_spin_lock_irqsave+0x2c/0x88 kernel/locking/spinlock.c:162 softirqs last enabled at (2552814): [] _stext+0x54c/0x5e4 softirqs last disabled at (2552791): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 1 PID: 4462 at include/linux/backing-dev.h:256 inode_to_wb include/linux/backing-dev.h:253 [inline] WARNING: CPU: 1 PID: 4462 at include/linux/backing-dev.h:256 __folio_start_writeback+0x2f8/0x7cc mm/page-writeback.c:3093 Modules linked in: CPU: 1 PID: 4462 Comm: syz-executor.1 Tainted: G W 6.2.0-rc7-syzkaller-17907-g2d3827b3f393 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 pstate: 804000c5 (Nzcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : inode_to_wb include/linux/backing-dev.h:253 [inline] pc : __folio_start_writeback+0x2f8/0x7cc mm/page-writeback.c:3093 lr : inode_to_wb include/linux/backing-dev.h:253 [inline] lr : __folio_start_writeback+0x2f8/0x7cc mm/page-writeback.c:3093 sp : ffff80000ffe3710 x29: ffff80000ffe3750 x28: 0000000000000001 x27: 0000000000000000 x26: 0000000000000000 x25: ffff0000c5d244e0 x24: ffff0001194e5f80 x23: 0000000000000000 x22: 0000000000000000 x21: 0000000000000000 x20: 0000000000000001 x19: fffffc00047b5c80 x18: 000000000000b199 x17: ffff80000dd94158 x16: ffff0000c530a448 x15: ffff80000dbd2118 x14: ffff0000c5309a00 x13: 00000000ffffffff x12: ffff0000c5309a00 x11: ff808000083e6020 x10: 0000000000000000 x9 : ffff8000083e6020 x8 : ffff0000c5309a00 x7 : ffff8000083e5e1c x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: inode_to_wb include/linux/backing-dev.h:253 [inline] __folio_start_writeback+0x2f8/0x7cc mm/page-writeback.c:3093 set_page_writeback+0x40/0xc4 mm/folio-compat.c:50 gfs2_aspace_writepage+0x350/0x648 fs/gfs2/meta_io.c:73 __gfs2_writepage+0x38/0x124 fs/gfs2/log.c:87 write_cache_pages+0x468/0xb20 mm/page-writeback.c:2472 gfs2_ail1_start_one fs/gfs2/log.c:143 [inline] gfs2_ail1_flush+0x470/0x65c fs/gfs2/log.c:223 gfs2_ail1_start fs/gfs2/log.c:254 [inline] empty_ail1_list+0x90/0x124 fs/gfs2/log.c:986 gfs2_log_flush+0xe58/0x108c fs/gfs2/log.c:1131 gfs2_kill_sb+0x38/0x78 fs/gfs2/ops_fstype.c:1732 deactivate_locked_super+0x70/0xe8 fs/super.c:332 deactivate_super+0xd0/0xd4 fs/super.c:363 cleanup_mnt+0x180/0x1bc fs/namespace.c:1291 __cleanup_mnt+0x20/0x30 fs/namespace.c:1298 task_work_run+0x100/0x148 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x165c/0x2628 arch/arm64/kernel/signal.c:1302 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x9c/0x14c arch/arm64/kernel/entry-common.c:638 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: 2553228 hardirqs last enabled at (2553227): [] folio_memcg_lock+0xdc/0x164 mm/memcontrol.c:2114 hardirqs last disabled at (2553228): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (2553228): [] _raw_spin_lock_irqsave+0x2c/0x88 kernel/locking/spinlock.c:162 softirqs last enabled at (2553198): [] _stext+0x54c/0x5e4 softirqs last disabled at (2552845): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 ---[ end trace 0000000000000000 ]---