------------[ cut here ]------------
kernel BUG at fs/ext4/inode.c:2648!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 26911 Comm: syz-executor.0 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+0xc48/0xc60 fs/ext4/inode.c:2648
Code: 48 8d 8c 24 c0 00 00 00 80 e1 07 38 c1 0f 8c 96 fe ff ff 48 8d bc 24 c0 00 00 00 e8 b2 e2 c9 ff e9 84 fe ff ff e8 28 1d 90 ff <0f> 0b e8 21 1d 90 ff 0f 0b e8 0a 9b b3 02 66 2e 0f 1f 84 00 00 00
RSP: 0018:ffffc900063df560 EFLAGS: 00010293
RAX: ffffffff81dc97d8 RBX: 0000000000000000 RCX: ffff8881100e8000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900063df730 R08: ffffffff81dc9434 R09: fffff94000a7a611
R10: fffff94000a7a611 R11: 1ffffd4000a7a610 R12: dffffc0000000000
R13: ffffea00053d3080 R14: 00000000000000b9 R15: 7fffffffffffff4f
FS:  0000555555c4d400(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b33027000 CR3: 000000011888b000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ext4_writepages+0xcc1/0x36f0 fs/ext4/inode.c:2777
 do_writepages+0x13a/0x280 mm/page-writeback.c:2358
 __filemap_fdatawrite_range+0x354/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/0x7c0 fs/file_table.c:281
 ____fput+0x15/0x20 fs/file_table.c:314
 task_work_run+0x147/0x1b0 kernel/task_work.c:154
 tracehook_notify_resume include/linux/tracehook.h:188 [inline]
 exit_to_user_mode_loop+0xc8/0xe0 kernel/entry/common.c:164
 exit_to_user_mode_prepare kernel/entry/common.c:191 [inline]
 syscall_exit_to_user_mode+0x77/0xa0 kernel/entry/common.c:266
 do_syscall_64+0x40/0x70 arch/x86/entry/common.c:56
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7fd40f8c2c8b
Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44
RSP: 002b:00007ffe828437f0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007fd40f8c2c8b
RDX: 0000000000000000 RSI: 0000001b32f265d4 RDI: 0000000000000003
RBP: 00007fd40fa24960 R08: 0000000000000000 R09: 00000000fa560581
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000228f9b
R13: 00007ffe828438f0 R14: 00007ffe82843910 R15: 0000000000000032
Modules linked in:
---[ end trace 4bec27f46518166e ]---
RIP: 0010:mpage_prepare_extent_to_map+0xc48/0xc60 fs/ext4/inode.c:2648
Code: 48 8d 8c 24 c0 00 00 00 80 e1 07 38 c1 0f 8c 96 fe ff ff 48 8d bc 24 c0 00 00 00 e8 b2 e2 c9 ff e9 84 fe ff ff e8 28 1d 90 ff <0f> 0b e8 21 1d 90 ff 0f 0b e8 0a 9b b3 02 66 2e 0f 1f 84 00 00 00
RSP: 0018:ffffc900063df560 EFLAGS: 00010293
RAX: ffffffff81dc97d8 RBX: 0000000000000000 RCX: ffff8881100e8000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900063df730 R08: ffffffff81dc9434 R09: fffff94000a7a611
R10: fffff94000a7a611 R11: 1ffffd4000a7a610 R12: dffffc0000000000
R13: ffffea00053d3080 R14: 00000000000000b9 R15: 7fffffffffffff4f
FS:  0000555555c4d400(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f09646ed923 CR3: 000000011888b000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400