loop2: detected capacity change from 512 to 0 ------------[ cut here ]------------ kernel BUG at fs/ext4/inline.c:751! invalid opcode: 0000 [#1] PREEMPT SMP CPU: 1 PID: 1547 Comm: syz-executor.2 Not tainted 5.11.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ext4_write_inline_data_end+0x1b0/0x220 fs/ext4/inline.c:751 Code: 48 83 c4 30 5b 5d 41 5c 41 5d 41 5e 41 5f c3 48 8b 7b 28 89 c1 ba e9 02 00 00 48 c7 c6 70 39 a6 83 e8 34 4c 04 00 31 c0 eb c2 <0f> 0b f0 80 a3 1c fd ff ff f7 eb 8f 49 8b 50 08 48 8d 42 ff 83 e2 RSP: 0018:ffffc90001d97b58 EFLAGS: 00010246 RAX: 0000000c00000000 RBX: ffff8881126fe8f8 RCX: 0000000000000001 RDX: 0000000080000001 RSI: 0000000000000000 RDI: 00000000ffffffff RBP: ffffea00044b9900 R08: 0000000000000001 R09: 0000000000000000 R10: ffffc90001d97b58 R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000001 R14: ffff8881126fe618 R15: 0000000000000000 FS: 00007f46ba727700(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000557b248d52af CR3: 0000000119be3005 CR4: 00000000001706e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_write_end+0x1d7/0x460 fs/ext4/inode.c:1291 generic_perform_write+0x134/0x1c0 mm/filemap.c:3419 ext4_buffered_write_iter+0x92/0x140 fs/ext4/file.c:270 ext4_file_write_iter+0x6c/0x820 fs/ext4/file.c:664 call_write_iter include/linux/fs.h:1901 [inline] do_iter_readv_writev+0x15b/0x1b0 fs/read_write.c:740 do_iter_write+0x7e/0x1b0 fs/read_write.c:866 vfs_writev+0x99/0x2a0 fs/read_write.c:939 do_pwritev+0x87/0xd0 fs/read_write.c:1036 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45de59 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f46ba726c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000128 RAX: ffffffffffffffda RBX: 0000000000026400 RCX: 000000000045de59 RDX: 0000000000000001 RSI: 00000000200014c0 RDI: 0000000000000003 RBP: 000000000118bf70 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007fff8578d7ff R14: 00007f46ba7279c0 R15: 000000000118bf2c Modules linked in: ---[ end trace 959deb99133ee511 ]--- RIP: 0010:ext4_write_inline_data_end+0x1b0/0x220 fs/ext4/inline.c:751 Code: 48 83 c4 30 5b 5d 41 5c 41 5d 41 5e 41 5f c3 48 8b 7b 28 89 c1 ba e9 02 00 00 48 c7 c6 70 39 a6 83 e8 34 4c 04 00 31 c0 eb c2 <0f> 0b f0 80 a3 1c fd ff ff f7 eb 8f 49 8b 50 08 48 8d 42 ff 83 e2 RSP: 0018:ffffc90001d97b58 EFLAGS: 00010246 RAX: 0000000c00000000 RBX: ffff8881126fe8f8 RCX: 0000000000000001 RDX: 0000000080000001 RSI: 0000000000000000 RDI: 00000000ffffffff RBP: ffffea00044b9900 R08: 0000000000000001 R09: 0000000000000000 R10: ffffc90001d97b58 R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000001 R14: ffff8881126fe618 R15: 0000000000000000 FS: 00007f46ba727700(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000074a918 CR3: 0000000119be3003 CR4: 00000000001706f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400