EXT4-fs (loop1): Block reservation details EXT4-fs (loop1): i_reserved_data_blocks=1 block bitmap and bg descriptor inconsistent: 25 vs 4278190105 free clusters EXT4-fs error (device loop4): ext4_mb_generate_buddy:747: group 0, block bitmap and bg descriptor inconsistent: 25 vs 4278190105 free clusters ------------[ cut here ]------------ kernel BUG at fs/ext4/inline.c:222! invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 0 PID: 4909 Comm: syz-executor.4 Not tainted 4.19.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:ext4_write_inline_data.isra.6+0x27a/0x440 fs/ext4/inline.c:222 Code: 4c 01 e7 e8 58 c2 da ff 48 83 c4 28 5b 41 5c 41 5d 41 5e 5d c3 47 8d 4c 01 c4 41 bd 3c 00 00 00 45 29 c5 e9 1a ff ff ff 0f 0b <0f> 0b 44 89 4d bc 4c 89 45 c0 48 89 4d c8 48 89 55 d0 48 89 75 d8 RSP: 0018:ffff8801dc4872d8 EFLAGS: 00010202 RAX: 0000000000000048 RBX: ffff8801d9911a50 RCX: ffff8801d7a8e000 RDX: ffff8801dc487380 RSI: ffff8801dc487378 RDI: ffff8801d9911f00 RBP: ffff8801dc487320 R08: 0000000000000048 R09: 0000000000000001 R10: 1ffff1003b3223e0 R11: 0000000000000001 R12: ffff8801f27f1100 R13: 0000000000000049 R14: 0000000000000001 R15: ffffea00075ea380 FS: 00007f41dde026c0(0000) GS:ffff8801f7200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000a00 CR3: 00000001df194000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_write_inline_data_end+0x1d8/0x4e0 fs/ext4/inline.c:751 ext4_da_write_inline_data_end+0x19/0x200 fs/ext4/inline.c:948 ext4_da_write_end+0x367/0x970 fs/ext4/inode.c:3170 generic_perform_write+0x2ef/0x490 mm/filemap.c:3150 __generic_file_write_iter+0x2fd/0x510 mm/filemap.c:3264 ext4_file_write_iter+0x75d/0x1060 fs/ext4/file.c:266 call_write_iter include/linux/fs.h:1808 [inline] do_iter_readv_writev+0x345/0x740 fs/read_write.c:680 do_iter_write fs/read_write.c:959 [inline] do_iter_write+0x128/0x540 fs/read_write.c:940 vfs_iter_write+0x5b/0xb0 fs/read_write.c:972 iter_file_splice_write+0x562/0xc40 fs/splice.c:750 do_splice_from fs/splice.c:852 [inline] direct_splice_actor+0x107/0x1c0 fs/splice.c:1019 splice_direct_to_actor+0x28b/0x780 fs/splice.c:974 do_splice_direct+0x14c/0x270 fs/splice.c:1062 do_sendfile+0x490/0xd20 fs/read_write.c:1440 __do_sys_sendfile64 fs/read_write.c:1501 [inline] __se_sys_sendfile64+0x100/0x120 fs/read_write.c:1487 __x64_sys_sendfile64+0x92/0xf0 fs/read_write.c:1487 do_syscall_64+0xd6/0x540 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f41de280da9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 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 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f41dde020c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f41de3aef80 RCX: 00007f41de280da9 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004 RBP: 00007f41de2cd47a R08: 0000000000000000 R09: 0000000000000000 R10: 000080001d00c0d0 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007f41de3aef80 R15: 00007ffec665e568 EXT4-fs (loop2): Delayed block allocation failed for inode 18 at logical offset 0 with max blocks 1 with error 28 Modules linked in: ---[ end trace a7ed344e339dd48c ]--- EXT4-fs (loop2): This should not happen!! Data will be lost RIP: 0010:ext4_write_inline_data.isra.6+0x27a/0x440 fs/ext4/inline.c:222 EXT4-fs (loop2): Total free blocks count 0 Code: 4c 01 e7 e8 58 c2 da ff 48 83 c4 28 5b 41 5c 41 5d 41 5e 5d c3 47 8d 4c 01 c4 41 bd 3c 00 00 00 45 29 c5 e9 1a ff ff ff 0f 0b <0f> 0b 44 89 4d bc 4c 89 45 c0 48 89 4d c8 48 89 55 d0 48 89 75 d8 EXT4-fs (loop2): Free/Dirty block details RSP: 0018:ffff8801dc4872d8 EFLAGS: 00010202 EXT4-fs (loop2): free_blocks=68451041280 EXT4-fs (loop2): dirty_blocks=16 EXT4-fs (loop2): Block reservation details RAX: 0000000000000048 RBX: ffff8801d9911a50 RCX: ffff8801d7a8e000 EXT4-fs (loop2): i_reserved_data_blocks=1 RDX: ffff8801dc487380 RSI: ffff8801dc487378 RDI: ffff8801d9911f00 RBP: ffff8801dc487320 R08: 0000000000000048 R09: 0000000000000001 R10: 1ffff1003b3223e0 R11: 0000000000000001 R12: ffff8801f27f1100 R13: 0000000000000049 R14: 0000000000000001 R15: ffffea00075ea380 FS: 00007f41dde026c0(0000) GS:ffff8801f7200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000a00 CR3: 00000001df194000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400