------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2618! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 8647 Comm: syz-executor0 Not tainted 4.9.135+ #19 task: ffff8801766faf80 task.stack: ffff8801ab630000 RIP: 0010:[] [] mpage_prepare_extent_to_map+0x719/0x9a0 fs/ext4/inode.c:2618 RSP: 0018:ffff8801ab6377f8 EFLAGS: 00010293 RAX: ffff8801766faf80 RBX: ffffea0006765c00 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff816c4ee9 RDI: ffffea0006765c10 RBP: ffff8801ab6379b8 R08: ffff8801766fb830 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000001 R14: dffffc0000000000 R15: ffff8801ab637b20 FS: 0000000000000000(0000) GS:ffff8801db700000(0063) knlGS:00000000085c2900 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000011809d0 CR3: 00000001d7354000 CR4: 00000000001606b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: 1ffff100356c6f0e ffff8801ab637890 ffff8801ab637b28 ffff8801ab637b30 00000000766fb830 0007ffffffffffff ffff8801c4af03e8 000000070000000c 7fffffffffffffff ffff8801ab6378d0 ffff8801ab637b38 ffffed00356c6f65 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_flush+0x23/0x30 mm/filemap.c:423 [] ext4_alloc_da_blocks+0xd9/0x330 fs/ext4/inode.c:3157 [] ext4_release_file+0x1ff/0x2e0 fs/ext4/file.c:42 [] __fput+0x263/0x700 fs/file_table.c:208 [] ____fput+0x15/0x20 fs/file_table.c:244 binder: 8667:8673 unknown command 0 binder: 8667:8673 ioctl c0306201 20a20000 returned -22 [] task_work_run+0x10c/0x180 kernel/task_work.c:116 [] tracehook_notify_resume include/linux/tracehook.h:191 [inline] [] exit_to_usermode_loop+0x129/0x150 arch/x86/entry/common.c:162 [] prepare_exit_to_usermode arch/x86/entry/common.c:194 [inline] [] syscall_return_slowpath arch/x86/entry/common.c:263 [inline] [] do_syscall_32_irqs_on arch/x86/entry/common.c:334 [inline] [] do_fast_syscall_32+0x6dc/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 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 binder: 8667:8673 ioctl c0306201 20a20000 returned -14 RSP ---[ end trace 332524082505b8e2 ]---