------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:1721! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 13678 Comm: syz-executor.0 Not tainted 5.15.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ext4_da_map_blocks fs/ext4/inode.c:1721 [inline] RIP: 0010:ext4_da_get_block_prep+0xdf8/0x1070 fs/ext4/inode.c:1830 Code: e8 dd 2e ad ff e9 d9 f3 ff ff e8 33 c1 66 ff be 08 00 00 00 48 89 df e8 46 32 ad ff f0 80 0b 20 e9 99 fd ff ff e8 18 c1 66 ff <0f> 0b e8 11 c1 66 ff 0f 0b e8 0a c1 66 ff 0f 0b e8 03 c1 66 ff 48 RSP: 0018:ffffc90002e77780 EFLAGS: 00010216 RAX: 00000000000002fd RBX: ffff88806b78cbc8 RCX: ffffc900171e1000 RDX: 0000000000040000 RSI: ffffffff8210b178 RDI: 0000000000000003 RBP: ffffffffffffffff R08: ffffffffffffffff R09: 0000000000000000 R10: ffffffff8210ae1c R11: 0000000000000000 R12: 000000000000000d R13: 1ffff920005ceef4 R14: ffffffffffff0000 R15: 0000000000000004 FS: 00007f4ce3a51700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33a2e000 CR3: 000000003262b000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: ext4_block_write_begin+0x539/0x1140 fs/ext4/inode.c:1078 ext4_da_write_begin+0x3eb/0xad0 fs/ext4/inode.c:2969 generic_perform_write+0x202/0x510 mm/filemap.c:3746 ext4_buffered_write_iter+0x1ac/0x3b0 fs/ext4/file.c:269 ext4_file_write_iter+0x423/0x14e0 fs/ext4/file.c:680 call_write_iter include/linux/fs.h:2161 [inline] new_sync_write+0x429/0x660 fs/read_write.c:503 vfs_write+0x7cd/0xae0 fs/read_write.c:590 ksys_write+0x12d/0x250 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f4ce64dbae9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4ce3a51188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f4ce65eef60 RCX: 00007f4ce64dbae9 RDX: 0000000000000012 RSI: 0000000020000000 RDI: 0000000000000003 RBP: 00007f4ce6535f25 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc4922362f R14: 00007f4ce3a51300 R15: 0000000000022000 Modules linked in: ---[ end trace 4d2ad7af0c90fc4f ]--- RIP: 0010:ext4_da_map_blocks fs/ext4/inode.c:1721 [inline] RIP: 0010:ext4_da_get_block_prep+0xdf8/0x1070 fs/ext4/inode.c:1830 Code: e8 dd 2e ad ff e9 d9 f3 ff ff e8 33 c1 66 ff be 08 00 00 00 48 89 df e8 46 32 ad ff f0 80 0b 20 e9 99 fd ff ff e8 18 c1 66 ff <0f> 0b e8 11 c1 66 ff 0f 0b e8 0a c1 66 ff 0f 0b e8 03 c1 66 ff 48 RSP: 0018:ffffc90002e77780 EFLAGS: 00010216 RAX: 00000000000002fd RBX: ffff88806b78cbc8 RCX: ffffc900171e1000 RDX: 0000000000040000 RSI: ffffffff8210b178 RDI: 0000000000000003 RBP: ffffffffffffffff R08: ffffffffffffffff R09: 0000000000000000 R10: ffffffff8210ae1c R11: 0000000000000000 R12: 000000000000000d R13: 1ffff920005ceef4 R14: ffffffffffff0000 R15: 0000000000000004 FS: 00007f4ce3a51700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33a2e000 CR3: 000000003262b000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600