loop5: detected capacity change from 0 to 512 ------------[ cut here ]------------ kernel BUG at fs/ext4/inline.c:755! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 4343 Comm: syz-executor382 Not tainted 5.17.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ext4_write_inline_data_end+0x795/0xd00 fs/ext4/inline.c:755 Code: 74 08 3c 03 0f 8e 72 05 00 00 41 8b 86 98 00 00 00 83 e8 01 83 f8 01 0f 87 5f fc ff ff 4c 89 e7 e8 40 22 9f ff e9 b2 fc ff ff <0f> 0b 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 80 3c 02 RSP: 0018:ffffc90002f0f4c8 EFLAGS: 00010246 RAX: 0000000c00000000 RBX: 0000000000000001 RCX: ffffffff81f28533 RDX: 1ffff1100d81c645 RSI: 0000000000000008 RDI: ffff88806c0e3228 RBP: ffff88806c0e3478 R08: 0000000000000000 R09: ffff88806c0e322f R10: ffffed100d81c645 R11: 0000000000000001 R12: ffffea0001b6a840 R13: 000000000000011f R14: ffff88806c0e3228 R15: ffffc90002f0f518 FS: 00007fe0f72e4700(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe0f72c3718 CR3: 0000000017285000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: generic_perform_write+0x267/0x440 mm/filemap.c:3776 ext4_buffered_write_iter+0x169/0x320 fs/ext4/file.c:268 ext4_file_write_iter+0x383/0x1150 fs/ext4/file.c:677 call_write_iter include/linux/fs.h:2074 [inline] do_iter_readv_writev+0x340/0x6d0 fs/read_write.c:725 do_iter_write+0x12a/0x620 fs/read_write.c:851 iter_file_splice_write+0x598/0xaf0 fs/splice.c:689 do_splice_from fs/splice.c:767 [inline] direct_splice_actor+0xfb/0x1c0 fs/splice.c:936 splice_direct_to_actor+0x2dd/0x7c0 fs/splice.c:891 do_splice_direct+0x154/0x260 fs/splice.c:979 do_sendfile+0x91e/0x1110 fs/read_write.c:1245 __do_sys_sendfile64 fs/read_write.c:1310 [inline] __se_sys_sendfile64 fs/read_write.c:1296 [inline] __x64_sys_sendfile64+0x186/0x1d0 fs/read_write.c:1296 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+0x44/0xae RIP: 0033:0x7fe0f7337dc9 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:00007fe0f72e42f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fe0f73bd4c0 RCX: 00007fe0f7337dc9 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000003 RBP: 00007fe0f738a0bc R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000010000 R11: 0000000000000246 R12: 0030656c69662f2e R13: 00007fe0f73890b8 R14: 0000000300000002 R15: 00007fe0f73bd4c8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_write_inline_data_end+0x795/0xd00 fs/ext4/inline.c:755 Code: 74 08 3c 03 0f 8e 72 05 00 00 41 8b 86 98 00 00 00 83 e8 01 83 f8 01 0f 87 5f fc ff ff 4c 89 e7 e8 40 22 9f ff e9 b2 fc ff ff <0f> 0b 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 80 3c 02 RSP: 0018:ffffc90002f0f4c8 EFLAGS: 00010246 RAX: 0000000c00000000 RBX: 0000000000000001 RCX: ffffffff81f28533 RDX: 1ffff1100d81c645 RSI: 0000000000000008 RDI: ffff88806c0e3228 RBP: ffff88806c0e3478 R08: 0000000000000000 R09: ffff88806c0e322f R10: ffffed100d81c645 R11: 0000000000000001 R12: ffffea0001b6a840 R13: 000000000000011f R14: ffff88806c0e3228 R15: ffffc90002f0f518 FS: 00007fe0f72e4700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005601ed845158 CR3: 0000000017285000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400