------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:1721! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 10311 Comm: syz-executor.4 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 3d db cc ff e9 d9 f3 ff ff e8 43 2e 9e ff be 08 00 00 00 48 89 df e8 a6 de cc ff f0 80 0b 20 e9 99 fd ff ff e8 28 2e 9e ff <0f> 0b e8 21 2e 9e ff 0f 0b e8 1a 2e 9e ff 0f 0b e8 13 2e 9e ff 48 RSP: 0018:ffffc90002787720 EFLAGS: 00010216 RAX: 000000000000021f RBX: ffff888146fcd9f8 RCX: ffffc90001b19000 RDX: 0000000000040000 RSI: ffffffff81a55838 RDI: 0000000000000003 RBP: ffffffffffffffff R08: ffffffffffffffff R09: 0000000000000000 R10: ffffffff81a554dc R11: 0000000000000000 R12: 0000000000000000 R13: 1ffff920004f0ee8 R14: ffffffffffff0000 R15: 0000000000000004 FS: 00007fc6a3694700(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020002000 CR3: 00000001031a6000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __block_write_begin_int+0x43e/0x1830 fs/buffer.c:2010 ext4_da_write_begin+0x3ca/0x980 fs/ext4/inode.c:2972 generic_perform_write+0x205/0x510 mm/filemap.c:3746 ext4_buffered_write_iter+0x1ac/0x3b0 fs/ext4/file.c:269 ext4_file_write_iter+0x3bd/0x19b0 fs/ext4/file.c:681 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:0x7fc6a591dae9 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:00007fc6a3694188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fc6a5a30f60 RCX: 00007fc6a591dae9 RDX: 000000000003b000 RSI: 0000000020001180 RDI: 0000000000000008 RBP: 00007fc6a5977f25 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdb17877af R14: 00007fc6a3694300 R15: 0000000000022000 Modules linked in: ---[ end trace f7e57e1b5a200404 ]--- 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 3d db cc ff e9 d9 f3 ff ff e8 43 2e 9e ff be 08 00 00 00 48 89 df e8 a6 de cc ff f0 80 0b 20 e9 99 fd ff ff e8 28 2e 9e ff <0f> 0b e8 21 2e 9e ff 0f 0b e8 1a 2e 9e ff 0f 0b e8 13 2e 9e ff 48 RSP: 0018:ffffc90002787720 EFLAGS: 00010216 RAX: 000000000000021f RBX: ffff888146fcd9f8 RCX: ffffc90001b19000 RDX: 0000000000040000 RSI: ffffffff81a55838 RDI: 0000000000000003 RBP: ffffffffffffffff R08: ffffffffffffffff R09: 0000000000000000 R10: ffffffff81a554dc R11: 0000000000000000 R12: 0000000000000000 R13: 1ffff920004f0ee8 R14: ffffffffffff0000 R15: 0000000000000004 FS: 00007fc6a3694700(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020002000 CR3: 00000001031a6000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400