------------[ cut here ]------------ WARNING: CPU: 0 PID: 8063 at fs/iomap/buffered-io.c:975 iomap_page_mkwrite+0x538/0x764 fs/iomap/buffered-io.c:998 Modules linked in: CPU: 0 PID: 8063 Comm: syz.8.573 Not tainted 5.15.171-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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 : ffff800020fe6aa0 x29: ffff800020fe6c80 x28: 1ffff000041fcd6f x27: dfff800000000000 x26: 1ffff000041fcd7d x25: fffffc0003a15b80 x24: ffff800020fe6be0 x23: 0000000000001000 x22: 05ffc00000000013 x21: fffffc0003a15b80 x20: 1ffff000041fcd74 x19: ffff800020fe6bd8 x18: 0000000000000000 x17: 0000000000000002 x16: ffff800011ac0310 x15: ffffffffffffffff x14: ffff0000c86d9b40 x13: 0000000000ff0100 x12: 0000000000040000 x11: 0000000000007372 x10: ffff800025b8a000 x9 : 0000000000007373 x8 : ffff800008b4df04 x7 : 0000000000000000 x6 : ffff0000e5a20a00 x5 : ffff800020fe6530 x4 : ffff800020fe68a0 x3 : ffff800009b26390 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:2909 wp_page_shared+0x14c/0x398 mm/memory.c:3246 do_wp_page+0x7cc/0x9c4 mm/memory.c:3347 handle_pte_fault mm/memory.c:4655 [inline] __handle_mm_fault mm/memory.c:4772 [inline] handle_mm_fault+0x1bdc/0x33a8 mm/memory.c:4870 __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 el1_abort+0x3c/0x5c arch/arm64/kernel/entry-common.c:358 el1h_64_sync_handler+0x60/0xac arch/arm64/kernel/entry-common.c:418 el1h_64_sync+0x78/0x7c arch/arm64/kernel/entry.S:522 __arch_copy_to_user+0x190/0x218 arch/arm64/lib/copy_template.S:158 filemap_read+0x164c/0x1bd8 mm/filemap.c:2698 generic_file_read_iter+0xa0/0x3c4 mm/filemap.c:2794 xfs_file_buffered_read+0x1a0/0x3e0 fs/xfs/xfs_file.c:302 xfs_file_read_iter+0x250/0x564 fs/xfs/xfs_file.c:327 do_iter_readv_writev+0x420/0x5f8 do_iter_read+0x1c4/0x684 fs/read_write.c:790 vfs_readv fs/read_write.c:910 [inline] do_preadv+0x1e4/0x324 fs/read_write.c:1002 __do_sys_preadv fs/read_write.c:1052 [inline] __se_sys_preadv fs/read_write.c:1047 [inline] __arm64_sys_preadv+0xa0/0xb8 fs/read_write.c:1047 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 24772 hardirqs last enabled at (24771): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (24771): [] _raw_spin_unlock_irqrestore+0xac/0x158 kernel/locking/spinlock.c:194 hardirqs last disabled at (24772): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (24718): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:31 softirqs last disabled at (24716): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:18 ---[ end trace e2afc364170fc377 ]--- ------------[ cut here ]------------ WARNING: CPU: 1 PID: 8063 at mm/page-writeback.c:2521 __set_page_dirty+0xdc/0xc7c Modules linked in: CPU: 1 PID: 8063 Comm: syz.8.573 Tainted: G W 5.15.171-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 : __set_page_dirty+0xdc/0xc7c lr : __set_page_dirty+0xdc/0xc7c sp : ffff800020fe69a0 x29: ffff800020fe69b0 x28: 0000000000000000 x27: dfff800000000000 x26: dfff800000000000 x25: 1fffff8000742b71 x24: fffffc0003a15b98 x23: ffff0000e718a958 x22: fffffc0003a15b80 x21: 05ffc0000000001b x20: ffff0000e718a960 x19: fffffc0003a15b80 x18: ffff800020fe6680 x17: 0000000000000002 x16: ffff8000083052d8 x15: 0000000000000006 x14: ffff80001714f500 x13: dfff800000000000 x12: 0000000000040000 x11: 0000000000021d6f x10: ffff800025b8a000 x9 : 0000000000021d70 x8 : ffff800008708798 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000020 x4 : 0000000000000000 x3 : ffff800008305408 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:2909 wp_page_shared+0x14c/0x398 mm/memory.c:3246 do_wp_page+0x7cc/0x9c4 mm/memory.c:3347 handle_pte_fault mm/memory.c:4655 [inline] __handle_mm_fault mm/memory.c:4772 [inline] handle_mm_fault+0x1bdc/0x33a8 mm/memory.c:4870 __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 el1_abort+0x3c/0x5c arch/arm64/kernel/entry-common.c:358 el1h_64_sync_handler+0x60/0xac arch/arm64/kernel/entry-common.c:418 el1h_64_sync+0x78/0x7c arch/arm64/kernel/entry.S:522 __arch_copy_to_user+0x190/0x218 arch/arm64/lib/copy_template.S:158 filemap_read+0x164c/0x1bd8 mm/filemap.c:2698 generic_file_read_iter+0xa0/0x3c4 mm/filemap.c:2794 xfs_file_buffered_read+0x1a0/0x3e0 fs/xfs/xfs_file.c:302 xfs_file_read_iter+0x250/0x564 fs/xfs/xfs_file.c:327 do_iter_readv_writev+0x420/0x5f8 do_iter_read+0x1c4/0x684 fs/read_write.c:790 vfs_readv fs/read_write.c:910 [inline] do_preadv+0x1e4/0x324 fs/read_write.c:1002 __do_sys_preadv fs/read_write.c:1052 [inline] __se_sys_preadv fs/read_write.c:1047 [inline] __arm64_sys_preadv+0xa0/0xb8 fs/read_write.c:1047 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 24836 hardirqs last enabled at (24835): [] lock_page_memcg+0x11c/0x244 mm/memcontrol.c:2056 hardirqs last disabled at (24836): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (24836): [] _raw_spin_lock_irqsave+0xfc/0x14c kernel/locking/spinlock.c:162 softirqs last enabled at (24828): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (24828): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (24775): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (24775): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (24775): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (24775): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace e2afc364170fc378 ]---