syz-executor1 (12939) used greatest stack depth: 22680 bytes left ------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2618! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 14228 Comm: syz-executor2 Not tainted 4.9.133+ #6 task: ffff8801c2102f80 task.stack: ffff8801c94a8000 RIP: 0010:[] [] mpage_prepare_extent_to_map+0x719/0x9a0 fs/ext4/inode.c:2618 RSP: 0018:ffff8801c94af7f8 EFLAGS: 00010293 RAX: ffff8801c2102f80 RBX: ffffea00070eff40 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff816c4f69 RDI: ffffea00070eff50 RBP: ffff8801c94af9b8 R08: ffff8801c2103830 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000002 R14: dffffc0000000000 R15: ffff8801c94afb20 FS: 0000000000000000(0000) GS:ffff8801db700000(0063) knlGS:0000000009f62900 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000084627b8 CR3: 00000001ca1a1000 CR4: 00000000001606b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: 1ffff10039295f0e ffff8801c94af890 ffff8801c94afb28 ffff8801c94afb30 0000000000000246 0007ffffffffffff ffff8801c3d30bf8 000000080000000c 7fffffffffffffff ffff8801c94af8d0 ffff8801c94afb38 ffffed0039295f65 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 [] 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 33 65 c5 ff 48 8b 95 b0 fe ff ff 48 8d 42 ff e9 6f ff ff ff e8 1e 65 c5 ff 0f 0b e8 17 65 c5 ff <0f> 0b 31 c0 89 85 b0 fe ff ff e8 08 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 77f2cafdf04662b6 ]---