------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2618! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 18072 Comm: syz-executor4 Not tainted 4.9.135+ #115 task: ffff8801aa410000 task.stack: ffff8801c6988000 RIP: 0010:[] [] mpage_prepare_extent_to_map+0x719/0x9a0 fs/ext4/inode.c:2618 RSP: 0018:ffff8801c698f0c8 EFLAGS: 00010216 RAX: 0000000000040000 RBX: ffffea0005cf1600 RCX: ffffc9000573e000 RDX: 000000000002a36d RSI: ffffffff816c4ee9 RDI: ffffea0005cf1610 RBP: ffff8801c698f288 R08: ffff8801aa4108b0 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: 00000000000000e2 R14: dffffc0000000000 R15: ffff8801c698f3f0 FS: 00007f0acd431700(0000) GS:ffff8801db600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020dd0000 CR3: 00000001cbf94000 CR4: 00000000001606b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Stack: 1ffff10038d31e28 ffff8801c698f160 ffff8801c698f3f8 ffff8801c698f400 00000002aa4108b0 000000000007ffff ffff8801cc73ecb8 0000000e0000000c 7fffffffffffff1f ffff8801c698f1a0 ffff8801c698f408 ffffed0038d31e7f Call Trace: [] ext4_writepages+0xeee/0x2e00 fs/ext4/inode.c:2780 [] do_writepages+0xef/0x1d0 mm/page-writeback.c:2331 [] __filemap_fdatawrite_range+0x1a9/0x250 mm/filemap.c:390 [] filemap_write_and_wait_range+0x59/0xb0 mm/filemap.c:578 [] ext4_direct_IO_read fs/ext4/inode.c:3600 [inline] [] ext4_direct_IO+0x551/0x29c0 fs/ext4/inode.c:3661 [] generic_file_read_iter+0x83b/0x1a80 mm/filemap.c:1964 [] generic_file_splice_read+0x2bd/0x4e0 fs/splice.c:309 [] do_splice_to+0x10c/0x170 fs/splice.c:899 [] splice_direct_to_actor+0x23f/0x7e0 fs/splice.c:971 [] do_splice_direct+0x1a3/0x270 fs/splice.c:1080 [] do_sendfile+0x4f0/0xc30 fs/read_write.c:1393 [] SYSC_sendfile64 fs/read_write.c:1448 [inline] [] SyS_sendfile64+0xd1/0x160 fs/read_write.c:1440 [] do_syscall_64+0x19f/0x550 arch/x86/entry/common.c:285 [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Code: fc ff ff 48 89 95 b0 fe ff ff e8 13 66 c5 ff 48 8b 95 b0 fe ff ff 48 8d 42 ff e9 6f ff ff ff e8 fe 65 c5 ff 0f 0b e8 f7 65 c5 ff <0f> 0b 31 c0 89 85 b0 fe ff ff e8 e8 65 c5 ff 8b 85 18 ff ff ff RIP [] mpage_prepare_extent_to_map+0x719/0x9a0 fs/ext4/inode.c:2618 RSP ---[ end trace 8983b6301d9df192 ]---