loop1: detected capacity change from 0 to 2048 EXT4-fs (loop1): mounted filesystem without journal. Quota mode: none. ------------[ cut here ]------------ kernel BUG at fs/ext4/inline.c:236! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 10634 Comm: syz.1.2611 Not tainted 6.1.93-syzkaller-00002-gd02968a02321 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:ext4_write_inline_data+0x3a4/0x3b0 fs/ext4/inline.c:236 Code: 07 fe c1 38 c1 0f 8c 42 ff ff ff 4c 89 e7 49 89 d6 e8 e0 82 ca ff 4c 89 f2 e9 2f ff ff ff e8 13 56 83 ff 0f 0b e8 0c 56 83 ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 57 41 56 41 55 RSP: 0018:ffffc90000af7768 EFLAGS: 00010283 RAX: ffffffff81f24f44 RBX: 000000000000003c RCX: 0000000000040000 RDX: ffffc90000ef9000 RSI: 00000000000001fc RDI: 00000000000001fd RBP: ffffc90000af77d0 R08: ffffffff81f24ccd R09: ffffed10231f984b R10: 0000000000000000 R11: dffffc0000000001 R12: 0000010000000005 R13: ffffc90000af7860 R14: 0000010000000006 R15: 0000000000000001 FS: 00007fd48e00f6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d31fffc CR3: 0000000132d0c000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_write_inline_data_end+0x328/0xa90 fs/ext4/inline.c:777 ext4_da_write_end+0x1ea/0x9a0 fs/ext4/inode.c:3081 generic_perform_write+0x3e6/0x5c0 mm/filemap.c:3855 ext4_buffered_write_iter+0x360/0x640 fs/ext4/file.c:285 ext4_file_write_iter+0x194/0x1570 call_write_iter include/linux/fs.h:2274 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x902/0xeb0 fs/read_write.c:584 ksys_pwrite64 fs/read_write.c:699 [inline] __do_sys_pwrite64 fs/read_write.c:709 [inline] __se_sys_pwrite64 fs/read_write.c:706 [inline] __x64_sys_pwrite64+0x1a6/0x230 fs/read_write.c:706 x64_sys_call+0xa6/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:19 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fd48d17def9 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd48e00f038 EFLAGS: 00000246 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00007fd48d335f80 RCX: 00007fd48d17def9 RDX: 0000000000000001 RSI: 0000000020000300 RDI: 0000000000000006 RBP: 00007fd48d1f09f6 R08: 0000000000000000 R09: 0000000000000000 R10: 0000010000000005 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fd48d335f80 R15: 00007fff72c3f7a8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_write_inline_data+0x3a4/0x3b0 fs/ext4/inline.c:236 Code: 07 fe c1 38 c1 0f 8c 42 ff ff ff 4c 89 e7 49 89 d6 e8 e0 82 ca ff 4c 89 f2 e9 2f ff ff ff e8 13 56 83 ff 0f 0b e8 0c 56 83 ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 57 41 56 41 55 RSP: 0018:ffffc90000af7768 EFLAGS: 00010283 RAX: ffffffff81f24f44 RBX: 000000000000003c RCX: 0000000000040000 RDX: ffffc90000ef9000 RSI: 00000000000001fc RDI: 00000000000001fd RBP: ffffc90000af77d0 R08: ffffffff81f24ccd R09: ffffed10231f984b R10: 0000000000000000 R11: dffffc0000000001 R12: 0000010000000005 R13: ffffc90000af7860 R14: 0000010000000006 R15: 0000000000000001 FS: 00007fd48e00f6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d31fffc CR3: 0000000132d0c000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400