------------[ cut here ]------------ kernel BUG at fs/ext4/inline.c:227! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 9067 Comm: syz-executor.1 Not tainted 6.1.0-rc3-next-20221104-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:ext4_write_inline_data+0x344/0x3e0 fs/ext4/inline.c:227 Code: 5f e9 d0 e5 62 ff e8 cb e5 62 ff 45 8d 64 2c c4 41 bd 3c 00 00 00 41 29 ed e9 e8 fe ff ff e8 b3 e5 62 ff 0f 0b e8 ac e5 62 ff <0f> 0b e8 35 72 af ff e9 fe fd ff ff 4c 89 ff e8 28 72 af ff e9 99 RSP: 0018:ffffc900057e7368 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff888086a396c0 RCX: ffffc9000b9d4000 RDX: 0000000000040000 RSI: ffffffff8219ea64 RDI: 0000000000000006 RBP: 000000000000ca6e R08: 0000000000000006 R09: 000000000000ca80 R10: 000000000000007e R11: 0000000000000000 R12: 0000000000000012 R13: 000000000000ca80 R14: ffffc900057e7408 R15: ffff888086a39c82 FS: 00007fb4f188c700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555555677848 CR3: 000000001bfc3000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_write_inline_data_end+0x29f/0x1470 fs/ext4/inline.c:768 ext4_write_end+0x235/0xd60 fs/ext4/inode.c:1313 ext4_da_write_end+0x3e9/0xa20 fs/ext4/inode.c:3063 generic_perform_write+0x312/0x570 mm/filemap.c:3782 ext4_buffered_write_iter+0x15b/0x460 fs/ext4/file.c:285 ext4_file_write_iter+0x8b8/0x16e0 fs/ext4/file.c:700 call_write_iter include/linux/fs.h:2159 [inline] do_iter_readv_writev+0x20b/0x3b0 fs/read_write.c:735 do_iter_write+0x182/0x700 fs/read_write.c:861 vfs_iter_write+0x70/0xa0 fs/read_write.c:902 iter_file_splice_write+0x741/0xc90 fs/splice.c:686 do_splice_from fs/splice.c:764 [inline] direct_splice_actor+0x110/0x180 fs/splice.c:931 splice_direct_to_actor+0x331/0x8a0 fs/splice.c:886 do_splice_direct+0x1a7/0x270 fs/splice.c:974 do_sendfile+0xb19/0x1270 fs/read_write.c:1255 __do_sys_sendfile64 fs/read_write.c:1323 [inline] __se_sys_sendfile64 fs/read_write.c:1309 [inline] __x64_sys_sendfile64+0x1cc/0x210 fs/read_write.c:1309 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+0x63/0xcd RIP: 0033:0x7fb4f0a8b639 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:00007fb4f188c168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fb4f0babf80 RCX: 00007fb4f0a8b639 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000003 RBP: 00007fb4f0ae67e1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000010000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd6d963aef R14: 00007fb4f188c300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_write_inline_data+0x344/0x3e0 fs/ext4/inline.c:227 Code: 5f e9 d0 e5 62 ff e8 cb e5 62 ff 45 8d 64 2c c4 41 bd 3c 00 00 00 41 29 ed e9 e8 fe ff ff e8 b3 e5 62 ff 0f 0b e8 ac e5 62 ff <0f> 0b e8 35 72 af ff e9 fe fd ff ff 4c 89 ff e8 28 72 af ff e9 99 RSP: 0018:ffffc900057e7368 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff888086a396c0 RCX: ffffc9000b9d4000 RDX: 0000000000040000 RSI: ffffffff8219ea64 RDI: 0000000000000006 RBP: 000000000000ca6e R08: 0000000000000006 R09: 000000000000ca80 R10: 000000000000007e R11: 0000000000000000 R12: 0000000000000012 R13: 000000000000ca80 R14: ffffc900057e7408 R15: ffff888086a39c82 FS: 00007fb4f188c700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555555677848 CR3: 000000001bfc3000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400