------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2720! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 3602 Comm: syz-executor298 Not tainted 5.19.0-rc4-syzkaller-00044-g1a0e93df1e10 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/18/2022 RIP: 0010:ext4_writepages+0x2409/0x3b90 fs/ext4/inode.c:2720 Code: e1 be 00 10 00 00 4c 89 ef 48 d3 ee ba 01 00 00 00 e8 fb 1d fe ff 83 c0 01 89 84 24 bc 00 00 00 e9 56 e2 ff ff e8 77 ea 59 ff <0f> 0b e8 70 ea 59 ff 44 0f b6 a4 24 db 00 00 00 89 5c 24 08 e9 cb RSP: 0018:ffffc900030ef4b0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff88807ed7d880 RSI: ffffffff82207c39 RDI: 0000000000000007 RBP: ffff8880729a0a58 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001 R13: ffff8880729a0cb8 R14: ffffc900030efa00 R15: ffff888076d34000 FS: 0000555555a78300(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005584fec7c348 CR3: 000000001c8f4000 CR4: 0000000000350ee0 Call Trace: do_writepages+0x1ab/0x690 mm/page-writeback.c:2443 filemap_fdatawrite_wbc mm/filemap.c:388 [inline] filemap_fdatawrite_wbc+0x143/0x1b0 mm/filemap.c:378 __filemap_fdatawrite_range+0xb4/0xf0 mm/filemap.c:421 file_write_and_wait_range+0xb2/0x120 mm/filemap.c:779 ext4_sync_file+0x21f/0xfd0 fs/ext4/fsync.c:151 vfs_fsync_range+0x13a/0x220 fs/sync.c:188 generic_write_sync include/linux/fs.h:2731 [inline] ext4_buffered_write_iter+0x27d/0x330 fs/ext4/file.c:277 ext4_file_write_iter+0x43c/0x1520 fs/ext4/file.c:679 call_write_iter include/linux/fs.h:2058 [inline] new_sync_write+0x38a/0x560 fs/read_write.c:504 vfs_write+0x7c0/0xac0 fs/read_write.c:591 ksys_write+0x127/0x250 fs/read_write.c:644 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f78e172c069 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffea9554b98 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007f78e172c069 RDX: 0000000000000016 RSI: 0000000020002580 RDI: 0000000000000007 RBP: 00007f78e16eb860 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f78e16eb8f0 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_writepages+0x2409/0x3b90 fs/ext4/inode.c:2720 Code: e1 be 00 10 00 00 4c 89 ef 48 d3 ee ba 01 00 00 00 e8 fb 1d fe ff 83 c0 01 89 84 24 bc 00 00 00 e9 56 e2 ff ff e8 77 ea 59 ff <0f> 0b e8 70 ea 59 ff 44 0f b6 a4 24 db 00 00 00 89 5c 24 08 e9 cb RSP: 0018:ffffc900030ef4b0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff88807ed7d880 RSI: ffffffff82207c39 RDI: 0000000000000007 RBP: ffff8880729a0a58 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001 R13: ffff8880729a0cb8 R14: ffffc900030efa00 R15: ffff888076d34000 FS: 0000555555a78300(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f71d03c66c8 CR3: 000000001c8f4000 CR4: 0000000000350ee0