------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2599! invalid opcode: 0000 [#1] PREEMPT SMP CPU: 1 PID: 24734 Comm: syz-executor.0 Not tainted 5.8.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:mpage_prepare_extent_to_map+0x2ff/0x370 fs/ext4/inode.c:2599 Code: f2 4c 89 f7 e8 82 96 e2 ff 0f 0b 49 8b 46 08 48 c7 c6 00 7e e3 83 48 8d 50 ff a8 01 4c 0f 45 f2 4c 89 f7 e8 63 96 e2 ff 0f 0b <0f> 0b 48 c7 c6 40 61 e3 83 4c 89 f7 e8 50 96 e2 ff 0f 0b 0f 0b 80 RSP: 0018:ffffc9000115b930 EFLAGS: 00010282 RAX: 017ffe000000a01f RBX: ffffc9000115b960 RCX: ffff88810eade240 RDX: 0000000000000000 RSI: ffffc9000115b8c8 RDI: ffffffff8420ac80 RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 5791b0293e2a3561 R12: 7fffffffffffffff R13: ffff888110a798a0 R14: ffffea000465aec0 R15: ffffc9000115baa0 FS: 00007f51c04c1700(0000) GS:ffff88812c100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f63be3aadb8 CR3: 000000011de33000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_writepages+0x369/0x1190 fs/ext4/inode.c:2736 do_writepages+0x39/0xe0 mm/page-writeback.c:2354 __filemap_fdatawrite_range+0xc6/0x100 mm/filemap.c:421 filemap_write_and_wait_range+0x36/0x90 mm/filemap.c:654 iomap_dio_rw+0x18c/0x550 fs/iomap/direct-io.c:478 ext4_dio_read_iter fs/ext4/file.c:77 [inline] ext4_file_read_iter+0xff/0x150 fs/ext4/file.c:129 call_read_iter include/linux/fs.h:1866 [inline] generic_file_splice_read+0xf3/0x1a0 fs/splice.c:312 splice_direct_to_actor+0xd7/0x240 fs/splice.c:950 do_splice_direct+0x9a/0xd0 fs/splice.c:1059 do_sendfile+0x1d5/0x400 fs/read_write.c:1540 __do_sys_sendfile64 fs/read_write.c:1601 [inline] __se_sys_sendfile64 fs/read_write.c:1587 [inline] __x64_sys_sendfile64+0xab/0xc0 fs/read_write.c:1587 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45d4d9 Code: 5d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 2b b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f51c04c0c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 0000000000027880 RCX: 000000000045d4d9 RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000004 RBP: 000000000118cf88 R08: 0000000000000000 R09: 0000000000000000 R10: 00008400fffffffb R11: 0000000000000246 R12: 000000000118cf4c R13: 00007ffdbee38f4f R14: 00007f51c04c19c0 R15: 000000000118cf4c Modules linked in: ---[ end trace 33a28d16d6540f96 ]--- RIP: 0010:mpage_prepare_extent_to_map+0x2ff/0x370 fs/ext4/inode.c:2599 Code: f2 4c 89 f7 e8 82 96 e2 ff 0f 0b 49 8b 46 08 48 c7 c6 00 7e e3 83 48 8d 50 ff a8 01 4c 0f 45 f2 4c 89 f7 e8 63 96 e2 ff 0f 0b <0f> 0b 48 c7 c6 40 61 e3 83 4c 89 f7 e8 50 96 e2 ff 0f 0b 0f 0b 80 RSP: 0018:ffffc9000115b930 EFLAGS: 00010282 RAX: 017ffe000000a01f RBX: ffffc9000115b960 RCX: ffff88810eade240 RDX: 0000000000000000 RSI: ffffc9000115b8c8 RDI: ffffffff8420ac80 RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 5791b0293e2a3561 R12: 7fffffffffffffff R13: ffff888110a798a0 R14: ffffea000465aec0 R15: ffffc9000115baa0 FS: 00007f51c04c1700(0000) GS:ffff88812c100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056508738a030 CR3: 000000011de33000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400