XFS (loop0): metadata I/O error in "xfs_alloc_read_agfl+0x1c0/0x35c" at daddr 0x3 len 1 error 74 XFS (loop0): page discard on page 00000000004e9a5e, inode 0x244b, offset 0. ------------[ cut here ]------------ WARNING: CPU: 1 PID: 4015 at fs/iomap/buffered-io.c:975 iomap_page_mkwrite+0x538/0x764 fs/iomap/buffered-io.c:998 Modules linked in: CPU: 1 PID: 4015 Comm: syz-executor292 Not tainted 5.15.164-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : iomap_page_mkwrite+0x538/0x764 fs/iomap/buffered-io.c:998 lr : iomap_page_mkwrite+0x538/0x764 fs/iomap/buffered-io.c:998 sp : ffff800019f876c0 x29: ffff800019f878a0 x28: 1ffff000033f0ef3 x27: dfff800000000000 x26: 1ffff000033f0f01 x25: fffffc0006ce1380 x24: ffff800019f87800 x23: 0000000000001000 x22: 05ffc00000000011 x21: fffffc0006ce1380 x20: 1ffff000033f0ef8 x19: ffff800019f877f8 x18: 0000000000000000 x17: 0000000000000000 x16: ffff800011ab8a28 x15: ffffffffffffffff x14: ffff0000da29d1c0 x13: 0000000000ff0100 x12: ffff800019f87798 x11: 0000000000000000 x10: 0000000000000000 x9 : ffff0000da29d1c0 x8 : ffff800008b4bf60 x7 : ffffffffe0000006 x6 : 0180000000000004 x5 : ffff0000cdbb6320 x4 : ffff800019f874c0 x3 : ffff800009b24ea0 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: iomap_page_mkwrite+0x538/0x764 fs/iomap/buffered-io.c:998 __xfs_filemap_fault+0x58c/0xeb4 fs/xfs/xfs_file.c:1338 xfs_filemap_page_mkwrite+0x28/0x38 fs/xfs/xfs_file.c:1386 do_page_mkwrite+0x144/0x37c mm/memory.c:2892 wp_page_shared+0x14c/0x398 mm/memory.c:3229 do_wp_page+0x7cc/0x9c4 mm/memory.c:3330 handle_pte_fault mm/memory.c:4639 [inline] __handle_mm_fault mm/memory.c:4756 [inline] handle_mm_fault+0x1bf8/0x3424 mm/memory.c:4854 __do_page_fault arch/arm64/mm/fault.c:505 [inline] do_page_fault+0x700/0xb60 arch/arm64/mm/fault.c:605 do_mem_abort+0x70/0x1d8 arch/arm64/mm/fault.c:819 el0_da+0x94/0x20c arch/arm64/kernel/entry-common.c:494 el0t_64_sync_handler+0xc0/0xe4 arch/arm64/kernel/entry-common.c:629 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 99302 hardirqs last enabled at (99301): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (99301): [] _raw_spin_unlock_irqrestore+0xac/0x158 kernel/locking/spinlock.c:194 hardirqs last disabled at (99302): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (99282): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (99282): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (99167): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (99167): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (99167): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (99167): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace ca2698efc27b9d56 ]--- ------------[ cut here ]------------ WARNING: CPU: 1 PID: 4015 at mm/page-writeback.c:2521 __set_page_dirty+0xdc/0xc7c Modules linked in: CPU: 1 PID: 4015 Comm: syz-executor292 Tainted: G W 5.15.164-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 pstate: 804000c5 (Nzcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __set_page_dirty+0xdc/0xc7c lr : __set_page_dirty+0xdc/0xc7c sp : ffff800019f875c0 x29: ffff800019f875d0 x28: 0000000000000000 x27: dfff800000000000 x26: dfff800000000000 x25: 1fffff8000d9c271 x24: fffffc0006ce1398 x23: ffff0000ddf003d8 x22: fffffc0006ce1380 x21: 05ffc00000000019 x20: ffff0000ddf003e0 x19: fffffc0006ce1380 x18: 0000000000000000 x17: 0000000000000000 x16: ffff800008304888 x15: ffffffffffffffff x14: 1ffff0000295806a x13: dfff800000000000 x12: ffff7000033f0e9c x11: 0000000000000001 x10: 0000000000000000 x9 : ffff0000da29d1c0 x8 : ffff8000087078ac x7 : ffff800008707818 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : ffff8000083049b8 x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: __set_page_dirty+0xdc/0xc7c __set_page_dirty_nobuffers+0x154/0x258 mm/page-writeback.c:2551 set_page_dirty+0x23c/0x544 mm/page-writeback.c:2631 iomap_page_mkwrite_iter fs/iomap/buffered-io.c:976 [inline] iomap_page_mkwrite+0x58c/0x764 fs/iomap/buffered-io.c:998 __xfs_filemap_fault+0x58c/0xeb4 fs/xfs/xfs_file.c:1338 xfs_filemap_page_mkwrite+0x28/0x38 fs/xfs/xfs_file.c:1386 do_page_mkwrite+0x144/0x37c mm/memory.c:2892 wp_page_shared+0x14c/0x398 mm/memory.c:3229 do_wp_page+0x7cc/0x9c4 mm/memory.c:3330 handle_pte_fault mm/memory.c:4639 [inline] __handle_mm_fault mm/memory.c:4756 [inline] handle_mm_fault+0x1bf8/0x3424 mm/memory.c:4854 __do_page_fault arch/arm64/mm/fault.c:505 [inline] do_page_fault+0x700/0xb60 arch/arm64/mm/fault.c:605 do_mem_abort+0x70/0x1d8 arch/arm64/mm/fault.c:819 el0_da+0x94/0x20c arch/arm64/kernel/entry-common.c:494 el0t_64_sync_handler+0xc0/0xe4 arch/arm64/kernel/entry-common.c:629 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 99420 hardirqs last enabled at (99419): [] lock_page_memcg+0x11c/0x244 mm/memcontrol.c:2056 hardirqs last disabled at (99420): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (99420): [] _raw_spin_lock_irqsave+0xfc/0x14c kernel/locking/spinlock.c:162 softirqs last enabled at (99412): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (99412): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (99305): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (99305): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (99305): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (99305): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace ca2698efc27b9d57 ]---