Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fdd34cc8168 EFLAGS: 00000246 ORIG_RAX: 0000000000000137 RAX: ffffffffffffffda RBX: 00007fdd35ca7100 RCX: 00007fdd35b94049 RDX: 0000000000000001 RSI: 0000000020c22000 RDI: 0000000000001255 RBP: 00007fdd35bee08d R08: 0000000000000001 R09: 0000000000000000 R10: 0000000020c22fa0 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd070bdebf R14: 00007fdd34cc8300 R15: 0000000000022000 ---[ end trace 98095b62af82adde ]--- ------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2648! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 27567 Comm: syz-executor.4 Tainted: G W 5.10.109-syzkaller-00693-g414e6c8e941c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:mpage_prepare_extent_to_map+0xbe9/0xc00 fs/ext4/inode.c:2648 Code: e8 6c d8 c9 ff e9 80 f6 ff ff 44 89 e9 80 e1 07 38 c1 0f 8c a6 fe ff ff 4c 89 ef e8 51 d8 c9 ff e9 99 fe ff ff e8 67 d2 8f ff <0f> 0b e8 60 d2 8f ff 0f 0b e8 b9 e2 b8 02 66 0f 1f 84 00 00 00 00 RSP: 0018:ffffc90001907060 EFLAGS: 00010293 RAX: ffffffff81dd28f9 RBX: 0000000000000000 RCX: ffff888111a32780 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90001907230 R08: ffffffff81dd2571 R09: fffff94000aff6e1 R10: fffff94000aff6e1 R11: 0000000000000000 R12: ffffea00057fb700 R13: ffffc90001907120 R14: 00000000000000a1 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fffa26b1f68 CR3: 0000000147532000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_writepages+0xcbb/0x3950 fs/ext4/inode.c:2777 do_writepages+0x13a/0x280 mm/page-writeback.c:2358 __filemap_fdatawrite_range+0x356/0x420 mm/filemap.c:427 __filemap_fdatawrite mm/filemap.c:435 [inline] filemap_flush+0x23/0x30 mm/filemap.c:462 ext4_alloc_da_blocks+0x71/0x180 fs/ext4/inode.c:3200 ext4_release_file+0x84/0x320 fs/ext4/file.c:144 __fput+0x348/0x7d0 fs/file_table.c:281 ____fput+0x15/0x20 fs/file_table.c:314 task_work_run+0x147/0x1b0 kernel/task_work.c:154 exit_task_work include/linux/task_work.h:30 [inline] do_exit+0x668/0x2300 kernel/exit.c:813 do_group_exit+0x16a/0x2d0 kernel/exit.c:910 get_signal+0x131f/0x1f70 kernel/signal.c:2780 arch_do_signal+0x8d/0x620 arch/x86/kernel/signal.c:805 exit_to_user_mode_loop kernel/entry/common.c:161 [inline] exit_to_user_mode_prepare+0xaa/0xe0 kernel/entry/common.c:191 syscall_exit_to_user_mode+0x24/0x40 kernel/entry/common.c:266 do_syscall_64+0x3d/0x70 arch/x86/entry/common.c:56 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7fdd35b94049 Code: Unable to access opcode bytes at RIP 0x7fdd35b9401f. RSP: 002b:00007fdd34cc8168 EFLAGS: 00000246 ORIG_RAX: 0000000000000137 RAX: 0000000000001f80 RBX: 00007fdd35ca7100 RCX: 00007fdd35b94049 RDX: 0000000000000001 RSI: 0000000020c22000 RDI: 0000000000001255 RBP: 00007fdd35bee08d R08: 0000000000000001 R09: 0000000000000000 R10: 0000000020c22fa0 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd070bdebf R14: 00007fdd34cc8300 R15: 0000000000022000 Modules linked in: ---[ end trace 98095b62af82addf ]--- RIP: 0010:mpage_prepare_extent_to_map+0xbe9/0xc00 fs/ext4/inode.c:2648 Code: e8 6c d8 c9 ff e9 80 f6 ff ff 44 89 e9 80 e1 07 38 c1 0f 8c a6 fe ff ff 4c 89 ef e8 51 d8 c9 ff e9 99 fe ff ff e8 67 d2 8f ff <0f> 0b e8 60 d2 8f ff 0f 0b e8 b9 e2 b8 02 66 0f 1f 84 00 00 00 00 RSP: 0018:ffffc90001907060 EFLAGS: 00010293 RAX: ffffffff81dd28f9 RBX: 0000000000000000 RCX: ffff888111a32780 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90001907230 R08: ffffffff81dd2571 R09: fffff94000aff6e1 R10: fffff94000aff6e1 R11: 0000000000000000 R12: ffffea00057fb700 R13: ffffc90001907120 R14: 00000000000000a1 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5ab9bc4718 CR3: 0000000147532000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: ff c3 inc %ebx 2: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) 9: 00 00 00 c: 0f 1f 40 00 nopl 0x0(%rax) 10: 48 89 f8 mov %rdi,%rax 13: 48 89 f7 mov %rsi,%rdi 16: 48 89 d6 mov %rdx,%rsi 19: 48 89 ca mov %rcx,%rdx 1c: 4d 89 c2 mov %r8,%r10 1f: 4d 89 c8 mov %r9,%r8 22: 4c 8b 4c 24 08 mov 0x8(%rsp),%r9 27: 0f 05 syscall * 29: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction 2f: 73 01 jae 0x32 31: c3 retq 32: 48 c7 c1 b8 ff ff ff mov $0xffffffffffffffb8,%rcx 39: f7 d8 neg %eax 3b: 64 89 01 mov %eax,%fs:(%rcx) 3e: 48 rex.W