------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2732! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 755 Comm: syz-executor261 Tainted: G W 5.4.161-syzkaller-00052-g49216514f3a3 #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 11 ec a3 ff <0f> 0b e8 0a ec a3 ff 0f 0b e8 d3 8b 7d ff 0f 1f 00 55 41 57 41 56 RSP: 0018:ffff8881f2dc73d8 EFLAGS: 00010293 RAX: ffffffff81bcbfbf RBX: 00000000000000a8 RCX: ffff8881e14e9f80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff81bcbcac R09: fffff94000ee6281 R10: fffff94000ee6281 R11: 0000000000000000 R12: ffffea0007731400 R13: dffffc0000000000 R14: ffff8881f2dc76b8 R15: ffff8881f2dc76c8 FS: 00007f554c8de700(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000040 CR3: 00000001dcb1c000 CR4: 00000000003406e0 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] file_write_and_wait_range+0x2f8/0x3c0 mm/filemap.c:782 ext4_sync_file+0x1ba/0xc70 fs/ext4/fsync.c:126 generic_write_sync include/linux/fs.h:2960 [inline] ext4_file_write_iter+0x96f/0x1050 fs/ext4/file.c:281 do_iter_readv_writev+0x4c2/0x6a0 include/linux/fs.h:1970 do_iter_write+0x16f/0x570 fs/read_write.c:970 iter_file_splice_write+0x70b/0xe50 fs/splice.c:746 splice_direct_to_actor+0x435/0xaa0 fs/splice.c:976 do_splice_direct+0x228/0x350 fs/splice.c:1064 do_sendfile+0x878/0x10a0 fs/read_write.c:1464 __do_sys_sendfile64 fs/read_write.c:1525 [inline] __se_sys_sendfile64 fs/read_write.c:1511 [inline] __x64_sys_sendfile64+0x167/0x1a0 fs/read_write.c:1511 do_syscall_64+0xcb/0x1e0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f554c94ddb9 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:00007f554c8de2f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f554c9d64f8 RCX: 00007f554c94ddb9 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004 RBP: 00007f554c9d64f0 R08: 00007f554c8de700 R09: 0000000000000000 R10: 00000000f03b0000 R11: 0000000000000246 R12: 00007f554c9d64fc R13: 00007f554c9a307c R14: 652e79726f6d656d R15: 0000000000022000 Modules linked in: ---[ end trace 39988e71fbae5020 ]--- 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 11 ec a3 ff <0f> 0b e8 0a ec a3 ff 0f 0b e8 d3 8b 7d ff 0f 1f 00 55 41 57 41 56 RSP: 0018:ffff8881f2dc73d8 EFLAGS: 00010293 RAX: ffffffff81bcbfbf RBX: 00000000000000a8 RCX: ffff8881e14e9f80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff81bcbcac R09: fffff94000ee6281 R10: fffff94000ee6281 R11: 0000000000000000 R12: ffffea0007731400 R13: dffffc0000000000 R14: ffff8881f2dc76b8 R15: ffff8881f2dc76c8 FS: 00007f554c8de700(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000040 CR3: 00000001dcb1c000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400