------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2598! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 1476 Comm: syz-executor.5 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:ffffc90004736e00 EFLAGS: 00010216 RAX: 0000000000026297 RBX: 0000000000008000 RCX: ffffc900146e9000 RDX: 0000000000040000 RSI: ffffffff8203c418 RDI: 0000000000000007 RBP: ffffea0000d16f48 R08: 0000000000000000 R09: ffffea0000d127c7 R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000 R13: ffffea0000d127c0 R14: ffffc90004737180 R15: 0000000000000000 FS: 00007fed40174700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30c26000 CR3: 000000000f6e1000 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 file_write_and_wait_range+0x169/0x200 mm/filemap.c:761 ext4_sync_file+0x459/0x1090 fs/ext4/fsync.c:151 vfs_fsync_range+0x13a/0x220 fs/sync.c:200 generic_write_sync include/linux/fs.h:2747 [inline] ext4_buffered_write_iter+0x34a/0x4a0 fs/ext4/file.c:276 ext4_file_write_iter+0x1f0/0x13f0 fs/ext4/file.c:660 call_write_iter include/linux/fs.h:1882 [inline] do_iter_readv_writev+0x532/0x7b0 fs/read_write.c:713 do_iter_write+0x188/0x670 fs/read_write.c:1018 vfs_iter_write+0x70/0xa0 fs/read_write.c:1059 iter_file_splice_write+0x721/0xbe0 fs/splice.c:750 do_splice_from fs/splice.c:846 [inline] direct_splice_actor+0x171/0x2f0 fs/splice.c:1016 splice_direct_to_actor+0x38c/0x980 fs/splice.c:971 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:1595 [inline] __se_sys_sendfile64 fs/read_write.c:1587 [inline] __x64_sys_sendfile64+0x149/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:00007fed40173c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 0000000000027980 RCX: 000000000045d5b9 RDX: 0000000020000100 RSI: 0000000000000006 RDI: 0000000000000006 RBP: 000000000118d028 R08: 0000000000000000 R09: 0000000000000000 R10: 00008080ffffff7d R11: 0000000000000246 R12: 000000000118cfec R13: 00007ffec856585f R14: 00007fed401749c0 R15: 000000000118cfec Modules linked in: ---[ end trace bd15999ad589b598 ]--- 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:ffffc90004736e00 EFLAGS: 00010216 RAX: 0000000000026297 RBX: 0000000000008000 RCX: ffffc900146e9000 RDX: 0000000000040000 RSI: ffffffff8203c418 RDI: 0000000000000007 RBP: ffffea0000d16f48 R08: 0000000000000000 R09: ffffea0000d127c7 R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000 R13: ffffea0000d127c0 R14: ffffc90004737180 R15: 0000000000000000 FS: 00007fed40174700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30c26000 CR3: 000000000f6e1000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400