------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2598! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 9659 Comm: syz-executor.1 Not tainted 5.9.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:mpage_prepare_extent_to_map+0xb18/0xde0 fs/ext4/inode.c:2598 Code: 89 ef e8 ab e4 9e ff 0f 0b e8 04 87 70 ff 48 8d 6b ff e9 1f fc ff ff e8 f6 86 70 ff 48 8d 5d ff e9 6b fc ff ff e8 e8 86 70 ff <0f> 0b e8 e1 86 70 ff 48 c7 c6 40 4f 5d 88 4c 89 ef e8 72 e4 9e ff RSP: 0018:ffffc90003167148 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000008000 RCX: ffffffff8203c0b5 RDX: ffff8880999cc200 RSI: ffffffff8203c418 RDI: 0000000000000007 RBP: ffffea000215f7c8 R08: 0000000000000000 R09: ffffea00022095c7 R10: 0000000000000000 R11: 0000000000000004 R12: dffffc0000000000 R13: ffffea00022095c0 R14: ffffc900031674c8 R15: 0000000000000000 FS: 00007f0da17ed700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbdc695d000 CR3: 00000000a2705000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_writepages+0x90f/0x3960 fs/ext4/inode.c:2735 do_writepages+0xec/0x290 mm/page-writeback.c:2352 __filemap_fdatawrite_range+0x2a1/0x380 mm/filemap.c:422 filemap_write_and_wait_range mm/filemap.c:655 [inline] filemap_write_and_wait_range+0xe1/0x1c0 mm/filemap.c:649 iomap_dio_rw+0x556/0x1230 fs/iomap/direct-io.c:478 ext4_dio_read_iter fs/ext4/file.c:77 [inline] ext4_file_read_iter+0x444/0x600 fs/ext4/file.c:129 call_read_iter include/linux/fs.h:1876 [inline] generic_file_splice_read+0x44c/0x6c0 fs/splice.c:312 do_splice_to+0x10b/0x170 fs/splice.c:870 splice_direct_to_actor+0x307/0x980 fs/splice.c:950 do_splice_direct+0x1b3/0x280 fs/splice.c:1059 do_sendfile+0x55f/0xd40 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+0x1cc/0x210 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:0x45d5b9 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:00007f0da17ecc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 0000000000027980 RCX: 000000000045d5b9 RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000004 RBP: 000000000118cf88 R08: 0000000000000000 R09: 0000000000000000 R10: 00008400fffffffb R11: 0000000000000246 R12: 000000000118cf4c R13: 00007fff129c35df R14: 00007f0da17ed9c0 R15: 000000000118cf4c Modules linked in: ---[ end trace fbcec985d572c5e1 ]--- RIP: 0010:mpage_prepare_extent_to_map+0xb18/0xde0 fs/ext4/inode.c:2598 Code: 89 ef e8 ab e4 9e ff 0f 0b e8 04 87 70 ff 48 8d 6b ff e9 1f fc ff ff e8 f6 86 70 ff 48 8d 5d ff e9 6b fc ff ff e8 e8 86 70 ff <0f> 0b e8 e1 86 70 ff 48 c7 c6 40 4f 5d 88 4c 89 ef e8 72 e4 9e ff RSP: 0018:ffffc90003167148 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000008000 RCX: ffffffff8203c0b5 RDX: ffff8880999cc200 RSI: ffffffff8203c418 RDI: 0000000000000007 RBP: ffffea000215f7c8 R08: 0000000000000000 R09: ffffea00022095c7 R10: 0000000000000000 R11: 0000000000000004 R12: dffffc0000000000 R13: ffffea00022095c0 R14: ffffc900031674c8 R15: 0000000000000000 FS: 00007f0da17ed700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbdc696c000 CR3: 00000000a2705000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400