loop0: detected capacity change from 0 to 512 loop0: detected capacity change from 0 to 1024 EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: none. ------------[ cut here ]------------ kernel BUG at fs/ext4/inline.c:235! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5321 Comm: syz.0.0 Not tainted 6.13.0-rc2-syzkaller-00292-ga446e965a188 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:ext4_write_inline_data fs/ext4/inline.c:235 [inline] RIP: 0010:ext4_write_inline_data_end+0xdc7/0xdd0 fs/ext4/inline.c:774 Code: 31 1d 8c e8 4b 3a 91 ff 90 0f 0b e8 13 79 47 ff 48 8b 7c 24 10 48 c7 c6 a0 32 1d 8c e8 32 3a 91 ff 90 0f 0b e8 fa 78 47 ff 90 <0f> 0b 0f 1f 80 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000d0df860 EFLAGS: 00010287 RAX: ffffffff8257e546 RBX: 000000000000003c RCX: 0000000000100000 RDX: ffffc9000f741000 RSI: 0000000000000326 RDI: 0000000000000327 RBP: ffffc9000d0df988 R08: ffffffff8257db27 R09: 1ffff110085ec870 R10: dffffc0000000000 R11: ffffed10085ec871 R12: 0000010000000005 R13: dffffc0000000000 R14: ffff888044c365c0 R15: 0000010000000006 FS: 00007ff8b6cef6c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff8a9c1f000 CR3: 0000000044414000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: generic_perform_write+0x6f6/0x990 mm/filemap.c:4070 ext4_buffered_write_iter+0xc5/0x350 fs/ext4/file.c:299 ext4_file_write_iter+0x892/0x1c50 new_sync_write fs/read_write.c:586 [inline] vfs_write+0xaeb/0xd30 fs/read_write.c:679 ksys_pwrite64 fs/read_write.c:786 [inline] __do_sys_pwrite64 fs/read_write.c:794 [inline] __se_sys_pwrite64 fs/read_write.c:791 [inline] __x64_sys_pwrite64+0x1ac/0x240 fs/read_write.c:791 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff8b5f85d19 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:00007ff8b6cef038 EFLAGS: 00000246 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00007ff8b6175fa0 RCX: 00007ff8b5f85d19 RDX: 0000000000000001 RSI: 0000000020000300 RDI: 0000000000000009 RBP: 00007ff8b6001a20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000010000000005 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ff8b6175fa0 R15: 00007fffb8e59dd8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_write_inline_data fs/ext4/inline.c:235 [inline] RIP: 0010:ext4_write_inline_data_end+0xdc7/0xdd0 fs/ext4/inline.c:774 Code: 31 1d 8c e8 4b 3a 91 ff 90 0f 0b e8 13 79 47 ff 48 8b 7c 24 10 48 c7 c6 a0 32 1d 8c e8 32 3a 91 ff 90 0f 0b e8 fa 78 47 ff 90 <0f> 0b 0f 1f 80 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000d0df860 EFLAGS: 00010287 RAX: ffffffff8257e546 RBX: 000000000000003c RCX: 0000000000100000 RDX: ffffc9000f741000 RSI: 0000000000000326 RDI: 0000000000000327 RBP: ffffc9000d0df988 R08: ffffffff8257db27 R09: 1ffff110085ec870 R10: dffffc0000000000 R11: ffffed10085ec871 R12: 0000010000000005 R13: dffffc0000000000 R14: ffff888044c365c0 R15: 0000010000000006 FS: 00007ff8b6cef6c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff8b6ccdfe0 CR3: 0000000044414000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400