------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2598! invalid opcode: 0000 [#1] PREEMPT SMP CPU: 0 PID: 19419 Comm: syz-executor.1 Not tainted 5.9.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:2598 Code: f2 4c 89 f7 e8 92 df e2 ff 0f 0b 49 8b 46 08 48 c7 c6 c0 25 e8 83 48 8d 50 ff a8 01 4c 0f 45 f2 4c 89 f7 e8 73 df e2 ff 0f 0b <0f> 0b 48 c7 c6 50 08 e8 83 4c 89 f7 e8 60 df e2 ff 0f 0b 0f 0b 80 RSP: 0018:ffffc9000308b920 EFLAGS: 00010282 RAX: 017ffe000000a01f RBX: ffffc9000308b950 RCX: ffff88810d338080 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8420b5f0 RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000005 R12: 7fffffffffffffff R13: ffff88810f5448e0 R14: ffffea00046929c0 R15: ffffc9000308ba90 FS: 00007f58d245f700(0000) GS:ffff88812c000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f666268fdb8 CR3: 000000010d1bc000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_writepages+0x331/0x11a0 fs/ext4/inode.c:2735 do_writepages+0x39/0xe0 mm/page-writeback.c:2352 __filemap_fdatawrite_range+0xc2/0x100 mm/filemap.c:422 filemap_write_and_wait_range+0x36/0x90 mm/filemap.c:655 __iomap_dio_rw+0x185/0x550 fs/iomap/direct-io.c:489 iomap_dio_rw+0x9/0x30 fs/iomap/direct-io.c:605 ext4_dio_read_iter fs/ext4/file.c:77 [inline] ext4_file_read_iter+0x102/0x160 fs/ext4/file.c:129 call_read_iter include/linux/fs.h:1871 [inline] generic_file_splice_read+0xf7/0x1a0 fs/splice.c:311 splice_direct_to_actor+0xd7/0x240 fs/splice.c:969 do_splice_direct+0x9a/0xd0 fs/splice.c:1078 do_sendfile+0x1d5/0x400 fs/read_write.c:1238 __do_sys_sendfile64 fs/read_write.c:1299 [inline] __se_sys_sendfile64 fs/read_write.c:1285 [inline] __x64_sys_sendfile64+0xab/0xc0 fs/read_write.c:1285 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:00007f58d245ec78 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: 00007fff8da2cc1f R14: 00007f58d245f9c0 R15: 000000000118cf4c Modules linked in: ---[ end trace 256353edd48c119f ]--- RIP: 0010:mpage_prepare_extent_to_map+0x2ff/0x370 fs/ext4/inode.c:2598 Code: f2 4c 89 f7 e8 92 df e2 ff 0f 0b 49 8b 46 08 48 c7 c6 c0 25 e8 83 48 8d 50 ff a8 01 4c 0f 45 f2 4c 89 f7 e8 73 df e2 ff 0f 0b <0f> 0b 48 c7 c6 50 08 e8 83 4c 89 f7 e8 60 df e2 ff 0f 0b 0f 0b 80 RSP: 0018:ffffc9000308b920 EFLAGS: 00010282 RAX: 017ffe000000a01f RBX: ffffc9000308b950 RCX: ffff88810d338080 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8420b5f0 RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000005 R12: 7fffffffffffffff R13: ffff88810f5448e0 R14: ffffea00046929c0 R15: ffffc9000308ba90 FS: 00007f58d245f700(0000) GS:ffff88812c100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6e7d8fedb8 CR3: 000000010d1bc000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400