gfs2: fsid=syz:syz.0: first mount done, others may mount ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4290 at include/linux/backing-dev.h:246 inode_to_wb include/linux/backing-dev.h:243 [inline] WARNING: CPU: 0 PID: 4290 at include/linux/backing-dev.h:246 folio_account_dirtied mm/page-writeback.c:2587 [inline] WARNING: CPU: 0 PID: 4290 at include/linux/backing-dev.h:246 __folio_mark_dirty+0x878/0xd04 mm/page-writeback.c:2638 Modules linked in: CPU: 0 PID: 4290 Comm: syz-executor199 Not tainted 6.1.118-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 : ffff8000210176e0 x29: ffff800021017700 x28: dfff800000000000 x27: 1fffe000180a87d2 x26: 0000000000000000 x25: ffff0000c0543e90 x24: 0000000000000001 x23: 0000000000000000 x22: fffffc0003774408 x21: 1fffff80006ee880 x20: ffff0000d2d46258 x19: fffffc0003774400 x18: ffff8000210173c0 x17: ffff800018aab000 x16: ffff8000082ff2b8 x15: ffff80001858bf80 x14: ffff0000d74141f8 x13: dfff800000000000 x12: 0000000000000001 x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff800008773e48 x8 : ffff0000d7413780 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000020 x4 : 0000000000000000 x3 : ffff800008af8ad8 x2 : ffff0000cef80060 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_kill_sb+0x5c/0xd4 fs/gfs2/ops_fstype.c:1729 deactivate_locked_super+0xac/0x124 fs/super.c:332 deactivate_super+0xf0/0x110 fs/super.c:363 cleanup_mnt+0x394/0x41c fs/namespace.c:1186 __cleanup_mnt+0x20/0x30 fs/namespace.c:1193 task_work_run+0x240/0x2f0 kernel/task_work.c:203 exit_task_work include/linux/task_work.h:39 [inline] do_exit+0x554/0x1a88 kernel/exit.c:871 do_group_exit+0x194/0x22c kernel/exit.c:1021 __do_sys_exit_group kernel/exit.c:1032 [inline] __se_sys_exit_group kernel/exit.c:1030 [inline] __wake_up_parent+0x0/0x60 kernel/exit.c:1030 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 irq event stamp: 133484 hardirqs last enabled at (133483): [] folio_memcg_lock+0xf4/0x20c mm/memcontrol.c:2110 hardirqs last disabled at (133484): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (133484): [] _raw_spin_lock_irqsave+0xa4/0xb4 kernel/locking/spinlock.c:162 softirqs last enabled at (131840): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (131840): [] handle_softirqs+0xb84/0xd58 kernel/softirq.c:599 softirqs last disabled at (131833): [] __do_softirq+0x14/0x20 kernel/softirq.c:605 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4290 at include/linux/backing-dev.h:246 inode_to_wb include/linux/backing-dev.h:243 [inline] WARNING: CPU: 0 PID: 4290 at include/linux/backing-dev.h:246 __folio_start_writeback+0x8fc/0xaf8 mm/page-writeback.c:3003 Modules linked in: CPU: 0 PID: 4290 Comm: syz-executor199 Tainted: G W 6.1.118-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_start_writeback+0x8fc/0xaf8 mm/page-writeback.c:3003 lr : inode_to_wb include/linux/backing-dev.h:243 [inline] lr : __folio_start_writeback+0x8fc/0xaf8 mm/page-writeback.c:3003 sp : ffff800021017160 x29: ffff800021017240 x28: 0000000000000000 x27: ffff700004202e34 x26: 0000000000000000 x25: 0000000000000000 x24: ffff0000d2d46250 x23: ffff8000210171c0 x22: ffff0000c0543ce8 x21: 0000000000000001 x20: fffffc0003774408 x19: fffffc0003774400 x18: ffff8000210172c0 x17: ffff800018aab000 x16: ffff8000082ff2b8 x15: 0000000000000000 x14: 1ffff00002b3a0b0 x13: dfff800000000000 x12: 0000000000000001 x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff800008776428 x8 : ffff0000d7413780 x7 : ffff800008775e84 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : ffff800008775ec4 x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: inode_to_wb include/linux/backing-dev.h:243 [inline] __folio_start_writeback+0x8fc/0xaf8 mm/page-writeback.c:3003 set_page_writeback+0x5c/0x7c mm/folio-compat.c:56 gfs2_aspace_writepage+0x524/0x6f8 fs/gfs2/meta_io.c:73 __gfs2_writepage+0x70/0x18c fs/gfs2/log.c:87 write_cache_pages+0x7fc/0xf60 mm/page-writeback.c:2382 gfs2_ail1_start_one fs/gfs2/log.c:143 [inline] gfs2_ail1_flush+0x7bc/0xa40 fs/gfs2/log.c:223 gfs2_ail1_start fs/gfs2/log.c:254 [inline] empty_ail1_list+0x150/0x234 fs/gfs2/log.c:986 gfs2_log_flush+0x1588/0x1b20 fs/gfs2/log.c:1131 gfs2_kill_sb+0x5c/0xd4 fs/gfs2/ops_fstype.c:1729 deactivate_locked_super+0xac/0x124 fs/super.c:332 deactivate_super+0xf0/0x110 fs/super.c:363 cleanup_mnt+0x394/0x41c fs/namespace.c:1186 __cleanup_mnt+0x20/0x30 fs/namespace.c:1193 task_work_run+0x240/0x2f0 kernel/task_work.c:203 exit_task_work include/linux/task_work.h:39 [inline] do_exit+0x554/0x1a88 kernel/exit.c:871 do_group_exit+0x194/0x22c kernel/exit.c:1021 __do_sys_exit_group kernel/exit.c:1032 [inline] __se_sys_exit_group kernel/exit.c:1030 [inline] __wake_up_parent+0x0/0x60 kernel/exit.c:1030 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 irq event stamp: 133522 hardirqs last enabled at (133521): [] folio_memcg_lock+0xf4/0x20c mm/memcontrol.c:2110 hardirqs last disabled at (133522): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (133522): [] _raw_spin_lock_irqsave+0xa4/0xb4 kernel/locking/spinlock.c:162 softirqs last enabled at (133500): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (133500): [] handle_softirqs+0xb84/0xd58 kernel/softirq.c:599 softirqs last disabled at (133487): [] __do_softirq+0x14/0x20 kernel/softirq.c:605 ---[ end trace 0000000000000000 ]---