------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2732! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 629 Comm: syz-executor469 Tainted: G W 5.4.161-syzkaller-00053-gac3eac18e72e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:mpage_prepare_extent_to_map+0xa8f/0xaa0 fs/ext4/inode.c:2732 Code: 4c 89 f7 e8 d3 06 d1 ff e9 4e f7 ff ff 0f 8f e7 fe ff ff 48 8d bc 24 98 00 00 00 e8 bb 06 d1 ff e9 d5 fe ff ff e8 a1 ea a3 ff <0f> 0b e8 9a ea a3 ff 0f 0b e8 73 8f 7d ff 0f 1f 00 55 41 57 41 56 RSP: 0018:ffff8881dcc676a0 EFLAGS: 00010293 RAX: ffffffff81bcbbbf RBX: 00000000000000a5 RCX: ffff8881dcde2f40 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff81bcb8ac R09: fffff94000ee44b1 R10: fffff94000ee44b1 R11: 0000000000000000 R12: ffffea0007722580 R13: dffffc0000000000 R14: ffff8881dcc67980 R15: ffff8881dcc67990 FS: 00007f6c926ca700(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000040 CR3: 00000001dceba000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_writepages+0xd5e/0x3cd0 fs/ext4/inode.c:2861 do_writepages+0xda/0x1f0 mm/page-writeback.c:2344 __filemap_fdatawrite_range mm/filemap.c:421 [inline] filemap_write_and_wait_range+0x2e3/0x3a0 mm/filemap.c:681 generic_file_direct_write+0x142/0x660 mm/filemap.c:3190 __generic_file_write_iter+0x298/0x480 mm/filemap.c:3397 ext4_file_write_iter+0x875/0x1050 fs/ext4/file.c:270 call_write_iter include/linux/fs.h:1976 [inline] new_sync_write fs/read_write.c:483 [inline] __vfs_write+0x506/0x6b0 fs/read_write.c:496 vfs_write+0x212/0x4e0 fs/read_write.c:558 ksys_write+0x13f/0x240 fs/read_write.c:611 do_syscall_64+0xcb/0x1e0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f6c92718db9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f6c926ca2f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000036 RCX: 00007f6c92718db9 RDX: 000000000000f000 RSI: 0000000020000200 RDI: 0000000000000004 RBP: 00007f6c927a14e8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6c927a14e0 R13: 00007f6c927a14ec R14: 00007f6c9276e07c R15: 652e79726f6d656d Modules linked in: ---[ end trace 8d6e3f94f052bb67 ]--- RIP: 0010:mpage_prepare_extent_to_map+0xa8f/0xaa0 fs/ext4/inode.c:2732 Code: 4c 89 f7 e8 d3 06 d1 ff e9 4e f7 ff ff 0f 8f e7 fe ff ff 48 8d bc 24 98 00 00 00 e8 bb 06 d1 ff e9 d5 fe ff ff e8 a1 ea a3 ff <0f> 0b e8 9a ea a3 ff 0f 0b e8 73 8f 7d ff 0f 1f 00 55 41 57 41 56 RSP: 0018:ffff8881dcc676a0 EFLAGS: 00010293 RAX: ffffffff81bcbbbf RBX: 00000000000000a5 RCX: ffff8881dcde2f40 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff81bcb8ac R09: fffff94000ee44b1 R10: fffff94000ee44b1 R11: 0000000000000000 R12: ffffea0007722580 R13: dffffc0000000000 R14: ffff8881dcc67980 R15: ffff8881dcc67990 FS: 00007f6c926ca700(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6c92688718 CR3: 00000001dceba000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400