------------[ cut here ]------------ WARNING: CPU: 0 PID: 2097 at fs/ext4/inode.c:3304 ext4_iomap_begin+0x2e1/0x2f0 fs/ext4/inode.c:3344 Modules linked in: CPU: 0 PID: 2097 Comm: syz-executor.0 Not tainted 6.4.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:ext4_iomap_begin+0x2e1/0x2f0 fs/ext4/inode.c:3304 Code: e8 44 59 00 00 45 31 e4 65 48 8b 04 25 28 00 00 00 48 3b 44 24 48 75 1c 44 89 e0 48 83 c4 50 5b 41 5c 41 5d 41 5e 41 5f 5d c3 <0f> 0b 41 bc de ff ff ff eb d4 e8 40 7e 7c 00 f3 0f 1e fa 41 83 e0 RSP: 0018:ffffc90001c0fb68 EFLAGS: 00010202 RAX: 0000000000000016 RBX: ffff888113416110 RCX: 000000000000000b RDX: 00000000fffffffe RSI: 000000000000b114 RDI: ffff888113416110 RBP: 000000000000b114 R08: ffffc90001c0fcb0 R09: ffffc90001c0fd00 R10: ffffc90001c0fcb0 R11: 0000000000000000 R12: 00000000ffffffea R13: ffffc90001c0fe01 R14: ffffc90001c0fcb0 R15: 0000000000000001 FS: 00007ff0270206c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff02f819086 CR3: 0000000102fc1000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: iomap_iter+0x178/0x3a0 fs/iomap/iter.c:91 __iomap_dio_rw+0x3be/0x840 fs/iomap/direct-io.c:597 iomap_dio_rw+0xd/0x40 fs/iomap/direct-io.c:688 ext4_dio_write_iter fs/ext4/file.c:603 [inline] ext4_file_write_iter+0x58d/0x960 fs/ext4/file.c:714 call_write_iter include/linux/fs.h:1868 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x334/0x3f0 fs/read_write.c:584 ksys_pwrite64 fs/read_write.c:699 [inline] __do_sys_pwrite64 fs/read_write.c:709 [inline] __se_sys_pwrite64 fs/read_write.c:706 [inline] __x64_sys_pwrite64+0x6a/0xc0 fs/read_write.c:706 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7ff02f7beae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff0270200c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00007ff02f8de050 RCX: 00007ff02f7beae9 RDX: 0000000000000001 RSI: 0000000020000100 RDI: 0000000000000005 RBP: 00007ff02f80a47a R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000b114 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007ff02f8de050 R15: 00007fff2c0d03e8