------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:1721! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 15668 Comm: syz-executor.4 Not tainted 5.15.0-rc6-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 cd d3 ab ff e9 d9 f3 ff ff e8 13 7c 64 ff be 08 00 00 00 48 89 df e8 36 d7 ab ff f0 80 0b 20 e9 99 fd ff ff e8 f8 7b 64 ff <0f> 0b e8 f1 7b 64 ff 0f 0b e8 ea 7b 64 ff 0f 0b e8 e3 7b 64 ff 48 RSP: 0018:ffffc90002f0f780 EFLAGS: 00010212 RAX: 0000000000000316 RBX: ffff8880707531d0 RCX: ffffc90003804000 RDX: 0000000000040000 RSI: ffffffff82126138 RDI: 0000000000000003 RBP: ffffffffffffffff R08: ffffffffffffffff R09: 0000000000000000 R10: ffffffff82125ddc R11: 0000000000000000 R12: 000000000000000d R13: 1ffff920005e1ef4 R14: ffffffffffff0000 R15: 0000000000000004 FS: 00007f8ee86b6700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8eeb1ede40 CR3: 000000002d10a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: ext4_block_write_begin+0x503/0x1110 fs/ext4/inode.c:1078 ext4_da_write_begin+0x3eb/0xad0 fs/ext4/inode.c:2969 generic_perform_write+0x202/0x510 mm/filemap.c:3770 ext4_buffered_write_iter+0x244/0x500 fs/ext4/file.c:269 ext4_file_write_iter+0x423/0x14e0 fs/ext4/file.c:680 call_write_iter include/linux/fs.h:2163 [inline] new_sync_write+0x429/0x660 fs/read_write.c:507 vfs_write+0x7cf/0xae0 fs/read_write.c:594 ksys_write+0x12d/0x250 fs/read_write.c:647 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:0x7f8eeb1a3ae9 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:00007f8ee86b6188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f8eeb2b71a0 RCX: 00007f8eeb1a3ae9 RDX: 0000000000000012 RSI: 0000000020000180 RDI: 0000000000000003 RBP: 00007f8eeb1fdf25 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff9767ae3f R14: 00007f8ee86b6300 R15: 0000000000022000 Modules linked in: ---[ end trace d5f0c415c0f8761a ]--- 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 cd d3 ab ff e9 d9 f3 ff ff e8 13 7c 64 ff be 08 00 00 00 48 89 df e8 36 d7 ab ff f0 80 0b 20 e9 99 fd ff ff e8 f8 7b 64 ff <0f> 0b e8 f1 7b 64 ff 0f 0b e8 ea 7b 64 ff 0f 0b e8 e3 7b 64 ff 48 RSP: 0018:ffffc90002f0f780 EFLAGS: 00010212 RAX: 0000000000000316 RBX: ffff8880707531d0 RCX: ffffc90003804000 RDX: 0000000000040000 RSI: ffffffff82126138 RDI: 0000000000000003 RBP: ffffffffffffffff R08: ffffffffffffffff R09: 0000000000000000 R10: ffffffff82125ddc R11: 0000000000000000 R12: 000000000000000d R13: 1ffff920005e1ef4 R14: ffffffffffff0000 R15: 0000000000000004 FS: 00007f8ee86b6700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000002d10a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600