------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2724! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 922 Comm: syz-executor749 Tainted: G W 5.4.147-syzkaller-00006-g4fd09f7a7972 #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:2724 Code: 4c 89 f7 e8 83 0d d1 ff e9 4e f7 ff ff 0f 8f e7 fe ff ff 48 8d bc 24 98 00 00 00 e8 6b 0d d1 ff e9 d5 fe ff ff e8 21 f1 a3 ff <0f> 0b e8 1a f1 a3 ff 0f 0b e8 a3 78 7d ff 0f 1f 00 55 41 57 41 56 RSP: 0018:ffff8881ef6bf318 EFLAGS: 00010293 RAX: ffffffff81bcde3f RBX: 0000000000000099 RCX: ffff8881f04a3f00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff81bcdb2c R09: fffff94000ee4dc9 R10: fffff94000ee4dc9 R11: 0000000000000000 R12: ffffea0007726e40 R13: dffffc0000000000 R14: ffff8881ef6bf5f8 R15: ffff8881ef6bf608 FS: 00007f33247b0700(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000040 CR3: 00000001f0a30000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_writepages+0xd5e/0x3cd0 fs/ext4/inode.c:2853 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 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:0x7f332481fdb9 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:00007f33247b02f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f33248a84f8 RCX: 00007f332481fdb9 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004 RBP: 00007f33248a84f0 R08: 00007f33247b0700 R09: 0000000000000000 R10: 00000000f03b0000 R11: 0000000000000246 R12: 00007f33248a84fc R13: 00007f332487507c R14: 652e79726f6d656d R15: 0000000000022000 Modules linked in: ---[ end trace 7a4a6f0dc813371f ]--- RIP: 0010:mpage_prepare_extent_to_map+0xa8f/0xaa0 fs/ext4/inode.c:2724 Code: 4c 89 f7 e8 83 0d d1 ff e9 4e f7 ff ff 0f 8f e7 fe ff ff 48 8d bc 24 98 00 00 00 e8 6b 0d d1 ff e9 d5 fe ff ff e8 21 f1 a3 ff <0f> 0b e8 1a f1 a3 ff 0f 0b e8 a3 78 7d ff 0f 1f 00 55 41 57 41 56 RSP: 0018:ffff8881ef6bf318 EFLAGS: 00010293 RAX: ffffffff81bcde3f RBX: 0000000000000099 RCX: ffff8881f04a3f00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff81bcdb2c R09: fffff94000ee4dc9 R10: fffff94000ee4dc9 R11: 0000000000000000 R12: ffffea0007726e40 R13: dffffc0000000000 R14: ffff8881ef6bf5f8 R15: ffff8881ef6bf608 FS: 00007f33247b0700(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3324874f98 CR3: 00000001f0a30000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400