------------[ cut here ]------------ kernel BUG at fs/ext4/inline.c:227! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 9423 Comm: syz-executor.1 Not tainted 6.1.0-rc5-next-20221116-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 e0 b2 60 ff e8 db b2 60 ff 45 8d 64 2c c4 41 bd 3c 00 00 00 41 29 ed e9 e8 fe ff ff e8 c3 b2 60 ff 0f 0b e8 bc b2 60 ff <0f> 0b e8 65 56 ae ff e9 fe fd ff ff 4c 89 ff e8 58 56 ae ff e9 99 RSP: 0018:ffffc90008e27360 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff8880855e52f0 RCX: ffffc9000d337000 RDX: 0000000000040000 RSI: ffffffff821ff224 RDI: 0000000000000006 RBP: 000000000004bd60 R08: 0000000000000006 R09: 000000000004bf80 R10: 000000000000003c R11: 0000000000000001 R12: 0000000000000220 R13: 000000000004bf80 R14: ffffc90008e27400 R15: ffff8880855e58b2 FS: 00007fa65c677700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2cb25000 CR3: 000000002bebf000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_write_inline_data_end+0x2a3/0x1470 fs/ext4/inline.c:768 ext4_write_end+0x239/0xd70 fs/ext4/inode.c:1313 ext4_da_write_end+0x3ed/0xa30 fs/ext4/inode.c:3063 generic_perform_write+0x316/0x570 mm/filemap.c:3782 ext4_buffered_write_iter+0x15b/0x460 fs/ext4/file.c:285 ext4_file_write_iter+0x8bc/0x16e0 fs/ext4/file.c:700 call_write_iter include/linux/fs.h:2160 [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+0x74/0xa0 fs/read_write.c:902 iter_file_splice_write+0x745/0xc90 fs/splice.c:686 do_splice_from fs/splice.c:764 [inline] direct_splice_actor+0x114/0x180 fs/splice.c:931 splice_direct_to_actor+0x335/0x8a0 fs/splice.c:886 do_splice_direct+0x1ab/0x280 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+0x259/0x2c0 fs/read_write.c:1309 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fa65b88b639 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:00007fa65c677168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fa65b9abf80 RCX: 00007fa65b88b639 RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000007 RBP: 00007fa65b8e6ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff4d303c6f R14: 00007fa65c677300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_write_inline_data+0x344/0x3e0 fs/ext4/inline.c:227 Code: 5f e9 e0 b2 60 ff e8 db b2 60 ff 45 8d 64 2c c4 41 bd 3c 00 00 00 41 29 ed e9 e8 fe ff ff e8 c3 b2 60 ff 0f 0b e8 bc b2 60 ff <0f> 0b e8 65 56 ae ff e9 fe fd ff ff 4c 89 ff e8 58 56 ae ff e9 99 RSP: 0018:ffffc90008e27360 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff8880855e52f0 RCX: ffffc9000d337000 RDX: 0000000000040000 RSI: ffffffff821ff224 RDI: 0000000000000006 RBP: 000000000004bd60 R08: 0000000000000006 R09: 000000000004bf80 R10: 000000000000003c R11: 0000000000000001 R12: 0000000000000220 R13: 000000000004bf80 R14: ffffc90008e27400 R15: ffff8880855e58b2 FS: 00007fa65c677700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2cb25000 CR3: 000000002bebf000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400