------------[ cut here ]------------ WARNING: CPU: 1 PID: 5963 at include/linux/backing-dev.h:256 inode_to_wb include/linux/backing-dev.h:253 [inline] WARNING: CPU: 1 PID: 5963 at include/linux/backing-dev.h:256 folio_account_dirtied mm/page-writeback.c:2677 [inline] WARNING: CPU: 1 PID: 5963 at include/linux/backing-dev.h:256 __folio_mark_dirty+0x914/0x10a8 mm/page-writeback.c:2728 Modules linked in: CPU: 1 PID: 5963 Comm: syz-executor.1 Not tainted 6.2.0-syzkaller-18295-ga9b06ec42c0f #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+0x914/0x10a8 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+0x914/0x10a8 mm/page-writeback.c:2728 sp : ffff80001e327590 x29: ffff80001e3275b0 x28: dfff800000000000 x27: 1fffe000180937d2 x26: 0000000000000000 x25: ffff0000c049be90 x24: 0000000000000001 x23: fffffc00037004c8 x22: 0000000000000000 x21: 0000000000000000 x20: ffff0000c903e258 x19: fffffc00037004c0 x18: 1fffe0003689d376 x17: ffff800015c2d000 x16: ffff8000083102fc x15: 0000000000000000 x14: 1ffff00002b860af x13: dfff800000000000 x12: ffff700003c64e98 x11: ff808000087961f8 x10: 0000000000000000 x9 : ffff8000087961f8 x8 : ffff0000d63a3680 x7 : ffff80000879592c x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : ffff800008329d64 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+0x914/0x10a8 mm/page-writeback.c:2728 __set_page_dirty include/linux/pagemap.h:1052 [inline] mark_buffer_dirty+0x38c/0x950 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+0xcac/0x1c80 fs/gfs2/log.c:1116 gfs2_kill_sb+0x5c/0xd4 fs/gfs2/ops_fstype.c:1732 deactivate_locked_super+0xac/0x124 fs/super.c:332 deactivate_super+0xf0/0x110 fs/super.c:363 cleanup_mnt+0x394/0x41c fs/namespace.c:1291 __cleanup_mnt+0x20/0x30 fs/namespace.c:1298 task_work_run+0x240/0x2f0 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x2180/0x3c90 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/0x168 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: 564998 hardirqs last enabled at (564997): [] folio_memcg_lock+0xe4/0x1d0 mm/memcontrol.c:2114 hardirqs last disabled at (564998): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (564998): [] _raw_spin_lock_irqsave+0x2c/0x88 kernel/locking/spinlock.c:162 softirqs last enabled at (564946): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (564946): [] __do_softirq+0xd4c/0xfa4 kernel/softirq.c:600 softirqs last disabled at (564745): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ WARNING: CPU: 1 PID: 5963 at include/linux/backing-dev.h:256 inode_to_wb include/linux/backing-dev.h:253 [inline] WARNING: CPU: 1 PID: 5963 at include/linux/backing-dev.h:256 __folio_start_writeback+0x7f8/0xca0 mm/page-writeback.c:3093 Modules linked in: CPU: 1 PID: 5963 Comm: syz-executor.1 Tainted: G W 6.2.0-syzkaller-18295-ga9b06ec42c0f #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+0x7f8/0xca0 mm/page-writeback.c:3093 lr : inode_to_wb include/linux/backing-dev.h:253 [inline] lr : __folio_start_writeback+0x7f8/0xca0 mm/page-writeback.c:3093 sp : ffff80001e326fc0 x29: ffff80001e3270c0 x28: 0000000000000000 x27: dfff800000000000 x26: 1fffff80006e0098 x25: ffff0000c903e250 x24: 0000000000000000 x23: ffff80001e327040 x22: ffff0000c049bce8 x21: 0000000000000001 x20: fffffc00037004c8 x19: fffffc00037004c0 x18: 1fffe0003689d376 x17: ffff800015c2d000 x16: ffff8000083102fc x15: 0000000000000000 x14: 1ffff00002b860af x13: dfff800000000000 x12: 0000000000000001 x11: ff80800008799090 x10: 0000000000000000 x9 : ffff800008799090 x8 : ffff0000d63a3680 x7 : ffff800008798aec x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : ffff800008798b38 x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: inode_to_wb include/linux/backing-dev.h:253 [inline] __folio_start_writeback+0x7f8/0xca0 mm/page-writeback.c:3093 set_page_writeback+0x64/0x118 mm/folio-compat.c:50 gfs2_aspace_writepage+0x538/0x93c fs/gfs2/meta_io.c:73 __gfs2_writepage+0x70/0x18c fs/gfs2/log.c:87 write_cache_pages+0x80c/0x1314 mm/page-writeback.c:2472 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+0x1390/0x1c80 fs/gfs2/log.c:1131 gfs2_kill_sb+0x5c/0xd4 fs/gfs2/ops_fstype.c:1732 deactivate_locked_super+0xac/0x124 fs/super.c:332 deactivate_super+0xf0/0x110 fs/super.c:363 cleanup_mnt+0x394/0x41c fs/namespace.c:1291 __cleanup_mnt+0x20/0x30 fs/namespace.c:1298 task_work_run+0x240/0x2f0 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x2180/0x3c90 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/0x168 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: 565254 hardirqs last enabled at (565253): [] folio_memcg_lock+0xe4/0x1d0 mm/memcontrol.c:2114 hardirqs last disabled at (565254): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (565254): [] _raw_spin_lock_irqsave+0x2c/0x88 kernel/locking/spinlock.c:162 softirqs last enabled at (565244): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (565244): [] __do_softirq+0xd4c/0xfa4 kernel/softirq.c:600 softirqs last disabled at (565093): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 ---[ end trace 0000000000000000 ]--- syz-executor.1: attempt to access beyond end of device loop1: rw=2049, sector=45096, nr_sectors = 8 limit=40427 syz-executor.1: attempt to access beyond end of device loop1: rw=2049, sector=45096, nr_sectors = 8 limit=40427 syz-executor.1: attempt to access beyond end of device loop1: rw=2049, sector=45096, nr_sectors = 8 limit=40427