------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:2767! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 431 Comm: syz-executor317 Not tainted 5.10.158-syzkaller-01201-g202ee063496e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:ext4_writepages+0x36f6/0x3710 fs/ext4/inode.c:2766 Code: c6 31 ff e8 9c 10 90 ff 84 db 75 2c e8 83 0d 90 ff 48 bb 00 00 00 00 00 fc ff df 4c 8b 64 24 40 e9 28 f7 ff ff e8 6a 0d 90 ff <0f> 0b e8 63 0d 90 ff e8 1d 6e 23 ff eb a0 e8 57 0d 90 ff e8 11 6e RSP: 0018:ffffc90000ee6ce0 EFLAGS: 00010293 RAX: ffffffff81dd1426 RBX: 0000008000000000 RCX: ffff88811b30cf00 RDX: 0000000000000000 RSI: 0000008000000000 RDI: 0000000000000000 RBP: ffffc90000ee70d0 R08: ffffffff81dce40a R09: ffffed102345982a R10: ffffed102345982a R11: 1ffff11023459829 R12: ffff88810a4b6000 R13: ffffc90000ee6fa0 R14: 0000008410000000 R15: ffffc90000ee7240 FS: 00007fb9bd415700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb9bd4ba818 CR3: 000000010ae37000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_writepages+0x13a/0x280 mm/page-writeback.c:2358 __filemap_fdatawrite_range+0x354/0x420 mm/filemap.c:427 file_write_and_wait_range+0x89/0x120 mm/filemap.c:766 ext4_sync_file+0x19e/0x9d0 fs/ext4/fsync.c:151 vfs_fsync_range+0x17b/0x190 fs/sync.c:202 generic_write_sync include/linux/fs.h:2810 [inline] ext4_buffered_write_iter+0x565/0x610 fs/ext4/file.c:280 ext4_file_write_iter+0x192/0x1c70 fs/ext4/file.c:689 do_iter_readv_writev+0x52a/0x720 fs/read_write.c:737 do_iter_write+0x182/0x660 fs/read_write.c:866 vfs_iter_write+0x7c/0xa0 fs/read_write.c:907 iter_file_splice_write+0x8a1/0x10c0 fs/splice.c:686 do_splice_from fs/splice.c:764 [inline] direct_splice_actor+0xfe/0x130 fs/splice.c:933 splice_direct_to_actor+0x4f4/0xbd0 fs/splice.c:888 do_splice_direct+0x2a0/0x3f0 fs/splice.c:976 do_sendfile+0x9c7/0x1150 fs/read_write.c:1257 __do_sys_sendfile64 fs/read_write.c:1318 [inline] __se_sys_sendfile64 fs/read_write.c:1304 [inline] __x64_sys_sendfile64+0x1ce/0x230 fs/read_write.c:1304 do_syscall_64+0x34/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fb9bd4696a9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 71 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:00007fb9bd4152f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fb9bd4ee7a0 RCX: 00007fb9bd4696a9 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004 RBP: 00007fb9bd4bb82c R08: 0000000000000000 R09: 0000000000000000 R10: 0000000080000041 R11: 0000000000000246 R12: 00007fb9bd4bb0c0 R13: 0000000020000fc0 R14: 0030656c69662f2e R15: 00007fb9bd4ee7a8 Modules linked in: ---[ end trace abb0e8d70b383cb1 ]--- RIP: 0010:ext4_writepages+0x36f6/0x3710 fs/ext4/inode.c:2766 Code: c6 31 ff e8 9c 10 90 ff 84 db 75 2c e8 83 0d 90 ff 48 bb 00 00 00 00 00 fc ff df 4c 8b 64 24 40 e9 28 f7 ff ff e8 6a 0d 90 ff <0f> 0b e8 63 0d 90 ff e8 1d 6e 23 ff eb a0 e8 57 0d 90 ff e8 11 6e RSP: 0018:ffffc90000ee6ce0 EFLAGS: 00010293 RAX: ffffffff81dd1426 RBX: 0000008000000000 RCX: ffff88811b30cf00 RDX: 0000000000000000 RSI: 0000008000000000 RDI: 0000000000000000 RBP: ffffc90000ee70d0 R08: ffffffff81dce40a R09: ffffed102345982a R10: ffffed102345982a R11: 1ffff11023459829 R12: ffff88810a4b6000 R13: ffffc90000ee6fa0 R14: 0000008410000000 R15: ffffc90000ee7240 FS: 00007fb9bd415700(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555556a5f668 CR3: 000000010ae37000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400