------------[ cut here ]------------ WARNING: CPU: 0 PID: 3978 at fs/iomap/buffered-io.c:975 iomap_page_mkwrite+0x538/0x764 fs/iomap/buffered-io.c:998 Modules linked in: CPU: 0 PID: 3978 Comm: syz-executor617 Not tainted 5.15.148-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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 : ffff80001cb972e0 x29: ffff80001cb974c0 x28: 1ffff00003972e77 x27: dfff800000000000 x26: 1ffff00003972e85 x25: fffffc0005a00040 x24: ffff80001cb97420 x23: 0000000000001000 x22: 05ffc00000000013 x21: fffffc0005a00040 x20: 1ffff00003972e7c x19: ffff80001cb97418 x18: 0000000000000000 x17: 0000000000000000 x16: ffff80001198323c x15: ffffffffffffffff x14: ffff0000c83d9b40 x13: 0000000000ff0100 x12: ffff80001cb973b8 x11: 0000000000000000 x10: 0000000000000000 x9 : ffff0000c83d9b40 x8 : ffff800008b3cdac x7 : 0000000000000000 x6 : ffff0000cfb11c00 x5 : ffff80001cb96d70 x4 : ffff80001cb970e0 x3 : ffff800009b047a0 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 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:579 __sys_socketpair+0x224/0x7d8 net/socket.c:1624 __do_sys_socketpair net/socket.c:1690 [inline] __se_sys_socketpair net/socket.c:1687 [inline] __arm64_sys_socketpair+0x9c/0xb8 net/socket.c:1687 __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: 2460 hardirqs last enabled at (2459): [] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:231 hardirqs last disabled at (2460): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (2430): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:31 softirqs last disabled at (2428): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:18 ---[ end trace 796d59f13bf8665b ]--- ------------[ cut here ]------------ WARNING: CPU: 0 PID: 3978 at mm/page-writeback.c:2499 __set_page_dirty+0xdc/0xc7c Modules linked in: CPU: 0 PID: 3978 Comm: syz-executor617 Tainted: G W 5.15.148-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 pstate: 804000c5 (Nzcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __set_page_dirty+0xdc/0xc7c lr : __set_page_dirty+0xdc/0xc7c sp : ffff80001cb971e0 x29: ffff80001cb971f0 x28: 0000000000000000 x27: dfff800000000000 x26: dfff800000000000 x25: 1fffff8000b40009 x24: fffffc0005a00058 x23: ffff0000dec69a58 x22: fffffc0005a00040 x21: 05ffc0000000001b x20: ffff0000dec69a60 x19: fffffc0005a00040 x18: ffff80001cb96ec0 x17: 0000000000000000 x16: ffff8000083024ac x15: 000000000000bfbd x14: 000000002d1e21b9 x13: dfff800000000000 x12: ffff700003972e20 x11: 0000000000000001 x10: 0000000000000000 x9 : ffff0000c83d9b40 x8 : ffff8000086ff264 x7 : 0000000000000000 x6 : 0000000000000000 x5 : ffff8000175a4b40 x4 : 0000000000000002 x3 : ffff8000083025dc x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: __set_page_dirty+0xdc/0xc7c __set_page_dirty_nobuffers+0x154/0x258 mm/page-writeback.c:2529 set_page_dirty+0x23c/0x544 mm/page-writeback.c:2609 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 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:579 __sys_socketpair+0x224/0x7d8 net/socket.c:1624 __do_sys_socketpair net/socket.c:1690 [inline] __se_sys_socketpair net/socket.c:1687 [inline] __arm64_sys_socketpair+0x9c/0xb8 net/socket.c:1687 __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: 2484 hardirqs last enabled at (2483): [] lock_page_memcg+0x11c/0x244 mm/memcontrol.c:2056 hardirqs last disabled at (2484): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (2484): [] _raw_spin_lock_irqsave+0xfc/0x14c kernel/locking/spinlock.c:162 softirqs last enabled at (2476): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (2476): [] __do_softirq+0xb5c/0xdb0 kernel/softirq.c:587 softirqs last disabled at (2465): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (2465): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (2465): [] __irq_exit_rcu+0x264/0x4d4 kernel/softirq.c:637 ---[ end trace 796d59f13bf8665c ]---