------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2618! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 9140 Comm: syz-executor0 Not tainted 4.9.141+ #23 task: ffff8801c379df00 task.stack: ffff8801cdbd0000 RIP: 0010:[] [] mpage_prepare_extent_to_map+0x719/0x9a0 fs/ext4/inode.c:2618 RSP: 0018:ffff8801cdbd7738 EFLAGS: 00010216 RAX: 0000000000040000 RBX: ffffea0005eba3c0 RCX: ffffc90003565000 RDX: 00000000000003ab RSI: ffffffff816c4f59 RDI: ffffea0005eba3d0 RBP: ffff8801cdbd78f8 R08: ffff8801c379e7b0 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000001 R14: dffffc0000000000 R15: ffff8801cdbd7a60 FS: 0000000000000000(0000) GS:ffff8801db600000(0063) knlGS:00000000f5557b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000002fd21000 CR3: 00000001c832e000 CR4: 00000000001606b0 Stack: 1ffff10039b7aef6 ffff8801cdbd77d0 ffff8801cdbd7a68 ffff8801cdbd7a70 00000002c379e7b0 0007ffffffffffff ffff8801ca781c18 000000090000000c 7fffffffffffffff ffff8801cdbd7810 ffff8801cdbd7a78 ffffed0039b7af4d 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_fdatawrite mm/filemap.c:398 [inline] [] filemap_fdatawrite mm/filemap.c:403 [inline] [] filemap_write_and_wait+0x61/0x130 mm/filemap.c:541 [] ioctl_fiemap fs/ioctl.c:207 [inline] [] do_vfs_ioctl+0xc95/0x11a0 fs/ioctl.c:661 [] C_SYSC_ioctl fs/compat_ioctl.c:1624 [inline] [] compat_SyS_ioctl+0x1ac/0x1fd0 fs/compat_ioctl.c:1549 [] do_syscall_32_irqs_on arch/x86/entry/common.c:328 [inline] [] do_fast_syscall_32+0x2f1/0xa10 arch/x86/entry/common.c:390 [] entry_SYSENTER_compat+0x90/0xa2 arch/x86/entry/entry_64_compat.S:137 Code: fc ff ff 48 89 95 b0 fe ff ff e8 23 6b c5 ff 48 8b 95 b0 fe ff ff 48 8d 42 ff e9 6f ff ff ff e8 0e 6b c5 ff 0f 0b e8 07 6b c5 ff <0f> 0b 31 c0 89 85 b0 fe ff ff e8 f8 6a c5 ff 8b 85 18 ff ff ff RIP [] mpage_prepare_extent_to_map+0x719/0x9a0 fs/ext4/inode.c:2618 RSP ---[ end trace 015ab50e20f7fc20 ]---