syz-executor4 (11215) used greatest stack depth: 21296 bytes left ------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2462! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 11344 Comm: syz-executor1 Not tainted 4.4.161+ #110 task: ffff8801d6c10000 task.stack: ffff8800b7978000 RIP: 0010:[] [] mpage_prepare_extent_to_map+0x670/0x8e0 fs/ext4/inode.c:2462 RSP: 0018:ffff8800b797f830 EFLAGS: 00010293 RAX: ffff8801d6c10000 RBX: ffffea000738db80 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff816400d0 RDI: ffffea000738db90 RBP: ffff8800b797f9e8 R08: ffff8801d6c108c8 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000001 R14: dffffc0000000000 R15: ffff8800b797fb30 FS: 0000000001b09940(0063) GS:ffff8801db700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000072c000 CR3: 00000001d650f000 CR4: 00000000001606b0 Stack: 1ffff10016f2ff14 ffff8800b797f8c0 ffff8800b797fb38 ffff8800b797fb40 00000000b797f8d8 0007ffffffffffff ffff8801cec433a8 000000090000000c 7fffffffffffffff ffff8800b797f900 ffff8800b797fb48 ffffed0016f2ff67 Call Trace: [] ext4_writepages+0xd4c/0x2c20 fs/ext4/inode.c:2617 [] do_writepages+0xef/0x1d0 mm/page-writeback.c:2334 [] __filemap_fdatawrite_range+0x1a9/0x250 mm/filemap.c:347 [] __filemap_fdatawrite mm/filemap.c:355 [inline] [] filemap_flush+0x23/0x30 mm/filemap.c:380 [] ext4_alloc_da_blocks+0x108/0x3c0 fs/ext4/inode.c:2993 [] ext4_release_file+0x1ff/0x2e0 fs/ext4/file.c:42 [] __fput+0x235/0x6f0 fs/file_table.c:208 [] ____fput+0x15/0x20 fs/file_table.c:244 [] task_work_run+0x10f/0x190 kernel/task_work.c:115 [] tracehook_notify_resume include/linux/tracehook.h:191 [inline] [] exit_to_usermode_loop+0x13d/0x160 arch/x86/entry/common.c:254 [] prepare_exit_to_usermode arch/x86/entry/common.c:287 [inline] [] syscall_return_slowpath+0x254/0x2d0 arch/x86/entry/common.c:352 [] int_ret_from_sys_call+0x25/0xa3 Code: 48 89 df e8 23 45 d7 ff e9 32 ff ff ff e8 49 6e cc ff 48 89 df e8 b1 5e d7 ff e9 fa fd ff ff e8 37 6e cc ff 0f 0b e8 30 6e cc ff <0f> 0b 31 c0 89 85 b0 fe ff ff e8 21 6e cc ff 8b 85 18 ff ff ff RIP [] mpage_prepare_extent_to_map+0x670/0x8e0 fs/ext4/inode.c:2462 RSP ---[ end trace b4bef414d53d053a ]---