------------[ cut here ]------------ kernel BUG at fs/ext4/inline.c:227! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 5278 Comm: syz-executor192 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:ffffc90003caf368 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888072dde700 RCX: 0000000000000000 RDX: ffff888025b8d7c0 RSI: ffffffff8219ea64 RDI: 0000000000000006 RBP: 0000000000002c67 R08: 0000000000000006 R09: 0000000000002c70 R10: 000000000000007e R11: 0000000000000000 R12: 0000000000000009 R13: 0000000000002c70 R14: ffffc90003caf408 R15: ffff888072ddecc2 FS: 0000555557526300(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8744d0b130 CR3: 0000000025b1a000 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:0x7f8744c987c9 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:00007ffe937c2088 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f8744c987c9 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffe937c20b0 R09: 00007ffe937c20b0 R10: 0000000000010000 R11: 0000000000000246 R12: 00007ffe937c20ac R13: 00007ffe937c20e0 R14: 00007ffe937c20c0 R15: 000000000000000d 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:ffffc90003caf368 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888072dde700 RCX: 0000000000000000 RDX: ffff888025b8d7c0 RSI: ffffffff8219ea64 RDI: 0000000000000006 RBP: 0000000000002c67 R08: 0000000000000006 R09: 0000000000002c70 R10: 000000000000007e R11: 0000000000000000 R12: 0000000000000009 R13: 0000000000002c70 R14: ffffc90003caf408 R15: ffff888072ddecc2 FS: 0000555557526300(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8744d0b130 CR3: 0000000025b1a000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400