------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2745! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 371 Comm: syz-executor273 Not tainted 5.15.92-syzkaller-03013-g5020746bff95 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 RIP: 0010:ext4_writepages+0x3fe8/0x4010 fs/ext4/inode.c:2744 Code: 89 de e8 eb d0 88 ff 45 84 f6 75 2c e8 51 ce 88 ff 49 be 00 00 00 00 00 fc ff df 4c 8b 64 24 50 e9 e7 c5 ff ff e8 38 ce 88 ff <0f> 0b e8 31 ce 88 ff e8 98 de 19 ff eb 93 e8 25 ce 88 ff e8 8c de RSP: 0018:ffffc90000c37260 EFLAGS: 00010293 RAX: ffffffff81e6a248 RBX: 0000008000000000 RCX: ffff88810a372780 RDX: 0000000000000000 RSI: 0000008000000000 RDI: 0000000000000000 RBP: ffffc90000c37670 R08: ffffffff81e699b8 R09: ffffed102126146d R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90000c378a0 R13: 0000000000000000 R14: 0000008410000000 R15: 0000000000000001 FS: 00007f10e89ac700(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f10e89ac718 CR3: 000000011eb57000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_writepages+0x40e/0x670 mm/page-writeback.c:2366 filemap_fdatawrite_wbc+0x248/0x2a0 mm/filemap.c:400 __filemap_fdatawrite_range mm/filemap.c:433 [inline] file_write_and_wait_range+0x1cb/0x2b0 mm/filemap.c:810 ext4_sync_file+0x1a2/0xa50 fs/ext4/fsync.c:151 vfs_fsync_range+0x17b/0x190 fs/sync.c:188 generic_write_sync include/linux/fs.h:2978 [inline] ext4_buffered_write_iter+0x586/0x630 fs/ext4/file.c:279 ext4_file_write_iter+0x443/0x1cc0 call_write_iter include/linux/fs.h:2157 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0xd8a/0x1160 fs/read_write.c:594 ksys_write+0x199/0x2c0 fs/read_write.c:647 __do_sys_write fs/read_write.c:659 [inline] __se_sys_write fs/read_write.c:656 [inline] __x64_sys_write+0x7b/0x90 fs/read_write.c:656 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f10f0d20f39 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 41 15 00 00 90 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:00007f10e89ac2f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f10f0da56f0 RCX: 00007f10f0d20f39 RDX: 0000000000000024 RSI: 0000000020000080 RDI: 0000000000000004 RBP: 00007f10f0d7283c R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f10f0d720c0 R13: 0000000020000800 R14: 0030656c69662f2e R15: 00007f10f0da56f8 Modules linked in: ---[ end trace 47e8f18fde661e74 ]--- RIP: 0010:ext4_writepages+0x3fe8/0x4010 fs/ext4/inode.c:2744 Code: 89 de e8 eb d0 88 ff 45 84 f6 75 2c e8 51 ce 88 ff 49 be 00 00 00 00 00 fc ff df 4c 8b 64 24 50 e9 e7 c5 ff ff e8 38 ce 88 ff <0f> 0b e8 31 ce 88 ff e8 98 de 19 ff eb 93 e8 25 ce 88 ff e8 8c de RSP: 0018:ffffc90000c37260 EFLAGS: 00010293 RAX: ffffffff81e6a248 RBX: 0000008000000000 RCX: ffff88810a372780 RDX: 0000000000000000 RSI: 0000008000000000 RDI: 0000000000000000 RBP: ffffc90000c37670 R08: ffffffff81e699b8 R09: ffffed102126146d R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90000c378a0 R13: 0000000000000000 R14: 0000008410000000 R15: 0000000000000001 FS: 00007f10e89ac700(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f10e89ac000 CR3: 000000011eb57000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400